Skip to content

Instantly share code, notes, and snippets.

View alvnfaiz's full-sized avatar
💭
Energic

Alvin Faiz alvnfaiz

💭
Energic
View GitHub Profile
.jconfirm.jconfirm-modern.jconfirm-open{
display:none;
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// ==UserScript==
// @name AlfaPasser
// @namespace AlfaPasser - Cuma mau lewatin safelink
// @description Download di Fansub dan Fanshare besar tanpa melewati Iklan || By DevStudio
// @copyright 2019+, DevStudio
// @version 2.0.1
// @homepageURL https://devstudio.web.id/
// @icon https://cdn.myanimelist.net/images/characters/2/337013.jpg
// @grant GM_deleteValue
// @grant GM_getValue
// ==UserScript==
// @name Nanime Grab
// @namespace http://devstudio.web.id
// @copyright 2019+, DevStudio
// @version 1.0
// @description Grab Server Mirror/Player From Nanime
// @author Alvin Faiz
// @include https://nanime.in/episode/*
// @include https://nanime.in/movie/*
// ==/UserScript==
function ASSetCookie(a,b,c){var d=new Date;d.setDate(d.getDate()+c);var e=escape(b)+(0==c?";path=/":"; expires="+d.toUTCString())+";path=/";document.cookie=a+"="+e}function ASGetCookie(a){var b,c,d,e=document.cookie.split(";");for(b=0;b<e.length;b++)if(c=e[b].substr(0,e[b].indexOf("=")),d=e[b].substr(e[b].indexOf("=")+1),c=c.replace(/^\s+|\s+$/g,""),c==a)return unescape(d)}function ASSetCookieAds(a,b){var c=ASGetCookie(a);void 0!=c&&""!=c?(ASTheCookieInt=parseInt(c)+1,ASSetCookie(a,ASTheCookieInt.toString(),0)):ASSetCookie(a,"1",b)}function ASMaxClick(a,b){var c=ASGetCookie(a);return void 0!=c&&parseInt(c)>=b?!0:!1}jQuery(document).ready(function(a){var b="adsShield",c=7,d=3,e=".adsShield",f=!1;ASMaxClick(b,d)&&a(e).hide("fast"),a(e).bind("mouseover",function(){f=!0}).bind("mouseout",function(){f=!1}),a(window).on("beforeunload",function(){f&&(ASMaxClick(b,d)?a(e).hide("fast"):ASSetCookieAds(b,c))})});
function urlMatchesOneOfPatterns(url, patterns) {
for (var i = 0; i < patterns.length; i++) {
var pattern = patterns[i];
if (url.match(pattern)) {
return true;
}
}
return false;
}
/* =====
You are free to modify this file but you should really create a folder in your
themes directory called (exactly) multi-column-tag-map and then copy this file
to that folder. Make your edits to the copy. If you make your edits to the
file in the plugins folder, all your edits will be overwritten if you update.
===== */
/* ===== version 13.0.5 ===== */
/* =====
You are free to modify this file but you should really create a folder in your
themes directory called (exactly) multi-column-tag-map and then copy this file
to that folder. Make your edits to the copy. If you make your edits to the
file in the plugins folder, all your edits will be overwritten if you update.
===== */
/* ===== version 13.0.5 ===== */
/* =====
You are free to modify this file but you should really create a folder in your
themes directory called (exactly) multi-column-tag-map and then copy this file
to that folder. Make your edits to the copy. If you make your edits to the
file in the plugins folder, all your edits will be overwritten if you update.
===== */
/* ===== version 13.0.5 ===== */
/* =====
You are free to modify this file but you should really create a folder in your
themes directory called (exactly) multi-column-tag-map and then copy this file
to that folder. Make your edits to the copy. If you make your edits to the
file in the plugins folder, all your edits will be overwritten if you update.
===== */
/* ===== version 13.0.5 ===== */