Anti Adblock Killer - User
Anti Adblock Killer - User
Users: Thank you to all those who use Anti Adblock Killer, who report problems,
who write the review, which add to their favorites, making donations, which support
the project and help in its development or promote.
=======================================================
Mirrors
=======================================================
Github: http://tinyurl.com/mcra3dn
Greasyfork: http://tinyurl.com/pbbdnh6
Openuserjs: http://tinyurl.com/nnqje32
MonkeyGuts: http://tinyurl.com/ka5fcqm
Userscripts: http://tinyurl.com/q8xcejl
=======================================================
Documentation
=======================================================
Greasemonkey: http://tinyurl.com/yeefnj5
Scriptish: http://tinyurl.com/cnd9nkd
Tampermonkey: http://tinyurl.com/pdytfde
Violentmonkey: http://tinyurl.com/n34wn6j
NinjaKit: http://tinyurl.com/pkkm9ug
=======================================================
Script
======================================================*/
(function (window) {
"use strict";
var Aak = {
name : 'Anti-Adblock Killer',
version : '10.0',
scriptid : 'gJWEp0vB',
homeURL : 'https://github.com/reek/anti-adblock-killer/',
changelogURL : 'https://github.com/reek/anti-adblock-killer#changelog',
donateURL : 'https://github.com/reek/anti-adblock-killer#donate',
featuresURL : 'https://github.com/reek/anti-adblock-killer#features',
reportURL : 'https://github.com/reek/anti-adblock-killer/wiki/Report-Guide',
contactURL : 'https://reek.github.io/anti-adblock-killer/#contact',
settingsURL : 'https://reek.github.io/anti-adblock-killer/#settings',
twitterURL : 'https://twitter.com/antiadbkiller',
downloadURL : 'https://raw.githubusercontent.com/reek/anti-adblock-
killer/master/anti-adblock-killer.user.js',
subscribeURL : 'https://reek.github.io/anti-adblock-killer/#filterlist',
listURL : "https://raw.githubusercontent.com/reek/anti-adblock-
killer/master/anti-adblock-killer-filters.txt",
nativeURL : 'https://github.com/reek/anti-adblock-killer/wiki/Native-Mode',
iconURL : 'https://raw.githubusercontent.com/reek/anti-adblock-
killer/master/anti-adblock-killer-icon.png',
imgBait :
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAGklEQVR42mNg
0GAYBaNgFIyCUTAKRsEoQAYATN8AKYNZ/x4AAAAASUVORK5CYII=',
initialize : function () {
Aak.registerSettings(); // registering your settings.
Aak.registerConsole(); // registering customzed console.
Aak.registerCommands(); // add commands to menu
Aak.checkUpdate(true); // check if AakScript is up to date.
Aak.checkList(); // check if AakList is enabled.
Aak.blockDetect(); // detect and kill anti-adblocks.
},
aabs : {},
opts : {},
options : {
autoPlay : {
group : 'general',
type : 'checkbox',
value : false,
label : 'Play video automatically. *',
info : ''
},
videoHD : {
group : 'general',
type : 'checkbox',
value : false,
label : 'Play video in HD quality. **',
info : ''
},
forceVLC : {
group : 'general',
type : 'checkbox',
value : false,
label : 'Play video with VLC plugin. *',
info : ''
},
checkList : {
group : 'general',
type : 'checkbox',
value : true,
label : 'Check AakList subscription.',
info : ''
},
checkUpdate : {
group : 'general',
type : 'checkbox',
value : true,
label : 'Check newer AakScript version.',
info : ''
},
debug : {
group : 'debug',
type : 'checkbox',
value : false,
label : 'Enable Logs.',
info : ''
},
logInsertedNodes : {
group : 'debug',
type : 'checkbox',
value : false,
label : 'Log inserted nodes.',
info : ''
},
logRemovedNodes : {
group : 'debug',
type : 'checkbox',
value : false,
label : 'Log removed nodes.',
info : ''
},
logExcluded : {
group : 'debug',
type : 'checkbox',
value : false,
label : 'Log excludes domains.',
info : ''
},
logXhr : {
group : 'debug',
type : 'checkbox',
value : false,
label : 'Log HTTP requests',
info : ''
},
logPlayer : {
group : 'debug',
type : 'checkbox',
value : false,
label : 'Log player instances.',
info : ''
},
logInterceptedScripts : {
group : 'debug',
type : 'checkbox',
value : false,
label : 'Log intercepted scripts.',
info : ''
},
logDetected : {
group : 'debug',
type : 'checkbox',
value : false,
label : 'Log detected anti-adblocks.',
info : ''
}
},
registerSettings : function () {
for (var optName in Aak.options) {
if (Aak.options.hasOwnProperty(optName))
Aak.opts[optName] = Aak.getValue(optName) !== null ?
Aak.getValue(optName) : Aak.options[optName].value;
}
},
commands : [{
caption : 'Homepage',
execute : function () {
Aak.go(Aak.homeURL);
}
}, {
caption : 'Settings',
execute : function () {
Aak.go(Aak.settingsURL);
}
}, {
caption : 'Update',
execute : function () {
Aak.checkUpdate();
}
}
],
addCommands : function (cmd) {
if (Aak.useGM && Aak.isTopframe && typeof GM_registerMenuCommand !=
'undefined') {
GM_registerMenuCommand([Aak.name, Aak.getVersion(), cmd.caption].join(' '),
cmd.execute);
}
},
registerCommands : function () {
Aak.ready(function () {
// Scriptish
// note: No menu command is created when the user script is run in a iframe
window.
// doc: http://tinyurl.com/kvvv7yt
Aak.commands.forEach(function (cmd) {
Aak.addCommands(cmd);
});
});
},
registerConsole : function () {
this.log = Aak.opts.debug ? console.log.bind(console) : function () {};
this.info = Aak.opts.debug ? console.info.bind(console) : function () {};
this.error = Aak.opts.debug ? console.error.bind(console) : function () {};
this.warn = Aak.opts.debug ? console.warn.bind(console) : function () {};
},
isTopframe : (window.parent == window.self),
uw : typeof unsafeWindow != 'undefined' ? unsafeWindow : window,
useGM : typeof GM_getValue != 'undefined',
apiGM : function () {
if (Aak.isTopframe) {
// GM API - http://tinyurl.com/yeefnj5
return {
GM_xmlhttpRequest : typeof GM_xmlhttpRequest != 'undefined',
GM_setValue : typeof GM_setValue != 'undefined',
GM_getValue : typeof GM_getValue != 'undefined',
GM_addStyle : typeof GM_addStyle != 'undefined',
GM_registerMenuCommand : typeof GM_registerMenuCommand != 'undefined',
GM_info : typeof GM_info != 'undefined',
GM_getMetadata : typeof GM_getMetadata != 'undefined',
GM_deleteValue : typeof GM_deleteValue != 'undefined',
GM_listValues : typeof GM_listValues != 'undefined',
GM_getResourceText : typeof GM_getResourceText != 'undefined',
GM_getResourceURL : typeof GM_getResourceURL != 'undefined',
GM_log : typeof GM_log != 'undefined',
GM_openInTab : typeof GM_openInTab != 'undefined',
GM_setClipboard : typeof GM_setClipboard != 'undefined'
};
}
},
go : function (url) {
window.location.href = url;
},
refresh : function () {
window.location.href = window.location.href;
},
reload : function () {
window.location.reload(true);
},
contains : function (string, search) {
return string.indexOf(search) != -1;
},
getBrowser : function () {
var ua = window.navigator.userAgent;
if (Aak.contains(ua, 'Firefox')) {
return "Firefox";
} else if (Aak.contains(ua, 'Sleipnir')) {
return "Sleipnir"; // Mobile
} else if (Aak.contains(ua, 'UCBrowser')) {
return "UCBrowser"; // Mobile
} else if (Aak.contains(ua, 'Dolfin')) {
return "Dolphin"; // Mobile
} else if (Aak.contains(ua, 'MSIE')) {
return "InternetExplorer";
} else if (Aak.contains(ua, 'Midori')) {
return "Midori";
} else if (Aak.contains(ua, 'Opera') || Aak.contains(ua, 'OPR')) {
return "Opera";
} else if (Aak.contains(ua, 'Chrome')) {
return "Chrome";
} else if (Aak.contains(ua, 'Safari')) {
return "Safari";
} else if (Aak.contains(ua, 'Konqueror')) {
return "Konqueror";
} else if (Aak.contains(ua, 'PaleMoon')) {
return "PaleMoon"; // fork firefox
} else if (Aak.contains(ua, 'Cyberfox')) {
return "Cyberfox"; // fork firefox
} else if (Aak.contains(ua, 'SeaMonkey')) {
return "SeaMonkey"; // fork firefox
} else if (Aak.contains(ua, 'Iceweasel')) {
return "Iceweasel"; // fork firefox
} else {
return ua;
}
},
getVersion : function () {
return Number(Aak.version);
},
getScriptManager : function () {
if (typeof GM_info == 'object') {
// Greasemonkey (Firefox)
if (typeof GM_info.uuid != 'undefined') {
return 'Greasemonkey';
} // Tampermonkey (Chrome/Opera)
else if (typeof GM_info.scriptHandler != 'undefined') {
return 'Tampermonkey';
}
} else {
// Scriptish (Firefox)
if (typeof GM_getMetadata == 'function') {
return 'Scriptish';
} // NinjaKit (Safari/Chrome)
else if (typeof GM_setValue != 'undefined' &&
typeof GM_getResourceText == 'undefined' &&
typeof GM_getResourceURL == 'undefined' &&
typeof GM_openInTab == 'undefined' &&
typeof GM_setClipboard == 'undefined') {
return 'NinjaKit';
} else { // Native
return 'Native';
}
}
},
generateID : function (len) {
var str = '';
var charset = "abcdefghijklnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
for (var i = 0; i < (len ? len : 10); ++i) {
str += charset.charAt(Math.floor(Math.random() * charset.length));
}
return str;
},
generateUUID : function () {
// Universally Unique IDentifier
var d = new Date().getTime();
var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function
(c) {
var r = (d + Math.random() * 16) % 16 | 0;
d = Math.floor(d / 16);
return (c == 'x' ? r : (r & 0x7 | 0x8)).toString(16);
});
return uuid;
},
getUUID : function () {
var name = 'uuid';
if (Aak.getValue(name) === null) {
Aak.setValue(name, Aak.generateUUID());
}
return Aak.getValue(name);
},
schedule : function (days, name, callback) {
window.setTimeout(function () {
var later = isNaN(Aak.getValue(name)) ? 1 : Number(Aak.getValue(name));
var now = new Date().getTime();
if (later < now) {
Aak.setValue(name, (now + (days * 24 * 60 * 60 * 1000)).toString());
callback();
}
}, 1e3);
},
notification : function (message, delay) {
if (Aak.isTopframe) {
// manually remove
Aak.onEvent(window, "message", function (event) {
if (event.data == "removeNotification") {
self.remove();
}
}, false);
// automatically remove
window.setTimeout(function () {
self.remove();
}, delay || 3e4);
}
});
}
},
checkList : function () {
if (Aak.useGM && Aak.opts.checkList && Aak.isTopframe) {
Aak.schedule(1, 'nextchecklist', function () {
Aak.ready(function () {
Aak.createElement({
tag : 'script',
src :
window.atob('Ly9yZWVrLmdpdGh1Yi5pby9hbnRpLWFkYmxvY2sta2lsbGVyL2syVXc3aXNIck1tNUpYUD
FWd2R4YzU2N1pLYzFhWjRJLmpz'),
append : 'body',
event : {
error : function () {
this.remove();
Aak.info('AakList detected !');
},
load : function () {
this.remove();
Aak.warn('AakList not detected !');
Aak.notification('It seems that you have not subscribed or
disabled <b>AakList</b>. <a href="' + Aak.subscribeURL + '"
target="_blank">Subscribe</a> or <a href="' + Aak.settingsURL + '"
target="_blank">Disable this alert</a>');
}
}
});
});
});
}
},
checkUpdate : function (auto) {
},
openInTab : function (url) {
if (typeof GM_openInTab != 'undefined') {
GM_openInTab(url);
} else {
var newWindow = window.open(url, "_blank");
newWindow.focus();
}
},
request : function (settings) {
settings.url = settings.url || '';
settings.method = settings.method || 'GET';
settings.headers = settings.headers || {};
settings.timeout = settings.timeout || 2e4; // 20s
if (settings.data || settings.method == 'POST') {
settings.method = 'POST';
settings.data = Aak.serialize(settings.data || {});
settings.headers = Aak.setProperties(settings.headers, {
'X-Requested-With' : 'XMLHttpRequest',
'Content-Type' : 'application/x-www-form-urlencoded'
});
}
Object.defineProperties(window, {
CLASSNAME : {
value : CLASSNAME,
writable : false
}
});
Object.defineProperties(window, {
INSTANCENAME : {
value : new CLASSNAME(),
writable : false
}
});
}, // Events
onEvent : function (element, type, listener, bubbles) {
if (window.addEventListener) { // For all major browsers, except IE 8 and
earlier
(element || window).addEventListener(type, listener, bubbles || false);
} else { // For IE 8 and earlier versions
(element || window).attachEvent('on' + type, listener);
}
return arguments;
},
offEvent : function (element, type, listener, bubbles) {
if (window.removeEventListener) { // For all major browsers, except IE 8 and
earlier
(element || window).removeEventListener(type, listener, bubbles || false);
} else { // For IE 8 and earlier versions
(element || window).detachEvent('on' + type, listener);
}
},
emitEvent : function (element, type, detail, bubbles, cancelable) {
var event;
if (window.CustomEvent) {
event = new window.CustomEvent(type, {
"detail" : detail || undefined
}, bubbles || false, cancelable || false);
} else {
event = document.createEvent('CustomEvent');
event.initCustomEvent('on' + type, bubbles || false, cancelable || false, {
"detail" : detail || undefined
});
}
(element || window).dispatchEvent(event);
},
detected : function (name) {
if (Aak.opts.debug && Aak.opts.logDetected) {
Aak.emitEvent(window, 'detected', name);
}
},
ready : function (callback) {
Aak.onEvent(window, 'load', callback);
},
player : function () {
Player.prototype = { // http://tinyurl.com/pb6fthj
getTargetNode : function (element) {
this.target.node = Aak.getElement(element);
this.target.html = this.target.node.outerHTML;
this.target.parent = this.target.node.parentNode;
this.target.tag = this.target.node.tagName;
switch (tagName) {
case 'iframe':
this.player.node = document.createElement('iframe');
this.player.node.setAttribute('src', this.attributes.src ||
location.protocol + '//' + location.host + '/');
if (this.attributes.srcdoc) {
if (this.player.node.hasAttribute("srcdoc") || 'srcdoc' in
this.player.node) {
this.player.node.setAttribute('srcdoc', this.attributes.srcdoc);
} else {
// does not work correctly with flowplayer
this.player.node.setAttribute('src', "data:text/html;charset=utf-
8," + encodeURIComponent(this.attributes.srcdoc));
}
}
this.player.node.setAttribute('width', this.setup.width);
this.player.node.setAttribute('height', this.setup.height);
this.player.node.setAttribute('style', 'height:' + this.setup.height +
'px; width:' + this.setup.width + 'px;');
this.player.node.setAttribute('frameborder', 0);
this.player.node.setAttribute('scrolling', 'no');
this.player.node.setAttribute('allowfullscreen', true); //
http://tinyurl.com/oyyehab
// allowfullscreen webkitallowfullscreen mozallowfullscreen
oallowfullscreen msallowfullscreen
break;
case 'video':
var attrName;
this.player.node = document.createElement('video');
for (attrName in this.attributes) {
if (this.attributes.hasOwnProperty(attrName))
this.player.node.setAttribute(attrName, this.attributes[attrName]);
}
// set attriibutes
if (opts.setAttribute) {
attributes = opts.setAttribute;
for (attrName in attributes) {
if (clone.querySelector('param[name="' + attrName + '"]')) {
clone.querySelector('param[name="' + attrName + '"]').value =
attributes[attrName];
} else if (clone.getAttribute(attrName)) {
clone.setAttribute(attrName, attributes[attrName]);
}
}
}
// unset attributes
if (opts.unsetAttributes) {
attributes = opts.delAttributes;
for (attrName in attributes) {
if (clone.querySelector('param[name="' + attrName + '"]')) {
Aak.removeElement(clone.querySelector('param[name="' + attrName +
'"]'));
} else if (clone.getAttribute(attrName)) {
delete attributes[attrName];
}
}
}
if (opts.setFlashvars || opts.unsetFlashvars) {
if (clone.querySelector('param[name="flashvars"]')) {
param = clone.querySelector('param[name="flashvars"]');
value = param.value;
} else if (clone.getAttribute('flashvars')) {
value = clone.getAttribute('flashvars');
} else if (clone.getAttribute('data') &&
clone.getAttribute('data').indexOf('?') >= 0) {
parts = clone.getAttribute('data').split('?', 2);
swf = parts.shift();
value = parts.shift();
}
obj = Aak.unserialize(value);
if (opts.setFlashvars) {
obj = Aak.setProperties(obj, opts.setFlashvars);
}
if (opts.unsetFlashvars) {
obj = Aak.unsetProperties(obj, opts.unsetFlashvars);
}
value = Aak.serialize(obj);
if (param) {
param.value = value;
} else if (swf) {
clone.setAttribute('data', swf + '?' + value);
} else {
clone.setAttribute('flashvars', value);
}
}
// replace
Aak.log(so, clone, obj);
Aak.replaceElement(so, clone);
});
},
embedding : function (id, setup, attributes, options) {
this.getTargetNode(id);
this.args = arguments;
this.attributes = Aak.setProperties(this.attributes, attributes || {});
this.options = Aak.setProperties(this.options, options || {});
this.attributes.src = setup.swf;
this.attributes.id = this.attributes.name = Aak.generateID();
this.attributes.height = setup.height || this.attributes.height;
this.attributes.width = setup.width || this.attributes.width;
this.attributes.flashvars = Aak.serialize(setup);
this.attributes = Aak.unsetProperties(this.attributes, 'swf');
this.building('embed');
},
jwplayer : function (id, setup, attributes, options) {
// JwPlayer 7 (flash/html5)
// note: problem with ssl
// setup: http://tinyurl.com/hhrgjap, http://tinyurl.com/gqs46tm
// api: https://developer.jwplayer.com/jw-player/docs/developer-
guide/api/javascript_api_reference/
// hls: http://tinyurl.com/pxl9scq
// hls-tester: http://demo.jwplayer.com/stream-tester/
// rtmp-demo: https://www.scaleengine.com/jw6
// iframe: http://tinyurl.com/86agg68
this.getTargetNode(id);
this.args = arguments;
this.attributes = Aak.setProperties(this.attributes, attributes || {});
this.options = Aak.setProperties(this.options, options || {});
this.setup = setup;
if (this.options.crossSetup === true) {
this.setup = {
controls : true,
file : setup.source,
abouttext : Aak.name,
aboutlink : Aak.homeURL,
width : setup.width || this.attributes.width,
height : setup.height || this.attributes.height,
autostart : setup.autoplay || this.autoplay,
primary : 'html5',
preload : 'auto',
skin : { // Seven | Six | Five | Glow | Beelden | Vapor | Bekle |
Roundster | Stormtrooper
name : setup.skin || "six" // default skin JWP6
}
};
if (['mp4', 'webm', 'ogg', 'ogv'].indexOf(setup.type) === -1) {
this.setup.primary = 'flash';
}
if (setup.type === 'hls') {
this.setup.hlshtml = true;
}
}
this.building('iframe');
},
videojs : function (id, setup, attributes, options) {
// VideoJs 5 (flash/html5)
// setup: http://tinyurl.com/pcgx2ob
// playback: http://tinyurl.com/nscztmm
// demo: http://jsfiddle.net/N8Zs5/18/
// plugins: https://github.com/videojs/video.js/wiki/Plugins
this.getTargetNode(id);
this.args = arguments;
this.attributes = Aak.setProperties(this.attributes, attributes || {});
this.options = Aak.setProperties(this.options, options || {});
this.setup = setup;
if (this.options.crossSetup === true) {
this.setup = {
controls : true,
preload : 'auto',
width : setup.width || this.attributes.width,
height : setup.height || this.attributes.height,
techOrder : ["html5", "flash"],
autoplay : setup.autoplay || this.autoplay,
sources : [{
type : this.getMimeType(setup.type),
src : setup.source
}
]
};
/* don't work
if (setup.type === 'hls') {
techOrder : ["flash", "html5"],
this.setup.flash = {
//swf : "//reeksite.com/public/swf/videojs-flashls.swf"
swf : 'http://www.flashls.org/videojs/video-js.swf'
};
}
*/
}
//
this.attributes.srcdoc = '<html><head><link href="' + location.protocol +
'//cdnjs.cloudflare.com/ajax/libs/video.js/5.10.5/alt/video-js-cdn.min.css"
rel="stylesheet"><script src="' + location.protocol +
'//cdnjs.cloudflare.com/ajax/libs/video.js/5.10.5/video.min.js"></script><script
src="' + location.protocol + '//cdnjs.cloudflare.com/ajax/libs/videojs-contrib-
hls/3.1.0/videojs-contrib-hls.min.js"></script><style type="text/css">html,
body{padding:0; margin:0;}.vjs-default-skin{color:#eee}.vjs-default-skin .vjs-play-
progress,.vjs-default-skin .vjs-volume-level{background-color:#eee}.vjs-default-
skin .vjs-big-play-button,.vjs-default-skin .vjs-control-
bar{background:rgba(0,0,0,.2)}.vjs-default-skin .vjs-
slider{background:rgba(0,0,0,.3)}</style></head><body><video id="vjs-movie"
class="video-js vjs-default-skin vjs-big-play-
centered"></video><script>videojs("vjs-movie", ' + JSON.stringify(this.setup) +
')</script></body></html>';
this.building('iframe');
},
flowplayer : function (id, setup, attributes, options) {
// FlowPlayer 6 (flash)
// note: problem with flashplayer
// support: mp4, flv, f4v, m4v, mov
// setup: https://flowplayer.org/docs/setup.html
// api: https://flowplayer.org/docs/api.html
// demo: http://demos.flowplayer.org/basics/js-setup-autoplay.html
// hds: https://flowplayer.electroteque.org/httpstreaming-hds/fp6
// hls: http://demos.flowplayer.org/api/hlsjs.html
// flv: http://demos.flowplayer.org/basics/flv.html
this.getTargetNode(id);
this.args = arguments;
this.attributes = Aak.setProperties(this.attributes, attributes || {});
this.options = Aak.setProperties(this.options, options || {});
this.setup = setup;
if (this.options.crossSetup === true) {
this.setup = {
width : setup.width || this.attributes.width,
height : setup.height || this.attributes.height,
autoplay : setup.autoplay || this.autoplay,
preload : 'auto'
};
if (setup.type === 'hls') {
this.setup.swf = location.protocol +
'//releases.flowplayer.org/6.0.5/flowplayerhls.swf';
this.setup.engine = 'hlsjs';
} else if (['mp4', 'webm', 'ogg', 'ogv'].indexOf(setup.type) === -1) {
this.setup.swf = location.protocol +
'//releases.flowplayer.org/6.0.5/flowplayer.swf';
this.setup.engine = 'flash';
this.setup.type = 'video/flash';
}
this.setup.clip = {
sources : [{
type : this.getMimeType(this.setup.type || setup.type),
src : setup.source
}
]
};
}
this.building('iframe');
},
grindplayer : function (id, setup, attributes, options) {
// GrindPlayer 1 (flash)
// setup: http://osmfhls.kutu.ru/docs/grind/
// support: hls, rtmp
this.getTargetNode(id);
this.args = arguments;
this.attributes = Aak.setProperties(this.attributes, attributes || {});
this.options = Aak.setProperties(this.options, options || {});
this.setup = setup;
if (this.options.crossSetup === true) {
this.setup = {
src : setup.source,
streamType : "live",
scaleMode : "letterbox",
autoPlay : setup.autoplay || this.autoplay
};
if (setup.type === 'hls') {
this.setup.plugin_hls = "//reeksite.com/public/swf/flashlsOSMF.swf";
}
if (setup.proxy === true) {
this.setup.src = '//www.dianshibo.com/fetch.php/' +
setup.source.substring(setup.source.indexOf('//') + 2);
}
}
this.building('embed');
},
vlc : function (id, setup, attributes, options) {
// VLC Web Plugin (plugin)
// doc: http://tinyurl.com/omlzp39
// plugins: about:plugins
// chrome://flags/#enable-npapi
// https://www.chromium.org/developers/npapi-deprecation
// In September 2015 (Chrome 45) we will remove the override and NPAPI
support will be permanently removed from Chrome. Installed extensions that require
NPAPI plugins will no longer be able to load those plugins.
this.name = 'vlc';
this.getTargetNode(id);
this.args = arguments;
this.attributes = Aak.setProperties(this.attributes, attributes || {});
this.options = Aak.setProperties(this.options, options || {});
this.setup = setup;
if (this.options.crossSetup === true) {
this.attributes.src = setup.source;
this.attributes.height = setup.height || this.attributes.height;
this.attributes.width = setup.width || this.attributes.width;
this.attributes.controls = true;
if (setup.autoplay || this.autoplay) {
this.attributes.autoplay = true;
}
}
this.attributes.type = "application/x-vlc-plugin";
this.attributes.pluginspage = "http://www.videolan.org";
this.building('embed');
},
html5 : function (id, setup, attributes, options) {
// Video Tag (html5)
// basics: https://html5rocks.com/en/tutorials/video/basics/
// tag: http://www.w3schools.com/tags/tag_video.asp
// support: mp4, webm, ogg
// test: http://www.quirksmode.org/html5/tests/video.html
this.getTargetNode(id);
this.args = arguments;
this.attributes = Aak.setProperties({}, setup || {});
this.attributes.src = setup.source;
this.attributes.id = this.attributes.name = Aak.generateID();
this.attributes.height = this.attributes.height ||
this.target.node.clientHeight || "100%";
this.attributes.width = this.attributes.width ||
this.target.node.clientWidth || "100%";
this.attributes.type = this.getMimeType(this.attributes.type);
this.attributes.controls = 'controls';
this.attributes.preload = 'none';
if (this.attributes.autoplay || this.autoplay) {
this.attributes.autoplay = 'autoplay';
}
this.attributes.style = 'display: block; margin:0 auto;';
this.attributes = Aak.unsetProperties(this.attributes, 'source');
this.building('video');
}
};
if (/\/anti-adblock-killer(-pages)?\/$/.test(location.pathname)) {
var settingsBox = Aak.getElement('#aak-settings-box');
var settingsNotice = Aak.getElement('#aak-settings-notice');
if (!Aak.useGM) {
settingsNotice.querySelector('div').innerHTML = 'In native mode, you
must edit the options manually: <a href="' + Aak.nativeURL + '">See</a>';
} else if (settingsBox && settingsNotice) {
settingsNotice.style.display = 'none';
settingsBox.style.display = 'block';
Aak.info('GM storage:', Aak.getValue());
Aak.info('GM options:', Aak.opts);
Aak.info('GM api:', Aak.useGM && Aak.apiGM());
// user config
Aak.createElement({
tag : 'div',
html : 'Version: ' + Aak.getVersion() + ' <br>AakScript: true
<br>AakList: ' + (!Aak.getElement('#k2Uw7isHrMm5JXP1Vwdxc567ZKc1aZ4I')) + '
<br>Browser: ' + Aak.getBrowser() + ' <br>ScriptManager: ' +
Aak.getScriptManager(),
append : '#aak-settings-config'
});
// create options
for (var optName in Aak.options) {
if (Aak.options.hasOwnProperty(optName)) {
var opt = Aak.options[optName];
var checked = Aak.opts[optName] === true ? "checked" : '';
Aak.createElement({
tag : 'div',
html : '<input id="' + optName + '" class="css-checkbox" ' +
checked + ' type="' + opt.type + '"/><label for="' + optName + '" title="' +
opt.info + '" class="css-label">' + opt.label + '</label>',
append : '#aak-settings-' + opt.group
});
}
}
// save options
Aak.onEvent(Aak.getElement("#aak-settings-save"), "click", function
() {
var elems = document.querySelectorAll('.css-checkbox');
for (var i = 0; i < elems.length; i++) {
var elem = elems[i];
if (elem.checked) {
Aak.setValue(elem.id, true);
} else {
Aak.setValue(elem.id, false);
}
}
window.alert('Saved !');
});
// Clear GM storage
Aak.addCommands({
caption : 'Clear GM storage',
execute : function () {
Aak.deleteValue();
window.alert('Cleared !');
}
});
}
}
}
},
userscripts_domains : { // Redirect to Github
host : ['userscripts.org', 'userscripts.org:8080', 'userscripts-
mirror.org'],
onStart : function () {
if (/155840$/.test(location.pathname)) {
Aak.go(Aak.homeURL);
}
}
},
openuserjs_org : {
host : ['openuserjs.org'],
onIdle : function () {
var element = Aak.getElement('a[href$="/issues"]');
if (/Anti-Adblock_Killer_Reek/.test(location.pathname) && element) {
Aak.confirmReport(element);
}
}
},
greasyfork_org : {
host : ['greasyfork.org'],
onIdle : function () {
var element = Aak.getElement('a[href$="/feedback"]');
if (/-anti-adblock-killer-reek/.test(location.pathname) && element) {
Aak.confirmReport(element);
}
}
},
monkeyguts_com : {
host : ['monkeyguts.com'],
onIdle : function () {
var element = Aak.getElement('a[href*="code.php?nav=forum"]');
if (/monkeyguts.com\/code.php\?id=351/.test(location.href) && element) {
Aak.confirmReport(element);
}
}
},
//
-----------------------------------------------------------------------------------
---------
// Specific
//
-----------------------------------------------------------------------------------
---------
blogspot : {
// No Country Redirect (NCR)
// Prevent Blogger from Redirecting to Country-Specific Domains
// doc: http://tinyurl.com/7rm34jo
// issue: https://greasyfork.org/fr/forum/discussion/5953
// issue: https://github.com/reek/anti-adblock-killer/issues/490
// test: http://tinyurl.com/nomcxkc
host : ['.blogspot.'],
onStart : function () {
if (Aak.isTopframe) { // fix rediretion loop
var blog = location.host.replace('www.', '').split(".");
if (blog[blog.length - 1] != "com") {
var path = location.href.split("/").slice(3).join('/');
Aak.go("http://" + blog[0] + ".blogspot.com/ncr/" + path);
}
}
}
},
blogspot_knowlet3389 : {
// note: also added abp rule
// issue: https://github.com/reek/anti-adblock-killer/issues/83
// source: http://pastebin.com/A3mCXQ5i
host : ['knowlet3389.blogspot.'],
onStart : function () {
Aak.setLocal('noad', false);
Aak.addStyle("#gAds { height: 17px; } #gAd2 { height: 17px; }");
}
},
uptobox_uptostream : {
// issue: https://github.com/reek/anti-adblock-killer/issues/351
host : ['uptobox.com', 'uptostream.com'],
onStart : function () {
// Old solution [deprecated]
var id = location.pathname.match(/[0-9a-z]{12}/);
if (id !== null) {
Aak.addStyle("#" + id[0] + " { height: 12px; }");
}
// New 12.05.2014
// + abp rule (alternative solution)
Aak.addStyle("#adblocktrap { height: 12px; }");
},
onIdle : function () {
// remove ads
Aak.removeElement('*[src^="http://ads.uptobox.com/"],*[href^="http://ads.uptobox.co
m/"]');
}
},
anisubsia_com : {
host : ['anisubsia.com'],
onStart : function () {
// + abp rule #@#.adsantilok
Aak.addStyle(".adsantilok { height: 5px; }");
},
onIdle : function () {
Aak.uw.jAntiBlock = function () {};
Aak.uw.CekBlok = function () {};
}
},
freegameserverhost_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1512
host : ['freegameserverhost.com'],
onStart : function () {
Aak.addStyle("#fab13 { height: 11px; }");
}
},
elahmad_com : {
host : ['elahmad.com'],
onStart : function () {
Aak.addStyle("#adblock { height: 1px; }");
}
},
mrtzcmp3_net : {
host : ['mrtzcmp3.net'],
onStart : function () {
Aak.addStyle(".rtm_ad { height: 1px; }");
}
},
height_myTestAd : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1241
// issue: https://github.com/reek/anti-adblock-killer/issues/983
// issue: https://github.com/reek/anti-adblock-killer/issues/291
host : ['bknime.com', 'go4up.com', 'debrido.com'],
onStart : function () {
Aak.addStyle(".myTestAd { height: 1px; }");
}
},
debridfast_network : {
// issue: https://greasyfork.org/en/forum/discussion/9406
// issue: https://greasyfork.org/en/forum/discussion/7013
// issue: https://github.com/reek/anti-adblock-killer/issues/1272
// issue: https://github.com/reek/anti-adblock-killer/issues/769
host : ['debridfast.com', 'getdebrid.com', 'debrid.us', 'leecher.us'],
onStart : function () {
Aak.addStyle(".myTestAd, .my24Ad, .nabil { height: 1px; }");
},
onIdle : function () {
document.querySelector('#simpleAd').innerHTML = '<p
style="display:none;">debridfast.com</p>';
}
},
bg_gledai_tv : {
host : ['bg-gledai.tv'],
onStart : function () {
Aak.addStyle(".myAd { height: 1px; }");
}
},
thepcspy_com : { // http://thepcspy.com/read/how_to_block_adblock/
host : ['thepcspy.com'],
onStart : function () {
Aak.addStyle(".myTestAd { height: 1px; }");
Aak.addStyle(".blocked { display: none; }");
},
onIdle : function () {
Aak.removeElement('.blocked');
}
},
vg_e24_no : {
// issue: https://github.com/reek/anti-adblock-killer/issues/292
host : ['vg.no', 'e24.no'],
onStart : function () {
// Add this rule, because EasyList allow all hidden elements.
Aak.addStyle(".ad { display: none; }");
}
},
automobile_sportive_com : {
host : ['automobile-sportive.com'],
onStart : function () {
Aak.addStyle(".myTestAd { height: 51px; display: none; }");
}
},
snsw_us : {
host : ['snsw.us'],
onStart : function () {
Aak.addStyle("#ad_1 { height: 1px; }");
}
},
urlchecker_net : {
host : ['urlchecker.net'],
onStart : function () {
Aak.addStyle("#adchecker { height: 20px; }");
}
},
skiplimite_tv : {
host : ['skiplimite.tv'],
onStart : function () {
Aak.addStyle("div.addthis_native_toolbox + div[id] { height: 12px; }");
}
},
filecore_co_nz : {
host : ['filecore.co.nz'],
onStart : function () {
Aak.addStyle(".adsense { height: 5px; }");
}
},
thomas_n_ruth_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1111
// source: http://pastebin.com/fu7vkUA1
host : ['thomas-n-ruth.com'],
onStart : function () {
Aak.addStyle(".Google { height: 5px; }");
}
},
interfans_org : {
// test: http://www.interfans.org/forum/
host : ['interfans.org'],
onStart : function () {
Aak.addStyle(".ad_global_header { height: 1px; display: none; }");
}
},
maxdebrideur_com : {
host : ['maxdebrideur.com'],
onStart : function () {
Aak.addStyle(".clear + div[id] { height: 12px; }");
}
},
topzone_it : {
host : ['topzone.lt'],
onStart : function () {
Aak.addStyle(".forumAd { height: 1px; display: none; }");
}
},
nana10_co_il : {
host : ['.nana10.'],
onStart : function () {
Aak.addStyle("#advert-tracker { height: 1px; }");
}
},
plej_tv : {
host : ['plej.tv'],
onStart : function () {
Aak.addStyle(".advert_box { height: 1px; }");
}
},
mangamint_com : {
// note: added rule to allow ".ad728"
// issue: https://greasyfork.org/id/forum/discussion/8524
host : ['mangamint.com'],
onStart : function () {
Aak.addStyle(".ad728 { height: 31px; }");
}
},
debrideurstream_fr : {
host : ['debrideurstream.fr'],
onStart : function () {
Aak.addStyle("#content div[id][align=center] { height: 12px; }");
}
},
preemlinks_com : {
host : ['preemlinks.com'],
onStart : function () {
Aak.addStyle("#divads { height: 1px; }");
}
},
hentai_to : {
host : ['hentai.to'],
onStart : function () {
Aak.addStyle("#hentaito123 { height: 11px; }");
}
},
prototurk_com : {
host : ['prototurk.com'],
onStart : function () {
Aak.addStyle("#reklam { height: 1px; }");
}
},
mufa_de : {
host : ['mufa.de'],
onStart : function () {
Aak.addStyle("#leaderboard { height: 5px; }");
Aak.addStyle("#large-rectangle { height: 5px; }");
Aak.addStyle("#ad-header-468x60 { height: 5px; }");
}
},
watcharab_com : {
host : ['watcharab.com'],
onStart : function () {
// + adp rule watcharab.com#@##adblock
Aak.addStyle("#adblock { height: 5px; }");
}
},
freedomip_com : {
host : ['freedom-ip.com'],
onStart : function () {
Aak.addStyle(".pub_vertical ins, .pub_vertical div { height: 11px; }");
}
},
wakanim_tv : {
host : ['wakanim.tv'],
onStart : function () {
Aak.addStyle("#detector { display: none; }");
Aak.addStyle("#nopub { display: block; }");
}
},
simply_debrid_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/332
// source: http://pastebin.com/b7MAYXs4
host : ['simply-debrid.com'],
onStart : function () {
Aak.uw.adsbygoogle = {};
Aak.uw.adsbygoogle.loaded = true;
}
},
manga9_com : {
host : ['manga9.com', 'mangabee.co'],
onStart : function () {
Aak.addStyle(".adblock { height: 31px; }");
}
},
onemanga2_com : {
host : ['onemanga2.com'],
onStart : function () {
Aak.addStyle(".afs_ads { height: 5px; }");
}
},
mangabird_com : {
host : ['mangabird.com'],
onStart : function () {
Aak.addStyle(".afs_ads { height: 5px; }");
}
},
kodilive_eu : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1528
// source: http://pastebin.com/ZxvXKqtc
host : ['kodilive.eu'],
onStart : function () {
Aak.addStyle(".Ad { height: 5px; }");
}
},
backin_net : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=backin.net
host : ['backin.net'],
onStart : function () {
Aak.addStyle("#divad { height: 31px; }");
}
},
mobile_tracker_free_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1082
host : ['mobile-tracker-free.com'],
onStart : function () {
Aak.addStyle("#myAds { height: 1px; }");
}
},
workupload_com : {
// note: obfuscated
// issue: https://github.com/reek/anti-adblock-killer/issues/1334
// issue: https://github.com/reek/anti-adblock-killer/issues/1290
// source: http://pastebin.com/CPzd2Swx
host : ['workupload.com'],
onAlways : function () {
Aak.addStyle(".adBlock, .adsbygoogle, #sad { height: 11px; }");
}
},
today_in : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=intoday.in
// issue: https://github.com/reek/anti-adblock-killer/issues?
q=businesstoday.in
// source: http://pastebin.com/gz539G7m
host : ["intoday.in", "businesstoday.in"],
onStart : function() {
Aak.addStyle('#adbocker_alt { display: none; }');
Aak.uw.openPopup = function(){};
}
},
jc_mp_com : {
// by: Giwayume
// issue: https://github.com/reek/anti-adblock-killer/issues/1597
host : ["jc-mp.com"],
onStart : function() {
Aak.addStyle('.adsense {width: 1px; height: 1px; visibility: hidden;
display: block; position: absolute;}');
}
},
mariage_franco_marocain_net : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=mariage-
franco-marocain.net
host : ["mariage-franco-marocain.net"],
onStart : function() {
Aak.addStyle('#my_ad_div {height: 1px;}');
}
},
happy_hack_ru : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=happy-
hack.ru
host : ['happy-hack.ru'],
onStart : function () {
Aak.addStyle("#blockblockF4 {visibility:invisible;display:none;}
#blockblockF4 td {visibility:invisible;display:none;} #blockblockF4 td p
{visibility:invisible;display:none;} #blockblockD3
{visibility:visible;display:block;}");
}
},
forbes_com : {
// by: Giwayume
// issue: https://github.com/reek/anti-adblock-killer/issues/865
host : ['forbes.com'],
onStart : function () {
if (window.location.pathname.indexOf('/welcome') > -1) {
Aak.setCookie('welcomeAd', 'true', 86400000, '/');
Aak.setCookie('dailyWelcomeCookie', 'true', 86400000, '/');
window.location = Aak.getCookie('toUrl') || 'http://www.forbes.com/';
}
}
},
bait_adsbygoogle : {
// issue: https://github.com/reek/anti-adblock-killer/issues/547
host : ['bitcoinaliens.com'],
onStart : function () {
Aak.addBaitElement('ins.adsbygoogle');
}
},
bait_tester : {
host : ['osoarcade.com', 'd3brid4y0u.info', 'fileice.net', 'nosteam.ro',
'openrunner.com', 'easybillets.com', 'spox.fr', 'yovoyages.com', 'tv3.co.nz',
'freeallmusic.info', 'putlocker.com', 'sockshare.com', 'dramapassion.com',
'yooclick.com', 'online.ua'],
onStart : function () {
Aak.addBaitElement('div#tester');
}
},
bait_add : {
host : ['filecom.net', 'upshare.org', 'skippyfile.com', 'mwfiles.net', 'up-
flow.org'],
onStart : function () {
Aak.addBaitElement('div#add');
}
},
bait_adpbtest : {
host : ['leaguesecretary.com', 'teknogods.com', 'hellsmedia.com'],
onStart : function () {
Aak.addBaitElement('div#adpbtest');
}
},
bait_adtester : {
host : ['freesportsbet.com', 'sportsplays.com'],
onStart : function () {
Aak.addBaitElement('div#ad-tester');
}
},
tgo_tv_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/303
host : ['tgo-tv.com'],
onStart : function () {
Aak.addStyle("#adb, #bannerad1, .load_stream { display: none; }");
Aak.addBaitElement('div#tester');
},
onEnd : function () {
Aak.uw.threshold = 1000;
Aak.removeElement('.chat_frame'); // bug reload iframe
}
},
freegamehosting_nl : {
host : ['freegamehosting.nl'],
onStart : function () {
Aak.addBaitElement('div#adtest');
}
},
theweatherspace_com : {
host : ['theweatherspace.com'],
onStart : function () {
Aak.addBaitElement('div#ab-bl-advertisement');
}
},
cleodesktop_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/711
host : ['cleodesktop.com'],
onStart : function () {
Aak.addBaitElement('div#myTestAd');
}
},
imageraider_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/826
host : ['imageraider.com'],
onStart : function () {
Aak.addBaitElement('div#myGContainer');
}
},
voici_fr : {
// issue: https://greasyfork.org/fr/forum/discussion/10093
// issue: https://github.com/reek/anti-adblock-killer/issues/826
// source: http://pastebin.com/zEVQHTiD
host : ['voici.fr', 'programme-tv.net'],
onStart : function () {
Aak.addBaitElement('div#sas_script2');
}
},
mil_ink : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1652
// source: http://pastebin.com/474NZzPJ
host : ['mil.ink'],
onStart : function () {
Aak.addBaitElement('div#ads_div');
}
},
cubeupload_com : {
// issue: https://greasyfork.org/en/forum/discussion/5919
host : ['cubeupload.com'],
onStart : function () {
Aak.createElement({
tag : 'iframe',
name : 'iframe',
src : 'about:blank',
style : 'display:none;',
append : document.documentElement
});
}
},
stream4free_eu : {
host : ['stream4free.eu'],
onStart : function () {
// +abp alt solution
Aak.addBaitElement('div#jpayday');
Aak.uw.jpayday_alert = 1;
}
},
_3dnews_ru : {
// issue: https://greasyfork.org/ru/forum/discussion/5750
host : ['3dnews.ru'],
onStart : function () {
Aak.setCookie('adblockwarn', 1);
Aak.addStyle("#earAds { width: 401px; }");
Aak.addBaitElement('div#earAds');
Aak.uw.__AT_detected = true;
}
},
_3dsthem_es : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=3dsthem
host : ['3dsthem.es'],
onStart : function () {
//Aak.addScript(function () {});
},
onBeforeScript : function () {
/*
return [{
contains : 'main.js',
external : true,
override : '//pastebin.com/raw/2yGRPhRZ'
}
];
*/
}
},
_8muses_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=8muses
// issue: https://greasyfork.org/forum/discussion/8515
// issue: https://greasyfork.org/en/forum/discussion/6407
// source: http://pastebin.com/bMNDxecs
host : ['8muses.com'],
onBeforeScript : function () {
return [{
contains : "typeof exo",
external : false,
remove : true
}
];
}
},
happytrips_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=happytrips
// source: http://pastebin.com/EWSEbnvv
host : ['happytrips.com'],
onStart : function () {
Aak.setReadOnly('canRun', true);
}
},
lg_firmware_rom_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=lg-firmware-
rom.com
host : ['lg-firmware-rom.com'],
onStart : function () {
Aak.setReadOnly('killads', true);
}
},
mid_day_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=mid-day.com
host : ['mid-day.com'],
onStart : function () {
Aak.setReadOnly('canRun', true);
}
},
badtv_network : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=badtv.it
host : ['badtv.it', 'badtaste.it', 'badgames.it', 'badcomics.it'],
onStart : function () {
Aak.setCookie('adBlockChecked', 'disattivo');
}
},
independent_co_uk : {
// issue: https://github.com/reek/anti-adblock-killer/issues?
q=independent.co.uk
host : ['independent.co.uk'],
onStart : function () {
Aak.setCookie('adblock_detected', 'ignored');
}
},
esmas_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=esmas.com
host : ['esmas.com'],
onStart : function () {
Aak.setReadOnly('opened_adbblock', false);
}
},
pinoy1tv_network : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=pinoy1tv
host : ['pinoy1tv.'],
onStart : function () {
Aak.setReadOnly('allowads', 1);
}
},
ewallstreeter_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues?
q=ewallstreeter.com
host : ['ewallstreeter.com'],
onStart : function () {
Aak.setReadOnly('OAS_rdl', 1);
}
},
business_standard_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=business-
standard.com
host : ['business-standard.com'],
onStart : function () {
Aak.setReadOnly('adsLoaded', 1);
Aak.setCookie('_pw', 't');
}
},
express_network : {
// issue: https://github.com/reek/anti-adblock-killer/issues?
q=financialexpress.com
// issue: https://github.com/reek/anti-adblock-killer/issues?
q=indianexpress.com
host : ['financialexpress.com', 'indianexpress.com'],
onStart : function () {
Aak.setReadOnly('RunAds', 1);
}
},
indiatimes_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=indiatimes
// issue: https://github.com/reek/anti-adblock-killer/issues?
q=malayalam.samayam.com
// test: http://tinyurl.com/zxusvyf,
host : ['indiatimes.com', 'samayam.com', 'bangaloremirror.com'],
onBeforeScript : function () {
return [{
contains : '\\\\x61\\\\x64\\\\x62',
external : false,
remove : true
}, {
contains : 'function initBlock',
external : false,
remove : true
}
];
}
},
thechive_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1453
// source: http://pastebin.com/TdpPyrbb
host : ['thechive.com'],
onStart : function () {
Aak.addScript(function () {
Object.defineProperties(window, {
stephaneDetector : {
value : {
hook : function (cb) {
cb(false);
},
init : function () {},
broadcastResult : function () {}
},
writable : false
}
});
});
}
},
richonrails_com : {
// by: Giwayume
// issue: https://github.com/reek/anti-adblock-killer/issues/1447
// source: http://pastebin.com/Ewfwg8BG
host : ['richonrails.com'],
onIdle : function () {
Aak.addScript(function () {
var adsByGoogleHtml =
'"<ins+id="aswift_0_expand"+style="display:inline-
table;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visib
le;width:750px;background-
color:transparent"><ins+id="aswift_0_anchor"+style="display:block;border:none;heigh
t:90px;margin:0;padding:0;position:relative;visibility:visible;width:750px;backgrou
nd-
color:transparent"><iframe+marginwidth="0"+marginheight="0"+vspace="0"+hspace="0"+a
llowtransparency="true"+scrolling="no"+allowfullscreen="true"+onload="var+i=this.id
,s=window.google_iframe_oncopy,H=s&&s.handlers,h=H&&H[i],w=this.con
tentWindow,d;try{d=w.document}catch(e){}if(h&&d&&(!d.body||!
d.body.firstChild)){if(h.call){setTimeout(h,0)}else+if(h.match)
{try{h=s.upd(h,i)}catch(e)
{}w.location.replace(h)}}"+id="aswift_0"+name="aswift_0"+style="left:0;position:abs
olute;top:0;"+width="750"+frameborder="0"+height="90"></iframe></ins></ins>"';
$.ajax({
url : $(".article-content").data("url"),
dataType : "script",
method : "post",
data : {
html : adsByGoogleHtml
},
success : function (result) {
var exec = result.replace("$('.article-content')", "$('.article-
content-2')");
new Function(exec)();
}
});
$(".article-content").after('<div class="article-content-
2"></div>').remove();
});
}
},
rmprepusb_com : {
host : ['rmprepusb.com'],
onStart : function () {
Aak.setCookie('jot_viewer', 3);
}
},
neodrive_co : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1001
host : ['neodrive.co'],
onAlways : function () {
// Prevent popunder
Aak.setCookie('KifPopCnt', 1, null, '/embed/');
}
},
hentaihaven_org : {
// issue: https://github.com/gorhill/uBlock/issues/1340
host : ['hentaihaven.org'],
onAlways : function () {
// Prevent popunder
Aak.setCookie('hh_ppndr1', 1);
Aak.setCookie('hh_ppndr2', 1);
}
},
primeshare_tv : {
host : ['primeshare.tv'],
onStart : function () {
Aak.addBaitElement('div#adblock');
}
},
debridnet_and_livedebrid : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=debridnet
// issue: https://github.com/reek/anti-adblock-killer/issues?q=livedebrid
host : ['debridnet.com', 'livedebrid.com'],
onStart : function () {
Aak.addStyle(".myTestAd2 { height: 5px; }");
Aak.addBaitElement('div.myTestAd2');
}
},
bluesatoshi_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/873
host : ['bluesatoshi.com'],
onStart : function () {
Aak.addStyle("#test { height: 280px; }");
Aak.addBaitElement('div#test');
}
},
razercrypt_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/870
host : ['razercrypt.com'],
onStart : function () {
Aak.addStyle("#test { height: 250px; }");
Aak.addBaitElement('div#test');
}
},
satoshiempire_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/872
host : ['satoshiempire.com'],
onStart : function () {
Aak.addStyle("#test { height: 250px; }");
Aak.addBaitElement('div#test');
}
},
oneadfaucet_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/871
host : ['oneadfaucet.com'],
onStart : function () {
Aak.addStyle("#test { height: 250px; }");
Aak.addBaitElement('div#test');
}
},
jkanime_net : {
host : ['jkanime.net'],
// @@||jkanime.net/assets/js/advertisement2.js
onStart : function () {
Aak.addBaitElement('div#reco');
}
},
_720pmkv_com : {
host : ['720pmkv.com'],
onStart : function () {
Aak.addBaitElement('div#advert');
}
},
paidverts_com : {
host : ['paidverts.com'],
onStart : function () {
Aak.addBaitElement('div.afs_ads');
}
},
italiatv_org : {
host : ['italiatv.org'],
onStart : function () {
Aak.addBaitElement('div#fab13');
}
},
chrissmoove_com : {
host : ['chrissmoove.com'],
onStart : function () {
//Aak.addBaitElement('div#adserver');
}
},
eventhubs_com : {
host : ['eventhubs.com'],
onStart : function () {
Aak.addBaitElement('div#blahyblaci1');
}
},
superanimes_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1295
// source: http://pastebin.com/FDPAKjTQ
host : ['superanimes.com'],
onStart : function () {
Aak.addBaitElement('div#bannerLoja');
}
},
forum_pac_rom_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/243
host : ['forum.pac-rom.com'],
onStart : function () {
Aak.addBaitElement('div.banner_ads');
}
},
litv_tv : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1299
// source: http://pastebin.com/zcddvTuC
host : ['litv.tv'],
onStart : function () {
Aak.addBaitElement('div.player_mask');
}
},
leveldown_fr : {
// issue: https://github.com/reek/anti-adblock-killer/issues/595
host : ['leveldown.fr'],
onStart : function () {
Aak.addBaitElement('div#adblock');
Aak.addBaitElement('div#adblocktest');
}
},
globeslot_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/924
host : ['globeslot.com'],
onStart : function () {
Aak.addBaitElement('div#add');
Aak.addBaitElement('div#add1');
}
},
antennesport_com : {
host : ['antennesport.com', 'serverhd.eu'],
onIdle : function () { // for antennesport
// Remove Pub
Aak.removeElement("#pub .pubclose");
// Redirect to Player
Aak.setElement('#pub .embed iframe', {
src : '/embed/embed.php'
});
}
},
disableAlertbox : {
// issue: https://greasyfork.org/en/forum/discussion/8611
host : ['drivearabia.com', 'putlocker.com', 'doatoolsita.altervista.org',
'sockshare.com', 'free-movie-home.com', 'pc.online143.com', 'kooora.com',
'str3amtv.co.nr', 'str3amtv.altervista.org', 'str3am.altervista.org',
'filecom.net', 'pipocas.tv', 'generatupremium.biz', 'mega-debrid.eu',
'premiumst0re.blogspot.com', 'dl-protect.com', 'newsinlevels.com', 'vipracing.biz',
'businesstoday.in'],
onAlways : function () {
Aak.uw.alert = function () {};
}
},
generatupremium_biz : {
host : ['generatupremium.biz'],
onStart : function () {
// Disable Confirm Box
//Aak.uw.confirm = function (){};
Aak.setCookie('genera', false);
}
},
newstatesman_com : {
host : ['newstatesman.com'],
onStart : function () {
Aak.setCookie('donationPopup', 'hide');
}
},
adswizz_com : {
// by: Skr4tchGr3azyMonkiBallllllZzzz
// issue: https://github.com/reek/anti-adblock-killer/issues/809
host : ['yes.fm'],
onStart : function () {
Aak.addScript(function () {
window.com_adswizz_synchro_initialize = function () {};
});
}
},
derstandard_at : {
// by: Alexander255
// patch: http://pastebin.com/raw.php?i=r7Q4DrfB
// issue: https://github.com/reek/anti-adblock-killer/issues?q=derstandard
host : ['derstandard.at'],
onStart : function () {
// Update cookie
document.cookie = cookie;
}
});
}
},
tek_domains : {
// by: Reek, Alexander255
// issue: https://github.com/reek/anti-adblock-killer/issues/788
// issue: https://github.com/reek/anti-adblock-killer/issues/512
host : ['tek.no', 'gamer.no', 'teknofil.no', 'insidetelecom.no',
'prisguide.no', 'diskusjon.no', 'teknojobb.no', 'akam.no', 'hardware.no',
'amobil.no'],
onIdle : function () {
/*
var ad_frame = document.createElement("iframe");
ad_frame.name = "_frame";
ad_frame.style.display = "none";
document.body.appendChild(ad_frame);
ad_frame.contentWindow.wrappedJSObject.inFIF = true;
*/
// fix 27.11.2015
Aak.createElement({
tag : 'div',
id : 'google_ads_iframe_',
html : '<p></p>',
append : 'body'
});
}
},
planetatvonlinehd_network : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1467
// issue: https://github.com/reek/anti-adblock-killer/issues/159
host : ['planetatvonlinehd.blogspot.', 'planetatvonlinehd.com'],
onStart : function () {
Aak.addStyle('.adsantilok { height: 1px; }');
//Aak.uw.jQAntiAdsBlock = function (){}; // don't work
}
},
beta_speedtest_net : {
// issue: https://github.com/reek/anti-adblock-killer/issues/628
// issue: https://github.com/reek/anti-adblock-killer/issues/562
// issue: https://github.com/reek/anti-adblock-killer/issues/484
// source: http://paste2.org/53ymghX1
host : ['beta.speedtest.net'],
onAlways : function () {
Aak.uw.adsOoklaComReachable = true;
Aak.uw.scriptsLoaded = function () {};
}
},
binbucks_com : {
// by: Alexander255
// issue: https://github.com/reek/anti-adblock-killer/issues/545
host : ['binbucks.com'],
onIdle : function () {
Aak.uw.testJuicyPay = true;
Aak.uw.testSensePay = true;
}
},
whiskyprices_domains : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1284
// source: http://pastebin.com/Epr5tREL
host : ['whiskyprijzen.com', 'whiskyprices.co.uk', 'whiskypreise.com',
'whiskyprix.fr'],
onAlways : function () {
Aak.uw.OA_show = true;
}
},
nicoblog_org : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1184
// source: http://pastebin.com/MNHpLs2V
host : ['nicoblog.org'],
onIdle : function () {
var el = document.querySelector('.src');
el.removeAttribute('class');
}
},
di_se : {
// note: add this rule for chrome user
// issue: https://github.com/reek/anti-adblock-killer/issues/1319
// source: http://pastebin.com/9bDPQzMX
host : ['di.se'],
onIdle : function () {
Aak.removeElement('#header_overlay');
Aak.removeElement('#message_modal');
}
},
megogo_net : {
// issue: PM
// source1: http://pastebin.com/ccHQg3hn
// source2: http://pastebin.com/gk0vEQHN
// note: two adblock check
host : ['megogo.net'],
onStart : function () {
Object.defineProperty(Aak.uw, "adBlock", {
enumerable : true,
writable : false,
value : false
});
Object.defineProperty(Aak.uw, "showAdBlockMessage", {
enumerable : true,
writable : false,
value : function () {}
});
}
},
libertaddigital_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1642
// source: http://pastebin.com/6Fzp0vrE
host : ['libertaddigital.com'],
onStart : function () {
Object.defineProperty(Aak.uw, "ad_already_played", {
enumerable : true,
writable : false,
value : true
});
Object.defineProperty(Aak.uw, "puedeMostrarAds", {
enumerable : true,
writable : false,
value : true
});
}
},
folha_uol_com_br : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1396
// source: f( ( typeof paywall_access == "undefined" || paywall_access !=
true ) && ( typeof folha_ads == "undefined" || folha_ads != true ) ) {
host : ['folha.uol.com.br'],
onStart : function () {
Object.defineProperty(Aak.uw, "paywall_access", {
enumerable : true,
writable : false,
value : true
});
Object.defineProperty(Aak.uw, "folha_ads", {
enumerable : true,
writable : false,
value : true
});
}
},
gamer_com_tw : {
// by: mmis1000
// userscript: https://greasyfork.org/en/scripts/16525
// issue: : https://github.com/reek/anti-adblock-killer/issues/975
host : ['gamer.com.tw'],
onStart : function () {
Object.defineProperty(Aak.uw, 'AntiAd', {
enumerable : true,
writable : false,
value : null
});
}
},
armorgames_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/845
host : ['armorgames.com'],
onStart : function () {
Object.defineProperty(Aak.uw, 'ga_detect', {
enumerable : true,
writable : false,
value : null
});
}
},
mangahost_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/957
// issue: https://github.com/reek/anti-adblock-killer/issues/558
// source: http://pastebin.com/GrpbJENA
host : ['mangahost.com'],
onStart : function () {
Object.defineProperty(Aak.uw, "testDisplay", {
enumerable : true,
writable : false,
value : false
});
}
},
videowood_tv : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1339
// source: http://videowood.tv/build/assets/js/pembed-97a640f625.js
host : ['videowood.tv'],
onStart : function () {
Aak.uw.open = function () {}; // prevent popup
Aak.uw.config = {};
Object.defineProperty(Aak.uw.config, "adb_remind", {
enumerable : true,
writable : false,
value : false
});
}
},
infojobs_com_br : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1339
// source: http://pastebin.com/LPg6093U
// redirect: http://www.infojobs.com.br/nopublicity.aspx
host : ['infojobs.com.br'],
onStart : function () {
Aak.addScript(function () {
var webUI = webUI || {};
webUI.Utils = webUI.Utils || {};
Object.defineProperty(webUI.Utils, "StopAdBlock", {
enumerable : true,
writable : false,
value : function () {}
});
});
}
},
cloudwebcopy_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/714
host : ['cloudwebcopy.com'],
onStart : function () {
var setTimeoutClone = Aak.uw.setTimeout;
Aak.uw.setTimeout = null;
setTimeout(function () {
Aak.uw.setTimeout = setTimeoutClone;
}, 5000);
}
},
narkive_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/569
host : ['narkive.com'],
onAlways : function () {
Aak.uw.adblock_status = function () {
return false;
};
}
},
pregen_net : {
host : ['pregen.net'],
onStart : function () {
// skip page info
Aak.setCookie('pgn', 1);
}
},
phys_org : {
// issue: https://github.com/reek/anti-adblock-killer/issues/768
host : ['phys.org'],
onAlways : function () {
Aak.uw.chkAB = function () {};
}
},
onvasortir_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues?
q=onvasortir.com
host : ['onvasortir.com'],
onAlways : function () {
// +abp rule alt solution
Aak.uw.JeBloque = function () {};
}
},
fullhdzevki_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues?
q=fullhdzevki.com
host : ['fullhdzevki.com'],
onAlways : function () {
// +abp rule alt solution
Aak.uw.check = function () {};
}
},
ville_ideale_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/258
// source: http://pastebin.com/16mnmeMc
host : ['ville-ideale.com'],
onAlways : function () {
// +abp rule alt solution
Aak.uw.execsp = function () {};
}
},
notre_planete_info : {
// issue: https://github.com/reek/anti-adblock-killer/issues/258
// source: http://pastebin.com/qrS6QGGE
host : ['notre-planete.info'],
onAlways : function () {
// +abp rule alt solution
Aak.uw.pubpop = function () {};
}
},
apkmirror_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/378
// issue: https://github.com/reek/anti-adblock-killer/issues/224
// issue: https://github.com/reek/anti-adblock-killer/issues/78
host : ['apkmirror.com'],
onAlways : function () {
Aak.uw.doCheck = function () {};
}
},
mtlblog_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/948
// issue: https://greasyfork.org/forum/discussion/7753
// source: http://pastebin.com/BFrDPM6b
host : ['mtlblog.com'],
onStart : function () {
Object.defineProperty(Aak.uw, 'puabs', {
enumerable : true,
value : function () {}
});
}
},
anizm_com : {
// issue:
host : ['anizm.com'],
onAlways : function () {
Aak.uw.stopAdBlock = {};
}
},
diarioinformacion_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1550
host : ['diarioinformacion.com'],
onStart : function () {
Object.defineProperty(Aak.uw, 'pr_okvalida', {
enumerable : true,
value : true
});
}
},
cnbeta_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1301
// source: http://pastebin.com/vXNCztwx
host : ['cnbeta.com'],
onStart : function () {
Object.defineProperty(Aak.uw, 'JB', {
enumerable : true,
value : function () {}
});
}
},
themarker_haaretz : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1292
// source: http://pastebin.com/m08dkDT4
host : ['themarker.com', 'haaretz.co.il'],
onStart : function () {
Object.defineProperty(Aak.uw, 'AdBlockUtil', {
enumerable : true,
value : {}
});
}
},
pipocas_tv : {
// issue:
host : ['pipocas.tv'],
onStart : function () {
// Also added in disableAlertbox
// No popup
Aak.setCookie('popup_user_login', 'yes');
}
},
_15min_lt : {
// note: regulary update script
// issue: https://github.com/reek/anti-adblock-killer/issues?q=15min.it
// source: http://pastebin.com/YWf3HTqr
// test: http://tinyurl.com/h6c4336
host : ['15min.lt'],
onStart : function () {
Object.defineProperty(Aak.uw, 'ROUTE', {
enumerable : true,
writable : false,
value : '_be_reklamos'
});
}
},
sc2casts_com : {
// by: Giwayume
// issue: https://github.com/reek/anti-adblock-killer/issues/1599
host : ['sc2casts.com'],
onStart : function() {
Aak.addScript(function() {
window._gaq = { push:function() {} };
Object.defineProperty(window, "showdialog", {
value: function() {},
configurable: false,
writable: false
});
Object.defineProperty(window, "showPopup2", {
value: function() {},
configurable: false,
writable: false
});
});
}
},
vgunetwork_com : {
// issue:
host : ['vgunetwork.com'],
onIdle : function () {
Aak.setCookie('stopIt', 1);
var close = Aak.getElement('#some_ad_block_key_close');
if (close) {
close.click();
}
}
},
linkcrypt_ws : {
// issue: https://github.com/reek/anti-adblock-killer/issues/286
// issue: https://github.com/reek/anti-adblock-killer/pull/67
host : ['linkcrypt.ws'],
onIdle : function () {
Aak.setElement('#ad_cont', {
id : '',
style : 'display:block;'
});
Aak.setElement('#container_check', {
style : 'display:none;'
});
}
},
eventosppv_me : {
// issue:
host : ['eventosppv.me'],
onIdle : function () {
Aak.removeElement('#nf37');
}
},
bolor_toli_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/552
host : ['bolor-toli.com'],
onEnd : function () {
var ads = document.getElementsByClassName('banner');
for (var i = 0; i < ads.length; i++) {
var ad = ads[i];
ad.innerHTML = '<br>';
ad.style.height = '1px';
}
}
},
vivo_sx : {
// issue: https://github.com/reek/anti-adblock-killer/issues/280
host : ['vivo.sx'],
onEnd : function () {
var alert = Aak.getElement('#alert-throttle');
if (alert) {
Aak.removeElement(alert);
}
var button = Aak.getElement('button#access');
if (button) {
button.removeAttribute('id');
button.removeAttribute('disabled');
button.innerHTML = 'Continue to video';
}
setTimeout(function () {
var input = Aak.getElement('input[name="throttle"]');
if (input) {
Aak.removeElement(input);
}
}, 1000);
}
},
luxyad_com : { // skip redirect myanimes.li
// issue:
host : ['luxyad.com'],
onIdle : function () {
if ('/Information.php' == location.pathname) {
var href = location.href;
location.href = href.substr(href.indexOf('url=') + 4, href.length);
}
}
},
mrpiracy_domains : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1405
host : ['mrpiracy.xyz', 'mrpiracy.club'],
onBeforeScript : function () {
return [{
contains : 'Desativa o AdBlock para continuar',
external : false,
remove : true
}
];
}
},
dbplanet_net : {
// issue: PM
host : ['dbplanet.net'],
onStart : function () {
Aak.setCookie('newnoMoreAdsNow', 1);
}
},
aidemu_fr : {
// issue:
host : ['aidemu.fr'],
onStart : function () {
Aak.setCookie('adblockPopup', true);
}
},
eami_in : {
// issue:
host : ['eami.in'],
onAlways : function () {
Aak.setCookie('ad_locked', 1);
}
},
bigdownloader_com : {
// issue:
host : ['bigdownloader.com'],
onIdle : function () {
Aak.removeElement('#anti_adblock');
}
},
freeskier_com : {
// by: Gorhill
// issue: https://github.com/reek/anti-adblock-killer/issues/639
// note: also added list rule
host : ['freeskier.com'],
onIdle : function () {
var el = document.getElementById("adb-not-enabled");
if (el !== null) {
el.style.removeProperty("display");
}
el = document.getElementById("videoContainer");
if (el !== null) {
el.style.removeProperty("display");
}
}
},
gametrailers_com : {
// issue:
host : ['gametrailers.com'],
onIdle : function () {
Aak.removeElement('#ad_blocking');
}
},
scan_onepiece_naruto_mx : {
// issue: https://github.com/reek/anti-adblock-killer/issues/582
// issue: https://github.com/reek/anti-adblock-killer/issues/279
host : ['scan-mx.com', 'onepiece-mx.net', 'naruto-mx.net'],
onAlways : function () {
Aak.uw.ad_block_test = function () {};
},
onIdle : function () {
Aak.setElement('#yop', {
id : ''
});
}
},
// Bitcoins
bitcoinker_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/230
host : ['bitcoinker.com'],
onStart : function () {
Aak.uw.claim = function () {
return true;
};
},
onIdle : function () {
Aak.removeElement('#E33FCCcX2fW');
}
},
moondoge_co_in : {
// issue: https://github.com/reek/anti-adblock-killer/issues/384
// issue: https://github.com/reek/anti-adblock-killer/issues/232
// issue: https://github.com/reek/anti-adblock-killer/issues/233
// issue: https://github.com/reek/anti-adblock-killer/issues/236
host : ['moondoge.co.in', 'moonliteco.in', 'moonbit.co.in',
'bitcoinzebra.com'],
onIdle : function () {
Aak.removeElement('#AB, #E442Dv, #eCC5h');
}
},
bitcoiner_net : {
// issue: https://github.com/reek/anti-adblock-killer/issues/349
host : ['bitcoiner.net', 'litecoiner.net'],
onStart : function () {
Aak.addBaitElement('div#tester');
Aak.addBaitElement('div#ad-top');
}
},
bitcoins_nx_tc : {
// issue:
host : ['freebitcoins.nx.tc', 'getbitcoins.nx.tc'],
onAlways : function () {
Aak.uw.ad_block_test = function () {
return false;
};
}
},
freecoins4_me : {
// issue:
host : ['freecoins4.me'],
onAlways : function () {
Aak.uw.check = function () {
return false;
};
}
},
torrent_tv_ru : {
// issue: https://github.com/reek/anti-adblock-killer/issues/537
host : ['torrent-tv.ru'],
onAlways : function () {
Aak.uw.c_Oo_Advert_Shown = true;
}
},
cwtv_com : {
// by: Kalbasit
// pull: https://github.com/reek/anti-adblock-killer/pull/763
// issue: https://github.com/reek/anti-adblock-killer/issues/340
// issue: https://github.com/reek/anti-adblock-killer/issues/762
host : ['cwtv.com'],
onAlways : function () {
Aak.uw.CWTVIsAdBlocking = undefined;
}
},
bild_de : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=bild
host : ['bild.de'],
onBeforeScript : function () {
return [{
contains : 'http://www.bild.de/wa/ll/bild-de/unangemeldet-
42925516.bild.html',
external : false,
replace : ['javascript', 'void(0);'].join(':')
}
];
}
},
inn_co_il : {
// issue: https://github.com/reek/anti-adblock-killer/issues/532
host : ['inn.co.il'],
onStart : function () {
Aak.addScript(function () {
var TRC = {};
TRC.blocker = {
states : {
ABP_DETECTION_DISABLED : -2,
ABP_NOT_DETECTED : 0,
ABP_DETECTED : 1
},
createBlockDetectionDiv : function () {
return document.createElement("div");
},
isBlockDetectedOnDiv : function () {
return 0;
},
isBlockDetectedOnClassNames : function () {
return 0;
},
getBlockedState : function () {
return 0;
}
};
});
}
},
bhaskar_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=bhaskar
// issue: https://github.com/reek/anti-adblock-killer/issues?
q=divyabhaskar.co.in
host : ['bhaskar.com', 'divyabhaskar.co.in'],
onAlways : function () {
Aak.uw.openPopUpForBreakPage = function () {};
Aak.uw.canABP = true;
Aak.uw.canRunAds = true;
Aak.uw.canCheckAds = true;
}
},
turkanime_tv : {
// issue: https://github.com/reek/anti-adblock-killer/issues/446
// issue: https://github.com/reek/anti-adblock-killer/issues/139
// issue: https://greasyfork.org/tr/forum/discussion/4282/
host : ['turkanime.tv'],
onAlways : function () {
Aak.uw.adblockblock = function () {};
Aak.uw.BlokKontrol = {};
}
},
wtfbit_ch : {
// issue: https://github.com/reek/anti-adblock-killer/issues/407
host : ['wtfbit.ch'],
onAlways : function () {
Aak.uw.writeHTMLasJS = function () {};
}
},
aranzulla_it : {
// by: Robotex
// issue: https://github.com/reek/anti-adblock-killer/issues?q=aranzulla.it
// source: http://pastebin.com/yMM6YgxW
host : ['aranzulla.it'],
onStart : function() {
Aak.addStyle('#abt1 + STYLE + div[id][class] {display:none;}');
},
onBeforeScript : function () {
return [{
contains : 'navigator.userAgent||navigator.vendor||window.opera',
external : false,
remove : true
}
];
}
},
ndtv_com : {
// note: canRunAds inverted value
// issue: https://github.com/reek/anti-adblock-killer/issues?q=ndtv.com
// test: http://tinyurl.com/hcfncdv
host : ['ndtv.com'],
onStart : function () {
Aak.setReadOnly('___p__p', 1);
Aak.setReadOnly('getNoTopLatestNews', function () {});
}
},
lesechos_fr : {
// Reek, Giwayume
// issue: https://github.com/reek/anti-adblock-killer/issues?q=lesechos.fr
// source: http://pastebin.com/CMM8WGLj
host : ['lesechos.fr', 'lesechos.com'],
onStart : function() {
Aak.addScript(function() {
Object.defineProperty(window, "checkAdBlock", {
value: function() {},
configurable: false,
writable: false
});
});
},
onAlways : function () {
Aak.uw.call_Ad = 1;
Aak.uw.paywall_adblock_article = function () {};
}
},
bitvisits_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/266
host : ['bitvisits.com'],
onAlways : function () {
Aak.uw.blockAdblockUser = function () {};
}
},
exrapidleech_info : {
// by: Alexander255, Reek, Giwayume
// patch: http://pastebin.com/Q664diQ2
// issue: https://github.com/reek/anti-adblock-killer/issues?q=exrapidleech
// source: http://pastebin.com/5e27syjA
host : ['exrapidleech.info'],
onStart : function () {
// prevent popup
Aak.setCookie('popcashpuCap', 1);
Aak.setCookie('popcashpu', 1);
Aak.setCookie('nopopatall', tomorrow.getTime().toString());
Aak.setCookie('noadvtday', 0);
//Aak.setCookie('bv_DSKskdck_s1d', 'bvDSKskdcks1d');
// hide notice
Aak.addStyle('div.alert.alert-danger.lead {opacity:0;}');
Aak.addScript(function () {
(function () {
// prevent popup
window.open = function () {};
// Disable anti-adblocker
Aak.uw.force_remove_ads = true;
}
},
bokepspot_com : {
host : ['bokepspot.com'],
onStart : function () {
// Hide Disclaimer
Aak.setCookie('hideDialog', 'hide');
},
onIdle : function () {
// Remove Disable AdBlock
Aak.removeElement('#tupiklan');
}
},
picload_com : {
host : ['picload.org'],
onStart : function () {
Aak.setCookie('pl_adblocker', false);
},
onIdle : function () {
Aak.uw.ads_loaded = true;
Aak.uw.imageAds = false;
Aak.removeElement('div[oncontextmenu="return false;"]');
}
},
freezedownload_com : {
host : ['freezedownload.com'],
onIdle : function () {
if (/freezedownload.com\/download\//.test(location.href)) {
Aak.removeElement('body > div[id]');
}
}
},
monnsutogatya_com : {
// issue: PM
// source: http://pastebin.com/1Lw60h6k
host : ['monnsutogatya.com'],
onIdle : function () {
Aak.addStyle("#site-box {display:block;}");
Aak.removeElement('#for-ad-blocker');
}
},
rapid8_com : {
host : ['rapid8.com'],
onIdle : function () {
Aak.removeElement('div.backk + #blcokMzg');
Aak.removeElement('div.backk');
}
},
turkdown_com : {
host : ['turkdown.com'],
onIdle : function () {
// remove facebook box
Aak.removeElement('#duyuru');
}
},
filmovizija_domains : {
host : ['filmovizija.me', 'filmovizija.com', 'filmovizija.in',
'filmovizija.net'],
onIdle : function () {
/*
var d = new Date();
var weekday = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
"Friday", "Saturday"];
var n = weekday[d.getDay()];
Aak.setElement('#' + n, {
html : ''
});
Aak.removeElement('#' + n);
*/
}
},
hackintosh_zone : {
// by: Alexander255
// issue: https://github.com/reek/anti-adblock-killer/issues?
q=hackintosh.zone
// source: http://paste2.org/DnB9Oj4f
host : ['hackintosh.zone'],
onIdle : function () {
/*
// Fake CleanMyMac ad frame size
var ad2 = document.createElement("div");
ad2.id = "nycuhevgqi";
Object.defineProperty(ad2.wrappedJSObject, 'clientHeight', {value: 1});
head.insertBefore(ad2, head.childNodes[0]);
*/
},
onBeforeScript : function () {
return [{
contains : 'disable ADBlock completely',
external : false,
remove : true
}
];
}
},
privateinsta_com : {
host : ['privateinsta.com'],
onIdle : function () {
// + abp rule
Aak.uw.dont_scroll = false;
Aak.removeElement("#overlay_div");
Aak.removeElement("#overlay_main_div");
}
},
risikogesundheit_de : {
host : ['risiko-gesundheit.de'],
onIdle : function () {
setTimeout(function () {
window.stop();
}, 5000);
}
},
oneplaylist_eu_pn : {
host : ['oneplaylist.eu.pn'],
onIdle : function () {
// kill popunder
Aak.uw.makePopunder = false;
}
},
onmeda_de : {
// note: script obfuscated line 1110
// issue: https://greasyfork.org/forum/discussion/8576
// issue: https://github.com/reek/anti-adblock-killer/issues/1067
// source: http://pastebin.com/qf46bN3z
// source: http://pastebin.com/RwHyF0NL
host : ['onmeda.de'],
onAlways : function () {
Aak.uw.$ADP = true;
Aak.uw.sas_callAd = function () {};
Aak.uw.sas_callAds = function () {};
}
},
turbodebrideur_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/599
// issue: https://github.com/reek/anti-adblock-killer/issues/563
// issue: https://github.com/reek/anti-adblock-killer/issues/526
host : ['turbodebrideur.com'],
onIdle : function () {
Aak.createElement({
tag : 'div',
id : 'pubdirecte',
html : '<img src="' + Aak.imgBait + '"/><a href="#"> </a>',
append : 'body'
});
}
},
rockfile_eu : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1256
host : ['rockfile.eu'],
onIdle : function () {
Aak.createElement({
tag : 'iframe',
src : 'about:blank',
style : 'visibility:hidden;',
append : 'body'
});
}
},
linkbucks_antiadblock : {
// issue: https://github.com/reek/anti-adblock-killer/issues/932
// issue: https://github.com/reek/anti-adblock-killer/issues/469
// issue: https://github.com/reek/anti-adblock-killer/issues/277
// v3: http://pastebin.com/0gh8LMGH
// note: no solution, anti-adblock difficult to bypass -->
http://pastebin.com/1NRq7WvZ
host : ['linkbucks.com', 'miniurls.co', 'picbucks.com', 'picturesetc.net',
'placepictures.com', 'poontown.net', 'qqc.co', 'qvvo.com', 'realfiles.net',
'rqq.co', 'seriousdeals.net', 'seriousfiles.com', 'seriousurls.com',
'sexpalace.gs', 'theseblogs.com', 'thesefiles.com', 'theseforums.com',
'thosegalleries.com', 'tinybucks.net', 'tinylinks.co', 'tnabucks.com',
'tubeviral.com', 'uberpicz.com', 'ubervidz.com', 'ubucks.net', 'ugalleries.net',
'ultrafiles.net', 'urlbeat.net', 'urlpulse.net', 'whackyvidz.com', 'youfap.me',
'yyv.co', 'zxxo.net', 'zff.co', 'linkbucksdns.co', 'miniurls.com', 'dyo.gs',
'goneviral.com', 'eafyfsuh.net', 'sasontnwc.net'],
onStart : function () {
// do nothing...
}
},
linkbucks_visitscript : {
// issue:
host : ['referencemega.com', 'fpabd.com', 'crackacc.com'],
onStart : function () {
// Skip visitScript when site use CloudFlare Rocket Script
Aak.setCookie('_lbGatePassed', true);
}
},
link_tl : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=link.tl
// issue: https://greasyfork.org/fr/forum/discussion/8437
// source: http://pastebin.com/1MkCnmL7
host : ['link.tl'],
onStart : function () {
Aak.addStyle('.adblock { height:1px; }');
Aak.uw.adblocker = false;
}
},
wstream_video : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1382
// source: http://pastebin.com/EiARVQXt
host : ['wstream.video'],
onStart : function () {
Aak.addStyle('#adiv { height:4px; }');
}
},
_4shared_com : {
host : ['4shared.com'],
onIdle : function () {
// Hide "Disable AdBlodk" messages
document.querySelector('body').classList.remove("jsBlockDetect");
}
},
pro_domains : {
host : ['pro-zik.ws', 'pro-tect.ws', 'pro-ddl.ws', 'pro-sport.ws'],
onStart : function () {
Aak.setCookie('visitedf', true);
Aak.setCookie('visitedh', true);
}
},
comptoirhardware_com : {
host : ['comptoir-hardware.com'],
onAlways : function () {
Aak.uw.adblock = 'non';
}
},
bakersfield_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/657
// note: also solution to AakList
host : ['bakersfield.com'],
onAlways : function () {
Aak.uw.AD_SLOT_RENDERED = true;
}
},
ekstrabladet_dk : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=ekstrabladet
// source: http://pastebin.com/R029XpCr
host : ['ekstrabladet.dk', 'eb.dk'],
onAlways : function () {
Aak.uw.ADTECH = {};
}
},
pcgames_download_net : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1451
// issue: https://greasyfork.org/forum/discussion/9328
// source: http://pastebin.com/EBVZg3VB
host : ['pcgames-download.net'],
onAlways : function () {
Aak.setCookie('noAdblockNiceMessage', 1);
Aak.uw.mgCanLoad30547 = true;
}
},
lachainemeteo_com : {
// note: also killed by AakList
// issue: https://github.com/reek/anti-adblock-killer/issues/590
// issue: https://github.com/reek/anti-adblock-killer/issues/245
// issue: https://github.com/reek/anti-adblock-killer/issues/215
host : ['lachainemeteo.com'],
onAlways : function () {
Aak.uw.js_loaded = true;
}
},
mac4ever_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/997
// source: http://pastebin.com/RQnCEYK6
host : ['mac4ever.com'],
onAlways : function () {
Aak.uw.coquinou = function () {};
}
},
_5278bbs_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=5278bbs.com
host : ['5278bbs.com'],
onAlways : function () {
Aak.uw.myaabpfun12 = function () {};
}
},
thesimsresource_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues?
q=thesimsresource.com
// source: http://pastebin.com/DE9rbjxY
host : ['thesimsresource.com'],
onAlways : function () {
Aak.uw.gadsize = true;
Aak.uw.iHaveLoadedAds = true;
}
},
yellowbridge_com : {
host : ['yellowbridge.com'],
onAlways : function () {
Aak.uw.finalizePage = function () {
return;
};
}
},
game_debate_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1366
// source: http://pastebin.com/UzsiX0FK
host : ['game-debate.com'],
onAlways : function () {
Aak.uw.ad_block_test = function () {};
}
},
adscendmedia : {
host : ['adscendmedia.com'],
onStart : function () {
// adscendmedia - https://www.adscendmedia.com/
var ref = document.createElement('a').href = document.referrer;
var host = location.host;
var path = location.pathname;
if (Aak.contains(path, '/widget_adblock.php') && !Aak.contains(ref.host,
host)) {
// Auto report
Aak.detected('Adscendmedia', ref.host, host);
// Notification
Aak.notification('You must subscribe to <b>AakList (Anti-Adblock Killer
)</b> <a href="' + Aak.subscribeURL + '" target="_blank">Subscribe</a>');
}
}
},
adworkmedia : {
host : ['adworkmedia.com', 'loxtk.com', 'contentlockingnetworks.com'],
onStart : function () {
// AdWorkMedia - https://www.adworkmedia.com/
var ref = document.createElement('a').href = document.referrer;
var host = location.host;
var path = location.pathname;
if (Aak.contains(path, '/help/removeAB.php') && !Aak.contains(ref.host,
host)) {
// Auto report
Aak.info('Adworkmedia', ref.host, host);
// Notification
Aak.notification('You must subscribe to <b>AakList (Anti-Adblock Killer
)</b> <a href="' + Aak.subscribeURL + '" target="_blank">Subscribe</a>');
}
}
},
//
-----------------------------------------------------------------------------------
---------
// Players
//
-----------------------------------------------------------------------------------
---------
kissanime_com : {
// issue: https://github.com/reek/anti-adblock-killer/issues/451
// issue: https://github.com/reek/anti-adblock-killer/issues/381
// issue: https://github.com/reek/anti-adblock-killer/issues/302
// issue: https://github.com/reek/anti-adblock-killer/issues/257
// issue: https://github.com/reek/anti-adblock-killer/issues/178
// issue: https://github.com/reek/anti-adblock-killer/issues/196
// issue: https://github.com/reek/anti-adblock-killer/issues/56
host : ['kissanime.com', 'kissanime.to'],
onStart : function () {
// Masking ads
Aak.addStyle('iframe[id^="adsIfrme"], .divCloseBut { display:none; }');
// Solution 1
Aak.uw.DoDetect2 = null;
},
onIdle : function () {
// Solution 2
if (Aak.uw.DoDetect2) {
Aak.uw.DoDetect2 = null;
Aak.uw.CheckAdImage = null;
Aak.info('Solution 2');
} //Solution 3
else if (divContentVideo) {
var divDownload =
document.querySelector('#divDownload').cloneNode(true);
setTimeout(function () {
divContentVideo.innerHTML = '';
Aak.uw.DoHideFake();
divContentVideo.appendChild(divDownload);
Aak.removeElement('iframe[id^="adsIfrme"], .divCloseBut');
Aak.info('Solution 3');
}, 5500);
}
}
},
Kisscartoon_me : {
// issue: https://github.com/reek/anti-adblock-killer/issues/488
host : ['kisscartoon.me'],
onAlways : function () {
Aak.uw.xaZlE = function () {};
},
onIdle : function () {
Aak.removeElement('iframe[id^="adsIfrme"]');
}
},
openload_domains : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=openload
host : ['openload.co', 'openload.io', 'openload.tv'],
onStart : function () {
Aak.uw.adblock = false;
Aak.uw.adblock2 = false;
Aak.uw.popAdsLoaded = true;
// hide fake play button used to open popunder
//Aak.addStyle('#videooverlay { display:none; }')
}
},
youwatch_org : {
// issue: https://github.com/reek/anti-adblock-killer/issues?q=youwatch
// test: http://youwatch.org/embed-59p7i3cdkse0-453x320.html
// test: http://youwatch.org/59p7i3cdkse0
host : ['youwatch.org', 'chouhaa.info', 'ahzahg6ohb.com',
'ahzahg6ohb.com'],
onStart : function () {
// skip anti-adblock
Aak.uw.adsShowPopup1 = 1;
},
onIdle : function () {
// renove ads + fake play button
Aak.removeElement('#player_imj, #player_imj + div[id]');
}
},
exashare_com : {
// by: Watilin
// pull: https://github.com/reek/anti-adblock-killer/pull/519
// issue: https://github.com/reek/anti-adblock-killer/issues?q=exashare.com
// test: http://exashare.com/galw2ge2kzsv
host : ['exashare.com', 'chefti.info', 'bojem3a.info', 'ajihezo.info',
'yahmaib3ai.com', 'yahmaib3ai.com'],
onStart : function () {
// skip anti-adblock
Aak.uw.adsShowPopup1 = 1;
},
onIdle : function () {
// renove ads + fake play button
Aak.removeElement('#player_gaz, #player_gaz + div[id]');
}
},
an1me_se : {
// issue: https://github.com/reek/anti-adblock-killer/issues/190
host : ['an1me.se'],
onIdle : function () {
setTimeout(function () {
Aak.uw.isBlockAds2 = false;
}, 10000);
}
},
hqq_tv : { // putlocker.is
host : ['hqq.tv'],
onIdle : function () {
// + abp rule
// http://hqq.tv/player/embed_player.php?vid=R3DGHG3GKXX7&autoplay=no
if ('/player/embed_player.php' == location.pathname) {
document.querySelector('form[id^="form-"]').submit();
}
}
},
// Poland
wp_domains : {
// Note: disable EasyPrivacy
// issue: https://github.com/reek/anti-adblock-killer/issues/956
// issue: https://github.com/reek/anti-adblock-killer/issues/905
// issue: https://github.com/reek/anti-adblock-killer/issues/300
host : ['biztok.pl', 'wp.tv', 'wp.pl', 'sportowefakty.pl', 'kafeteria.tv',
'kafeteria.pl', '.wrzuta.pl', 'pudelek.tv', 'komediowo.pl', 'sfora.pl',
'autokrata.pl', 'sportfan.pl', 'wawalove.pl', 'hotmoney.pl', 'aleseriale.pl',
'babol.pl', 'snobka.pl', 'nocoty.pl', 'money.pl', 'abczdrowie.pl',
'gadzetomania.pl', 'autokult.pl', 'komorkomania.pl'],
onStart : function () {
// prevent popup anti-adblock from abczdrowie.pl
Aak.setCookie('ABCABC', true);
},
onIdle : function () {
Aak.hasElement('.wp-player', function () {
if (embedvideos.length) {
// pudelek.wrzuta.pl: http://tinyurl.com/l8jo5v2
// pudelek.tv: http://tinyurl.com/klyzh6r,
http://tinyurl.com/z7fr89v
// pudelek.tv (triple): http://tinyurl.com/n9b27o2
// film.wp.pl: http://tinyurl.com/q7k5bxp
var embedvideo = embedvideos[i];
var key = /key=(\w+)/.exec(embedvideo.src)[1];
var channel = /login=(\w+)/.exec(embedvideo.src)[1];
var autostart = /autoplay/.test(embedvideo.src);
replacePlayerWrzuta(key, channel, player, autostart);
Aak.log('embed_video.js');
} else if (title && /mid/.test(title.href)) {
// sportowefakty.pl: http://tinyurl.com/l6zabcx
mid = title.href.match(/mid[=,]([0-9]+)/);
Aak.log('title.href');
} else if (parent.id) {
if (parent.dataset.url) {
// wp.tv: http://tinyurl.com/pzde29t
mid = parent.dataset.url.match(/mid[=,]([0-9]+)/);
Aak.log('parent.dataset.url');
} else {
if (parent.previousSibling.innerHTML) {
// wiadomosci.wp.pl: http://tinyurl.com/gqtt9ca
mid = parent.previousSibling.innerHTML.match(/mid[=,]([0-
9]+)/);
Aak.log('script.inline.innerHTML');
} else {
// kafeteria.tv: http://tinyurl.com/nofp58a
// abczdrowie.pl: http://tinyurl.com/hx6s5et
mid = parent.innerHTML.match(/mid[=,]([0-9]+)/);
Aak.log('parent.innerHTML');
}
}
} else if (script && script.tagName == 'SCRIPT') {
// film.wp.pl: http://tinyurl.com/mh9onfw
// pudelek.tv (double): http://tinyurl.com/lefvwtx
mid = script.innerHTML.match(/mid[=,]([0-9]+)/);
Aak.log('script.src.innerHTML');
}
if (mid !== null && mid.length == 2) {
replacePlayerWP(mid[1], player);
}
}
}
});
}
},
moje_filmy_network: {
// issue: https://github.com/reek/anti-adblock-killer/issues/1010
// source: http://pastebin.com/7G2RBnqq
host : ['moje-filmy.tk', 'moje-filmy.live'],
onIdle : function () {
var searchvalue = ['var playerInstance', '});'];
var script = Aak.hasScript(searchvalue[0]);
if (script) {
var source = script.innerHTML;
var str = source.substring(source.lastIndexOf(searchvalue[0]),
source.lastIndexOf(searchvalue[1]) + searchvalue[1].length);
Aak.addScript(str);
}
}
},
tvn_pl : {
// by: Reek, Marek
// solution: http://tinyurl.com/ohbvz4r, http://tinyurl.com/jq8s462
// issue: https://github.com/reek/anti-adblock-killer/issues?q=tvn.pl
// issue: https://github.com/reek/anti-adblock-killer/issues?q=tvn24.pl
// issue: https://github.com/reek/anti-adblock-killer/issues?q=player.pl
// test: http://tinyurl.com/o6d9h66, http://tinyurl.com/z77m4zh
host : ['tvn.pl', 'tvn24.pl', 'player.pl'],
onEnd : function () {
Aak.hasElement('header.detailImage', function (thisElement) {
if (Aak.getCookie('country_code') && Aak.getSession('generateToken')) {
var parts = document.location.href.split(/[.,]/);
var id = parts[parts.length - 2];
var params = {
platform : "Mobile",
terminal : "Android",
format : "json",
v : "2.0",
authKey : "b4bc971840de63d105b3166403aa1bea",
type : "episode",
id : id,
sort : "newest",
m : "getItem",
deviceScreenHeight : 1600,
deviceScreenWidth : 2560
};
var api = 'https://api.tvnplayer.pl/api/?' + Aak.serialize(params);
var proxy = 'http://www.proxy.xmc.pl/index.php?hl=3e5&q=';
// Get videoUrl
Aak.request({
url : Aak.getCookie('country_code') != 'PL' ? proxy +
Aak.encodeURI(api) : api,
headers : {
"User-Agent" : "Mozilla/5.0 (Linux; U; Android 4.2; en-us;
Nexus 10 Build/JVP15I) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0
Safari/534.30"
},
onload : function (result) {
var res = result.responseText;
Aak.log(res);
var o = JSON.parse(res);
var videoUrl =
o.item.videos.main.video_content[Number(Aak.opts.videoHD)].url;
var generateToken = new Function('videoUrl',
Aak.getSession('generateToken'));
var videoUrlWithSeed = generateToken(videoUrl);
var Player = new Aak.player();
Player.videojs(thisElement, {
source : videoUrlWithSeed,
type : 'mp4',
autoplay: false
}, {}, {insert:'inner'});
}
});
} else {
Aak.request({ // get and store generateToken function
url : 'http://pastebin.com/raw/D9qM4DR3',
onload : function (response) {
var res = response.responseText;
Aak.setSession('generateToken', res);
Aak.request({ // get user ip
url : 'http://ip-api.com/json',
onload : function (response) {
var res = response.responseText;
var json = JSON.parse(res);
Aak.setCookie('country_code', json.countryCode);
Aak.refresh();
}
});
}
});
}
});
}
},
ipla_tv : {
// by: Marek
// solution: http://tinyurl.com/ptb4ybg
// issue. https://github.com/reek/anti-adblock-killer/issues/522
// test: http://tinyurl.com/hz7gpxx
host : ['ipla.tv'],
onIdle : function () {
Aak.addStyle('.html5-player-wrapper { display:none; }'); // chrome/opera
var oldPlayer = document.querySelector('.html5-player-wrapper, #vod-
player');
Aak.request({
url : '/VOD/play-in-ipla/' + location.href.match(/\/vod-(\d+)/)[1],
onload : function (result) {
var videoURL;
var res = result.responseText;
var idn = res.match(/ipla:\/\/playvod-1\|([a-z0-9]+)/)[1];
Aak.log(idn);
Aak.request({
url : 'http://getmedia.redefine.pl/vods/get_vod/?
cpid=1&ua=mipla/23&media_id=' + idn,
onload : function (result) {
var res = result.responseText;
var o = JSON.parse(res);
Aak.log(o);
if (o.vod.video_hd) {
videoURL = o.vod.video_hd;
} else if (o.vod.video) {
videoURL = o.vod.video;
} else {
videoURL = o.vod.copies[0].url;
}
var flashvars = {
urlRadio : "http://mp3lg4.tdf-cdn.com/10160/rmc.mp3",
nom : "live",
categorie : "live",
urlSmart : "" // set empty to remove audio ad
};
var params = {
wmode : "transparent"
};
// Solution 2
Aak.uw.isABActivated = function () {
return false;
}; // Kill antiadblock
Aak.uw.refresh_iframe = function () {}; // Stop ads to be loaded
},
onEnd : function () {
// Solution 3
var element = document.querySelector('div[id^="webtv_iframe_"]');
if (element !== null) {
var videoId = element.id.split('_')[2];
setTimeout(function () {
element.innerHTML = '<iframe frameborder="0" width="812" height="500"
src="http://www.dailymotion.com/embed/video/' + videoId + '?
logo=0&autoPlay=1&autoMute=0"></iframe>';
}, 1000);
}
}
},
m6web_fr : {
// issue: https://github.com/reek/anti-adblock-killer/issues/461
// test: http://tinyurl.com/ptn2vrl
host : ['m6web.fr'],
onEnd : function () {
var player = document.querySelector('object[id$="_flash_api"]');
var script = Aak.hasScript('M6.Player.config');
// Replace player
var Player = new Aak.player();
Player.videojs(player.parentNode, {
source : config.sources[1].src,
type : 'mp4',
autoplay : false
});
}
}
},
gamingroom_tv : {
host : ['gamingroom.tv'],
onAlways : function () {
Aak.uw.adblock_detect = function () {};
Aak.uw.GR_adblock_hide_video = function () {};
Aak.uw.adblock_video_msg_start = function () {};
Aak.uw.adblock_video_msg_stop = function () {};
Aak.uw.disable_chat = function () {};
}
},
// Germany
now_domains : {
// issue: https://github.com/reek/anti-adblock-killer/issues/336
// test: http://tinyurl.com/peeobou
// test: http://jsbin.com/vucobejofo
host : ['voxnow.de', 'rtl-now.rtl.de', 'rtl2now.rtl2.de', 'n-tvnow.de',
'superrtlnow.de', 'rtlnitronow.de', 'nowtv.de'],
onIdle : function () {
/*
var Player = new Aak.player();
Player.editing('#videoplayer', {
unsetFlashvars :
'abcheck_enabled,adcall,adclasses,adconfig,admeta,adslog,agof,ama,angebot,as,aspart
s,breakad,connectioncheck,cslog,dev,dimmer,errorlog,feedback,fmsident,gtv,highlight
s,ivw,ivw_play,js,js_event_function,logo,logo_basewidth,logopos,nielsen,ord,osmf,sv
m,tile,videoplaza,videoplaza_base_url,videoplaza_share,videoplaza_tag,vpEnvironment
URL,xl'
});
*/
}
},
rtl_de : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1541
// test: http://tinyurl.com/h7ccvqq
host : ['rtl.de'],
onIdle : function () {
Array.prototype.slice.call(document.querySelectorAll('div[data-
widget="video"]')).map(function (video) {
var cfg = Aak.intoObject(video.dataset.playerLayerCfg);
var file = cfg.videoinfo.mp4url;
Aak.log(video, cfg, file);
// Replace player
var Player = new Aak.player();
Player.videojs(video, {
source : file,
type : 'mp4',
autoplay : false
});
});
}
},
myspass_de : {
// issue: https://github.com/reek/anti-adblock-killer/issues/76
// test: http://tinyurl.com/lto9pyd
host : ['myspass.de'],
onIdle : function () {
var videoid = location.pathname.match(/\/(\d+)\/$/);
// Get video
var parser = new window.DOMParser();
var dom = parser.parseFromString(res, "application/xml");
var file = dom.getElementsByTagName("url_flv").item(0).textContent;
// Remove elements
Aak.removeElement('div.loadingGif');
// Replace player
var Player = new Aak.player();
Player.videojs('#player', {
source : file,
type : 'mp4',
autoplay : false
});
}
});
}
}
},
// Nederland
rtlxl_nl : {
// test: http://tinyurl.com/l2zkv3d
host : ['rtlxl.nl', 'rtlnieuws.nl'],
onEnd : function () {
var Player = new Aak.player();
Player.editing('#_rtlosmf0', {
setFlashvars : {
adblock : false
}
});
}
},
// Norway
vgtv_network : {
// note: skip video ads + anti-adblock
// jwplayer: http://tinyurl.com/zyv79hg
// issue: https://github.com/reek/anti-adblock-killer/issues/1402
// issue: https://github.com/reek/anti-adblock-killer/issues/367
// test: http://tinyurl.com/nwp85t, http://tinyurl.com/nwp85t
host : ['vgtv.no', 'vg.no'],
onEnd : function () {
var oldHash = null;
var videoId = null;
var videoIdRegex = /#\!\/video\/(\d+)\//;
Aak.request({
url : 'http://svp.vg.no/svp/api/v1/vgtv/assets/' + videoId + '?
additional=settings|chapters|cuePoints|externalId|barrels|externalCategoryId|
nextAsset&appName=vgtv-website',
onload : function (result) {
var res = result.responseText;
var obj = JSON.parse(res);
Aak.log(obj);
// replace player
var Player = new Aak.player();
Player.vlc(player, {
source : obj.streamUrls.hls, // m3u8
type : 'hls',
autoplay : false
});
}
}, {}, {
insert : 'inner'
});
*/
}
}, 1e3);
}
},
mtg_radio : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1495
host : ['play.radio1.se', 'play.bandit.se', 'play.lugnafavoriter.com',
'play.rixfm.se'],
onEnd : function () {
Aak.addScript(function () {
setTimeout(function () {
window.player_load_live(window.stream_id);
}, 1000);
});
}
},
dplay_network : {
// issue: https://github.com/reek/anti-adblock-killer/issues/1463
host : ['dplay.com', 'dplay.dk', 'dplay.se'],
onStart : function () {
var date = new Date();
date.setDate(date.getDate() + 365);
var timestamp = date.getTime().toString();
var value = JSON.stringify({
"notificationSubmission" : "submitted",
"reportingExpiry" : timestamp,
"notificationExpiry" : timestamp
});
Aak.setCookie('dsc-adblock', value);
}
},
viasat_tv : {
// note: skip video ads + anti-adblock
// issue: https://github.com/reek/anti-adblock-killer/issues?q=tv3play
/* test: http://www.tv3play.no/programmer/redningsskoyta hds/hls
http://www.tv3play.dk/programmer/linse-og-didde-ekstra hds/hls
http://www.tv3play.se/program/glamourama hds/hls
http://www.tv6play.se/program/99-saker-man-maste-gora-innan-man-
dor hds/hls
http://www.tv8play.se/program/efterlyst--1 hds/hls
http://www.tv10play.se/program/garpens-europa hds/hls
http://tvplay.skaties.lv/parraides/tv3-zinas hds/hls
http://play.tv3.lt/programos/beatos-virtuve rtmp/hls
http://tv3play.tv3.ee/sisu/puhapaev-sepoga rtmp/hls */
host : ['tv3play.no', 'tv3play.dk', 'tv3play.se', 'tv6play.se',
'tv8play.se', 'tv10play.se', 'tvplay.skaties.lv', 'play.tv3.lt', 'tv3play.tv3.ee'],
onIdle : function () {
Aak.hasElement('#video-player', function (thisElement) {
thisElement.id = '';
//var videoId = location.pathname.split('/').pop();
var videoId = thisElement.getAttribute('data-video-id');
Aak.log(thisElement, videoId);
// parse sources
var srcArray = [];
if (obj.streams.high && obj.streams.high !== '') {
srcArray.push({
type : "video/mp4", // mp4
src : obj.streams.high
});
} if (obj.streams.hls && obj.streams.hls !== '') {
srcArray.push({
type : "application/x-mpegURL", // m3u8
src : obj.streams.hls
});
} if (obj.streams.medium && obj.streams.medium !== '') {
var type = obj.streams.medium.indexOf('rtmp') === 0 ?
'rtmp/mp4' : 'application/f4m+xml';
srcArray.push({
type : type,
src : obj.streams.medium
});
}
Aak.log(srcArray, JSON.stringify(srcArray));
/*
dmFyIG8gPSB7CgkJCSAgICAicGxheWxpc3QiIDogW3sKCQkJICAgICAgICAicHJvdmlkZXIiIDogInJ0bXA
iLAoJCQkgICAgICAgICJ1cmwiIDogInBhbmRhMT9lJTNEMTQ2NTA3MDMyNiUyNnN0JTNEUHJ0SFl5dkJ6ZD
laZDdoRF9mUkhUZzExMTEzMCIKCQkJICAgICAgfQoJCQkgICAgXSwKCQkJICAgICJwbHVnaW5zIiA6IHsKC
QkJICAgICAgInJ0bXAiIDogewoJCQkgICAgICAgICJ1cmwiIDogImZsb3dwbGF5ZXIucnRtcC0zLjIuMTEu
c3dmIiwgCgkJCQkJLy8idXJsIjogImh0dHA6Ly9yZWxlYXNlcy5mbG93cGxheWVyLm9yZy9zd2YvZmxvd3B
sYXllci5ydG1wLTMuMi4xMS5zd2YiLAoJCQkgICAgICAgICJuZXRDb25uZWN0aW9uVXJsIiA6ICJydG1wOi
8vMTg1LjgyLjIxNS40NTozNTc5L3ZvZC8iCgkJCSAgICAgIH0sCgkJCSAgICAgICJjb250cm9scyIgOiB7C
gkJCQkgICAgInVybCI6ICJodHRwOi8vcmVsZWFzZXMuZmxvd3BsYXllci5vcmcvc3dmL2Zsb3dwbGF5ZXIu
Y29udHJvbHMtMy4yLjE2LnN3ZiIsIC8vIGFkZGVkIGJlY2F1c2UgbWlzc2luZwoJCQkgICAgICAgICJwbGF
5IiA6IGZhbHNlLAoJCQkgICAgICAgICJzY3J1YmJlciIgOiBmYWxzZQoJCQkgICAgICB9CgkJCSAgICB9LA
oJCQkgICAgInBsYXllcklkIiA6ICJwbGF5ZXIiLAoJCQkgICAgImNsaXAiIDogewoJCQkgICAgICAidXJsI
iA6ICJwYW5kYTE/ZSUzRDE0NjUwNzAzMjYlMjZzdCUzRFBydEhZeXZCemQ5WmQ3aERfZlJIVGcxMTExMzAi
CgkJCSAgICB9CgkJCSAgfQoKCQkJICB2YXIgbmV3VXJsID0gcGFydHMuc2xpY2UoMCwgMykuam9pbignLyc
pICsgJy9mbG93cGxheWVyLTMuMi4xNi5zd2Y/Y29uZmlnPScgKyBlc2NhcGUoSlNPTi5zdHJpbmdpZnkoby
kpOwoJCQkgIC8vdmFyIG5ld1VybCA9ICdodHRwOi8vcmVsZWFzZXMuZmxvd3BsYXllci5vcmcvc3dmL2Zsb
3dwbGF5ZXItMy4yLjE2LnN3Zj9jb25maWc9JyArIGVzY2FwZShKU09OLnN0cmluZ2lmeShvKSk7CgkJCSAg
Y29uc29sZS5sb2cobmV3VXJsKTsKCQkJICB0aGlzRWxlbWVudC5zcmMgPSBuZXdVcmw7
*/
});
} else { // skip anti-adblock
Aak.removeElement('#adsframe');
Aak.getElement('#remove-over').click();
}
}
},
allmyvideos_net : {
// note: obfuscated
// issue: https://github.com/reek/anti-adblock-killer/issues/274
host : ['allmyvideos.net', 'amvtv.net'],
onStart : function () {
// skip fake play button
Aak.setCookie('_favbt33', 1);
}
},
ilive_domains : {
host : ['ilive.to', 'streamlive.to'],
onEnd : function () {
if (/^\/embedplayer.php/i.test(location.pathname)) {
setTimeout(function () {
// Skip timer
Aak.uw.removeOverlayHTML();
}, 1000);
}
}
},
micast_tv : {
host : ['micast.tv'],
onStart : function () {
// prevent popunder
Aak.setCookie('vid_main', true);
Aak.setCookie('vid_sub', true);
// remove overlay
Aak.addScript(function () {
window.onload = function () {
if (window.removeOverlayHTML)
window.removeOverlayHTML();
};
});
}
},
pxstream_tv : {
host : ['pxstream.tv'],
onEnd : function () {
if (/^\/embedrouter.php/.test(location.pathname)) {
setTimeout(function () {
// Skip timer and close ads
Aak.uw.closeAd();
}, 1000);
}
}
},
sawlive_tv : {
host : ['sawlive.tv'],
onIdle : function () {
if (/^\/embed\/watch\//i.test(location.pathname)) {
// Skip timer and close ads
Aak.uw.display = false;
Aak.uw.closeMyAd();
}
}
},
goodcast_co : {
host : ['goodcast.co'],
onIdle : function () {
if (/^\/stream.php/.test(location.pathname)) {
// remove ads allowed by easylist
Aak.uw.$(".advertisement").hide();
Aak.uw.$('.adsky iframe').attr("src", "about:blank");
}
}
},
showsport_tv_com : {
host : ['showsport-tv.com'],
onIdle : function () {
if (/^\/ch.php/.test(location.pathname)) {
// remove ads allowed by easylist
Aak.removeElement('#advertisement, .advertisement');
}
}
},
sharecast_to : {
host : ['sharecast.to'],
onIdle : function () {
if (/^\/embed.php/.test(location.pathname)) {
// Disable popunders
var interval = setInterval(function () {
Aak.setCookie('vid_main', true);
Aak.setCookie('vid_sub', 2);
Aak.setCookie('vid_delay', true);
}, 100);
setTimeout(function () {
clearInterval(interval);
}, 5000);
/*
http://www.animetoon.tv/black-lagoon-episode-1
http://videowing.me/embed?w=718&h=438&video=ongoing/yu-gi-oh_arc-v_-
_53.mp4
http://playbb.me/embed.php?w=718&h=438&vid=at/nw/yu-gi-oh_arc-v_-_53.mp4
http://videozoo.me/embed.php?w=718&h=438&vid=at/nw/yu-gi-oh_arc-v_-
_53.mp4
http://www.easyvideo.me/gogo/?w=718&h=438&file=yu-gi-oh_arc-v_-
_53.mp4&sv=1
http://playpanda.net/embed.php?w=718&h=438&vid=at/nw/yu-gi-oh_arc-v_-
_53.mp4
*/
// canRunAds
// repo: https://github.com/MatthewGross/CanRunAds
// note: use externall script "/js/ads.js" -> var canRunAds = true;
Object.defineProperty(Aak.uw, 'canRunAds', {
enumerable : true,
writable : false,
value : true
});
// canShowAds
// issue: https://github.com/reek/anti-adblock-killer/issues/1197
Object.defineProperty(Aak.uw, 'canShowAds', {
enumerable : true,
writable : false,
value : true
});
/*
window.iHaveLoadedAds = true;
var niceAdsCheck=true;
adblock = false
is_blocker = false;
*/
},
onIdle : function () {
/*
// Adunblock - http://adunblock.com/
if (Aak.getCookie('adblock') == 1) {
Aak.setCookie('adblock', 0);
Aak.setCookie('bar_closed', 1);
}
*/
// Adblock Blocker
// https://wordpress.org/plugins/addblockblocker/
// http://tinyurl.com/nswn6fz
// http://pastebin.com/d65zr37m
/* can cause a bug
var ads = document.getElementsByClassName('afs_ads');
var ad = ads.length && ads[ads.length - 1];
if (ad && ad.innerHTML.length === 0 || ad.clientHeight === 0) {
Aak.addScript(function () {
getElementsByClassNameNative =
HTMLDocument.prototype.getElementsByClassName;
HTMLDocument.prototype.getElementsByClassName = function (className) {
if (className == 'afs_ads') {
console.info(['AntiAdbKiller', location.host, 'AdblockBlocker',
className]);
var uniqid = Date.now();
var bait = document.createElement("div");
bait.innerHTML = '<br>';
bait.className = uniqid;
document.body.appendChild(bait);
return document.getElementsByClassName(uniqid);
}
return getElementsByClassNameNative.apply(this, arguments);
};
});
}
*/
// Adbuddy
if (typeof Aak.uw.closeAdbuddy === 'function') {
Aak.uw.closeAdbuddy();
Aak.detected('Adbuddy');
}
// Antiblock.org v2
// note: detect and store block id
// demo: http://tinyurl.com/nhyhpzk
var styles = document.querySelectorAll('style');
for (var i = 0; i < styles.length; i++) {
var style = styles[i];
var cssRules = style.sheet.cssRules;
for (var j = 0; j < cssRules.length; j++) {
var cssRule = cssRules[j];
var cssText = cssRule.cssText;
var pattern = /^#([a-z0-9]{4,10}) ~ \* \{ display: none; \}/;
if (pattern.test(cssText)) {
var id = pattern.exec(cssText)[1];
if (Aak.hasScript("w.addEventListener('load'," + id + ",false)")) {
Aak.aabs.abo2 = id;
break;
}
}
}
}
// BlockAdBlock
// site: blockadblock.com
// note: random instance name
// source:
https://gist.github.com/Watilin/af75e0a2e82a2efb384bde9c7b41dec8
// issues: https://github.com/reek/anti-adblock-killer/issues?
q=label%3ABlockAdBlock
if (method.bab) { // variant 1
Aak.detected('BlockAdBlock{dom:variant1}');
win[prop] = null;
} else if (Object.keys(method).length === 3 &&
Object.keys(method).map(function (value, index) {
return value;
}).join().length === 32) { // variant 2
Aak.detected('BlockAdBlock{dom:variant2}');
win[prop] = null;
}
}
} catch (e) {
//console.log('error', prop)
}
}
// Anti-Adblockers
var aabs = {
// Plugins WordPress
NoAdBlock : '(/plugins/no-adblock/|/blockBlock/blockBlock.jquery.js)',
BetterStopAdblock : '(/plugins/better-stop-adblock/|bsa-script-
doctype.js|bsa-script-no-doctype.js)',
AdBlockBlocker : '/plugins/wordpress-adblock-blocker/',
AntiBlockBukssaAyman : '/plugins/anti-block/',
BlockAlyzer : '/plugins/blockalyzer-adblock-counter/',
AdBlockingDetector : '/plugins/ad-blocking-detector/',
// Plugins Website
Adworkmedia : '(adworkmedia|loxtk|
contentlockingnetworks).com/gLoader.php',
Adscendmedia : 'adscendmedia.com/gwjs.php',
FuckAdBlock : '(/fuckadblock.js|/blockadblock.js)',
jQueryAdBlock : '/jquery.adblock.js',
jQueryAdblockDetector : '/jquery.adblock-detector.js',
AdBlockAdvertisement : '/advertisement.js',
AdBlockAdvert : '/advert.js',
AdBlockAdvCustom : '/advertisement(.+).js',
AdBlockAdframe : '/adframe.js',
AntiAdBuster : '/anti-ad-buster.js',
RTKAntiAdblock : '/blockcake.js',
AdblockDetector : '/AdblockDetector/handler.min.js',
jQueryAntiAdsBlock : '/jquery.antiadsblock.js',
Adbuddy : '/js/adbuddy.min.js',
AntiADsBlocker : '/aadb/script.js'
};
},
onInsert : function (insertedNode) {
// All Nodes
if (Aak.opts.inserted) {
if (insertedNode.src ||
insertedNode.id ||
insertedNode.className &&
!/firebug/.test(insertedNode.innerHTML)) {
// Node inserted
Aak.log(insertedNode);
}
}
// No-Adblock - http://www.no-adblock.com/
if (insertedNode.id &&
insertedNode.id.length == 4 &&
/^[a-z0-9]{4}$/.test(insertedNode.id) &&
insertedNode.nodeName == 'DIV' &&
insertedNode.firstChild &&
insertedNode.firstChild.id &&
insertedNode.firstChild.id == insertedNode.id &&
Aak.contains(insertedNode.innerHTML, 'no-adblock.com')) {
// Remove
Aak.detected('No-Adblock', false, location.href);
Aak.removeElement(insertedNode);
//Aak.log(insertedNode);
}
// StopAdblock - http://stopadblock.org/downloads/
if (insertedNode.id &&
insertedNode.id.length == 7 &&
/^a[a-z0-9]{6}$/.test(insertedNode.id) &&
insertedNode.nodeName == 'DIV' &&
insertedNode.parentNode &&
insertedNode.parentNode.id &&
insertedNode.parentNode.id == insertedNode.id + '2' &&
Aak.contains(insertedNode.innerHTML, 'stopadblock.org')) {
// Remove
Aak.detected('StopAdBlock', false, location.href);
Aak.removeElement(insertedNode);
//Aak.log(insertedNode);
}
// AntiAdblock (Packer)
var reIframeId = /^(zd|wd)$/;
var reImgId = /^(xd|gd)$/;
var reImgSrc = /\/ads\/banner.jpg/;
var reIframeSrc = /(\/adhandler\/|\/adimages\/|ad.html)/;
// Communs
if (insertedNode.id &&
reImgId.test(insertedNode.id) &&
insertedNode.nodeName == 'IMG' &&
reImgSrc.test(insertedNode.src) ||
insertedNode.id &&
reIframeId.test(insertedNode.id) &&
insertedNode.nodeName == 'IFRAME' &&
reIframeSrc.test(insertedNode.src)) {
// Variant 1
if (insertedNode.id == 'xd') {
Aak.detected('AntiAdblockPackerZdxd', false, location.href);
} // Variant 2
else if (insertedNode.id == 'gd') {
Aak.detected('AntiAdblockPackerWdgd', false, location.href);
}
// Remove
//Aak.log(insertedNode);
Aak.removeElement(insertedNode);
}
// Adunblock - http://adunblock.com/
var reId = /^[a-z]{8}$/;
var reClass = /^[a-z]{8} [a-z]{8}/;
var reBg = /^[a-z]{8}-bg$/;
var reMessage = /Il semblerait que vous utilisiez un bloqueur de
publicit !/;
// Communs
if (typeof Aak.uw.vtfab != 'undefined' &&
typeof Aak.uw.adblock_antib != 'undefined' &&
insertedNode.parentNode &&
insertedNode.parentNode.nodeName == 'BODY' &&
insertedNode.id &&
reId.test(insertedNode.id) &&
insertedNode.nodeName == 'DIV' &&
insertedNode.nextSibling &&
insertedNode.nextSibling.className &&
insertedNode.nextSibling.nodeName == 'DIV') {
// Remove Message
Aak.detected("AdUnBlockPremium");
Aak.removeElement(insertedNode.nextSibling); // overlay
Aak.removeElement(insertedNode); // box
}
// Top bar Message (Free)
// <div id="vixmgrly">
// <div id="mfnhaiyx" class="lkrnvbyt">
else if (insertedNode.nextSibling.id &&
reId.test(insertedNode.nextSibling.id) &&
reMessage.test(insertedNode.innerHTML)) {
// Remove Message
Aak.detected("AdUnBlockFree");
Aak.removeElement(insertedNode);
}
}
// Antiblock - http://antiblock.org/
var reMsgId = /^[a-z0-9]{4,10}$/i;
var reTag1 = /^(div|span|b|i|font|strong|center)$/i;
var reTag2 = /^(a|b|i|s|u|q|p|strong|center)$/i;
var reWords1 = /ad blocker|ad block|ad-block|adblocker|ad-blocker|
adblock|bloqueur|bloqueador|Werbeblocker|adblockert|
آدبلوك بلس|/i;
var reWords2 = /kapat|disable|dsactivez|dsactiver|desactivez|
desactiver|desative|desactivar|desactive|desactiva|deaktiviere|disabilitare|
απενεργοποίηση
;|запрещать|lltsd le|
publicits||verhindert|advert|kapatnz/i;
// Exclude domains
// issue: https://github.com/reek/anti-adblock-killer/issues/1466
// issue: https://github.com/reek/anti-adblock-killer/issues/1263
// issue: https://greasyfork.org/en/forum/discussion/8422/
// issue: https://github.com/reek/anti-adblock-killer/issues/986
// issue: https://github.com/reek/anti-adblock-killer/issues/857
// issue: https://github.com/reek/anti-adblock-killer/issues/617
// issue: https://greasyfork.org/fr/forum/discussion/5426
// issue: https://github.com/reek/anti-adblock-killer/issues/419
// issue: https://github.com/reek/anti-adblock-killer/issues/377
var excludes = ["360.cn", "amazon.", "apple.com", "ask.com", "baidu.com",
"bing.com", "bufferapp.com", "chatango.com", "chromeactions.com", "easyinplay.net",
"ebay.com", "facebook.com", "flattr.com", "flickr.com", "ghacks.net", "google.",
"imdb.com", "imgbox.com", "imgur.com", "instagram.com", "jsbin.com",
"jsfiddle.net", "linkedin.com", "live.com", "mail.ru", "microsoft.com", "msn.com",
"paypal.com", "pinterest.com", "preloaders.net", "qq.com", "reddit.com",
"stackoverflow.com", "tampermonkey.net", "twitter.com", "vimeo.com",
"wikipedia.org", "w3schools.com", "yahoo.", "yandex.ru", "youtu.be", "youtube.com",
"xemvtv.net", "vod.pl", "agar.io", "pandoon.info", "fsf.org", "adblockplus.org",
"plnkr.co", "exacttarget.com", "dolldivine.com", "popmech.ru", "calm.com"];
var host = location.host;
var excluded = false;
excludes.forEach(function (exclude) {
if (new RegExp(exclude).test(host)) {
excluded = true;
if (Aak.opts.logExcluded) {
Aak.warn('Excluded');
}
return false;
}
});
// Include domains
// IsEventupported: http://tinyurl.com/oeez8c7
if (!excluded) {
rule.host.forEach(function (host) {
// Check host
if (new RegExp(host).test(location.host)) {
// Native mode
if (!Aak.useGM && Aak.isTopframe) {
Aak.warn('Run natively.');
}
if (o.detected) {
Aak.detected(o.detected);
}
if (Aak.opts.logInterceptedScripts) {
Aak.log(src, o, thisScript, newScript);
}
}
});
};
Aak.warn('onbeforescript-compatible');
// Stop loading
Aak.addScript('window.stop();'); // chrome/opera
//Aak.addScript('document.open();'); // firefox
// Get content
Aak.request({
url : location.href,
headers : {
"Referer" : document.referrer
},
onload : function (result) {
var html = result.responseText;
var parser = new window.DOMParser();
var doc = parser.parseFromString(html, "text/html");
var scripts = doc.scripts;
// Convert to string
html = doc.documentElement.outerHTML;
// Mutation Observer
// doc: http://tinyurl.com/mxxzee4
// support: http://tinyurl.com/nepn7vy
if (typeof window.MutationObserver != 'undefined' ||
typeof WebKitMutationObserver != 'undefined') {
// Mutation Observer
var MutationObserver1 = window.MutationObserver ||
window.WebKitMutationObserver;
// Mutation Observer
// doc: http://tinyurl.com/mxxzee4
// support: http://tinyurl.com/nepn7vy
if (typeof window.MutationObserver != 'undefined' ||
typeof WebKitMutationObserver != 'undefined') {
// Mutation Observer
var MutationObserver2 = window.MutationObserver ||
window.WebKitMutationObserver;
// Aak Events
Aak.onEvent(window, 'detected', function (e) {
Aak.info(['AntiAdbKiller', Aak.isTopframe ? 'topframe' :
'subframe', location.host, e.detail]);
});
}
});
};
// Apply rules
for (var name in Aak.rules) {
if (Aak.rules.hasOwnProperty(name)) {
handlerEvents(Aak, name);
}
}
}
}
};
Aak.initialize();
})(window);