昨天的CODEX版的帖子怎么没有了啊?
如题.... 感谢大佬送个代码// ==UserScript==
// @name IGG Games / bluemediafiles bypass
// @namespace http://tampermonkey.net/
// @version 0.0.1
// @description Redirect to actual download page.
// @author ting
// @match http*://bluemediafiles.com/url-generator.php?url=*
// @grant none
// ==/UserScript==
(function() {
'use strict';
function _bluemediafiles_decodeKey(encoded) {
var key = '';
for (var i = encoded.length / 2 - 5; i >= 0; i = i - 2) {
key += encoded;
}
for (i = encoded.length / 2 + 4; i < encoded.length; i = i + 2) {
key += encoded;
}
return key;
}
[].forEach.call(document.getElementsByTagName('script'), function (s) {
var m = s.innerText.match(/Goroi_n_Create_Button[(]\"(?<encoded>.+?)\"[)];/);
if (m && m.length > 1) {
window.location = 'https://bluemediafiles.com/get-url.php?url=' + _bluemediafiles_decodeKey(m);
}
});
})();
页:
[1]