Advertisement
Adewakun

Bypass Nekopoi By Alvin Faiz Zulfitri [Support Alternatif]

Mar 29th, 2019
899
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.72 KB | None | 0 0
  1. // ==UserScript==
  2. // @name AlfaPasser
  3. // @namespace AlfaPasser - Cuma mau lewatin dafelink
  4. // @description Download di Fansub dan Fanshare besar tanpa melewati Iklan || By DevStudio
  5. // @copyright 2019+, DevStudio
  6. // @version 1.0
  7. // @homepageURL https://devstudio.web.id/
  8. // @icon https://cdn.myanimelist.net/images/characters/2/337013.jpg
  9. // @grant GM_deleteValue
  10. // @grant GM_getValue
  11. // @grant GM_openInTab
  12. // @grant GM_registerMenuCommand
  13. // @grant GM_setValue
  14. // @grant GM_xmlhttpRequest
  15. // @grant GM.deleteValue
  16. // @grant GM.getValue
  17. // @grant GM.openInTab
  18. // @grant GM.setValue
  19. // @grant GM.xmlHttpRequest
  20. // @grant unsafeWindow
  21. // @run-at document-idle
  22. // @include http://meownime.com/*
  23. // @include https://meownime.com/*
  24. // @include https://www.samehadaku.tv/*
  25. // @include http://nekopoi.*
  26. // @include https://nekopoi.*
  27. // @include http://alternatifkucingpoi.com/*
  28. // @include http://alternatifkucingpoi.*
  29. // @include https://www.animebatch.web.id/*
  30. // @connect *
  31. // ==/UserScript==
  32. var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(input){var output="";var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var i=0;input=Base64._utf8_encode(input);while(i<input.length){chr1=input.charCodeAt(i++);chr2=input.charCodeAt(i++);chr3=input.charCodeAt(i++);enc1=chr1>>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64;}else if(isNaN(chr3)){enc4=64;}
  33. output=output+ this._keyStr.charAt(enc1)+ this._keyStr.charAt(enc2)+ this._keyStr.charAt(enc3)+ this._keyStr.charAt(enc4);}
  34. return output;},decode:function(input){var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(i<input.length){enc1=this._keyStr.indexOf(input.charAt(i++));enc2=this._keyStr.indexOf(input.charAt(i++));enc3=this._keyStr.indexOf(input.charAt(i++));enc4=this._keyStr.indexOf(input.charAt(i++));chr1=(enc1<<2)|(enc2>>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;output=output+ String.fromCharCode(chr1);if(enc3!=64){output=output+ String.fromCharCode(chr2);}
  35. if(enc4!=64){output=output+ String.fromCharCode(chr3);}}
  36. output=Base64._utf8_decode(output);return output;},_utf8_encode:function(string){string=string.replace(/\r\n/g,"\n");var utftext="";for(var n=0;n<string.length;n++){var c=string.charCodeAt(n);if(c<128){utftext+=String.fromCharCode(c);}
  37. else if((c>127)&&(c<2048)){utftext+=String.fromCharCode((c>>6)|192);utftext+=String.fromCharCode((c&63)|128);}
  38. else{utftext+=String.fromCharCode((c>>12)|224);utftext+=String.fromCharCode(((c>>6)&63)|128);utftext+=String.fromCharCode((c&63)|128);}}
  39. return utftext;},_utf8_decode:function(utftext){var string="";var i=0;var c=c1=c2=0;while(i<utftext.length){c=utftext.charCodeAt(i);if(c<128){string+=String.fromCharCode(c);i++;}
  40. else if((c>191)&&(c<224)){c2=utftext.charCodeAt(i+ 1);string+=String.fromCharCode(((c&31)<<6)|(c2&63));i+=2;}
  41. else{c2=utftext.charCodeAt(i+ 1);c3=utftext.charCodeAt(i+ 2);string+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i+=3;}}
  42. return string;}}
  43. var encode=document.getElementById('encode'),decode=document.getElementById('decode'),output=document.getElementById('output'),input=document.getElementById('input');var User_ID="";var protected_links="";var a_to_va=0;var a_to_vb=0;var a_to_vc="";function auto_safelink(){auto_safeconvert();}
  44. function auto_safeconvert(){var a_to_vd=window.location.hostname;if(protected_links!=""&&!protected_links.match(a_to_vd)){protected_links+=", "+ a_to_vd;}else if(protected_links=="")
  45. {protected_links=a_to_vd;}
  46. var a_to_ve="";var a_to_vf=new Array();var a_to_vg=0;a_to_ve=document.getElementsByTagName("a");a_to_va=a_to_ve.length;a_to_vf=a_to_fa();a_to_vg=a_to_vf.length;var a_to_vh=false;var j=0;var a_to_vi="";for(var i=0;i<a_to_va;i++)
  47. {a_to_vh=false;j=0;while(a_to_vh==false&&j<a_to_vg)
  48. {a_to_vi=a_to_ve[i].href;if(a_to_vi.match(a_to_vf[j])||!a_to_vi||!a_to_vi.match("http"))
  49. {a_to_vh=true;}
  50. j++;}
  51. if(a_to_vh==false)
  52. {var encryptedUrl=a_to_vi;a_to_ve[i].href="https://api.devstudio.web.id/bypass/?url="+ encryptedUrl;a_to_ve[i].rel="nofollow";a_to_vb++;a_to_vc+=i+":::"+ a_to_ve[i].href+"\n";}}
  53. var a_to_vj=document.getElementById("anonyminized");var a_to_vk=document.getElementById("found_links");if(a_to_vj)
  54. {a_to_vj.innerHTML+=a_to_vb;}
  55. if(a_to_vk)
  56. {a_to_vk.innerHTML+=a_to_va;}}
  57. function a_to_fa()
  58. {var a_to_vf=new Array();protected_links=protected_links.replace(" ","");a_to_vf=protected_links.split(",");return a_to_vf;}
  59. protected_links = "meownime.com";
  60. auto_safelink();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement