forked from tzubertowski/FreeOroro.tv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
unlimitedOro.user.js
25 lines (24 loc) · 973 Bytes
/
unlimitedOro.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// ==UserScript==
// @name ororo.tv unlimited
// @namespace http://zadnychlag.blogspot.com
// @version 0.1
// @description This user script allows you to watch ororo.tv for free, unlimited.
// @author tzubertowski
// @match http://ororo.tv/en/shows/*
// @match http://ororo.tv/shows/*
// @match http://ororo.tv/pl/shows/*
// @match http://ororo.tv/es/shows/*
// @match http://*.ororo.tv/uploads/video/file/*
// ==/UserScript==
var vid = document.getElementsByName("media");
if(typeof vid !== 'undefined' && vid.length > 0) {
vid[0].style.height = '100%';
console.log('lel');
}
document.addEventListener("DOMNodeInserted", function(e) {
var videoBeforeRedirect = document.getElementsByClassName('vjs-tech');
if(typeof videoBeforeRedirect !== 'undefined' && videoBeforeRedirect.length > 0) {
var pathUrl = videoBeforeRedirect[0].src;
window.location.replace(pathUrl);
}
}, false);