Userscript for Ok.ru to run in both:
- the WebMonkey application for Android
- the Tampermonkey web browser extension for Chrome/Chromium
Its purpose is to:
- redirect embedded videos to an external player
- the userscript will not execute in embedded Ok.ru iframe(s) when:
- running the userscript in WebMonkey
- running the userscript in Tampermonkey with the option
common.redirect_embedded_iframes
disabled- this option is disabled by default
- when the userscript will not execute in embedded Ok.ru iframe(s)
- the Ok.ru video player needs to be loaded into the top window
- this can either be done:
- automatically, by using an additional userscript helper
- manually, by clicking the "Open in..." button in the Ok.ru video player
- when running the userscript in Tampermonkey
- on sites containing embedded Ok.ru iframe(s)
- when the option
common.redirect_embedded_iframes
is enabled- depending on your particular browser, the Chromium extension may not be allowed to redirect the parent window
- in this case, the URL of the parent window needs to be added to a whitelist that allows this action:
- open:
chrome://settings/content/popups
- next to Allow, click:
Add
- enter the domain for the site hosting the iframe
- examples:
https://nfl-video.com:443
https://2livewatch.blogspot.com:443
https://freetvonline.live:443
http://ufreetv.com:80
- examples:
- open:
- when the option
- after the video has been redirected to WebCast-Reloaded external website
- video streams will not play directly in the browser window
- lack of permissive CORS HTTP response headers
- video streams will play directly on Chromecast and ExoAirPlayer
- video streams will not play directly in the browser window
- on sites containing embedded Ok.ru iframe(s)
- copyright: Warren Bank
- license: GPL-2.0