Advertisement
Guest User

adfly_20170421_0600 (仮)

a guest
Apr 20th, 2017
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function () {
  2.   'use strict';
  3.   function getTokenFromRocketScript () {
  4.     var a = $.searchScripts(/var eu = '(?!false)(.*)'/);
  5.     return a ? a[1] : null;
  6.   }
  7.   $.register({
  8.     rule: {
  9.       host: /^adf\.ly$/,
  10.       path: /^\/redirecting\/(.+)$/,
  11.     },
  12.     start: function (m) {
  13.       var url = atob(m.path[1]);
  14.       $.openLink(url);
  15.     },
  16.   });
  17.   $.register({
  18.     rule: {
  19.       path: /\/locked$/,
  20.       query: /url=([^&]+)/,
  21.     },
  22.     start: function (m) {
  23.       $.resetCookies();
  24.       var url = decodeURIComponent(m.query[1]);
  25.       if (url.match(/^http/)) {
  26.         $.openLink(url);
  27.       } else {
  28.         $.openLink('/' + url);
  29.       }
  30.     },
  31.   });
  32.   $.register({
  33.     rule: [
  34.       'http://u.shareme.in/*',
  35.       'http://server.sbenny.com/*',
  36.       function () {
  37.         var h = $.$('html[id="main_html"]');
  38.         var b = $.$('body[id="home"]');
  39.         if (h && b) {
  40.           return true;
  41.         } else {
  42.           return null;
  43.         }
  44.       },
  45.     ],
  46.     start: function () {
  47.       $.window.document.write = _.nop;
  48.       $.window.btoa = _.nop;
  49.     },
  50.     ready: function () {
  51.       var a = document.getElementById("skip_button");
  52.       var b = function () {
  53.           if (a.href !== "") {
  54.               clearInterval(c);
  55.               location.href = a.href;
  56.           }
  57.       }
  58.       var c = setInterval(b, 500);
  59.     },
  60.   });
  61. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement