Script to unblock rec-tube.com by zarath0stra
Version vom
Dieses Skript sollte nicht direkt installiert werden. Es handelt sich hier um eine Bibliothek für andere Skripte, welche über folgenden Befehl in den Metadaten eines Skriptes eingebunden wird // @require https://update.sleazyfork.org/scripts/18966/120804/rec-tube.js
// ==UserScript==
// @name rec-tube
// @match rec-tube.com/*
// @run-at document-end
// @grant none
// @require https://code.jquery.com/jquery-2.2.3.min.js
// ==/UserScript==
$('a[href^="/watch"]').each(function(i, n) {
var glory = $(".images-rotation", n).data("images");
if(!glory) return;
var hole = glory[0].substring(8, glory[0].length - 6);
$(n).parent().trigger('imageRotationRemove');
$(n).attr("href", "/file/" + btoa(hole) + "/");
});