Greasy Fork is available in English.

oncam.me Download Links

Download videos from oncam.me

脚本作者
Arnold François Lecherche
今日安装
0
总安装量
339
得分
0 0 0
版本
1.00
创建日期
2021-05-09
最近更新
2021-05-09
许可证
暂无
应用到

This UserScript lets you download videos from oncam.me pages; download links for every available quality will appear below the Comments section after the page has finished loading.

Alternatively, you can make this a bookmarklet; just bookmark this very page, change the bookmark's title to "oncam.me Download Links", and change its URL to this:

javascript:(function(w%2Cd)%7B%27use%20strict%27%3Bvar%20a%3Dfalse%3Bfunction%20init()%7Bvar%20v%2Cs%2Cn%2Cr%2Cl%2Cu%2Cp%3Bif(a)return%3Bv%3Dd.getElementById(%27player-fluid%27)%3Bs%3Dv.getElementsByTagName(%27source%27)%3Bn%3Ds.length%3Bif(!n)return%3Br%3D%2F_(%5Cd%2Bp)%5C.%2F%3Bl%3D%5B%5D%3Bwhile(n--)s%5Bn%5D.src%26%26l.push(s%5Bn%5D.src)%3Bn%3Dl.length%3Bif(!n)return%3Bu%3Dd.createElement(%27ul%27)%3Bwhile(n--)u.innerHTML%2B%3D%27%3Cli%3E%3Ca%20download%3D%22download%22%20href%3D%22%27%2Bl%5Bn%5D%2B%27%22%20type%3D%22video%2Fmp4%22%3EDownload%27%2B(r.test(l%5Bn%5D)%3F%27%20(%27%2Bl%5Bn%5D.match(r)%5B1%5D%2B%27)%27%3A%27%27)%2B%27%3C%2Fa%3E%3C%2Fli%3E%27%3Bp%3Dd.getElementById(%27video%27)%3Bp.parentNode.insertBefore(u%2Cp.nextSibling)%3Ba%3Dtrue%7Dinit()%3Bd.addEventListener(%27DOMContentLoaded%27%2Cinit%2Cfalse)%3Bw.addEventListener(%27load%27%2Cinit%2Cfalse)%7D)(window%2Cdocument)


Then click the bookmarklet on a video page.