OK. I've managed to block the ads locally on my machine. Unfortunately, I'm very new to UBO so I'll need to figure out how make injections...
I have no idea what how those defuser scripts work...
NSFW avgle.com
Here's a quick TamperMonkey script:
Also, add these to your filters
Code: Select all
// ==UserScript==
// @name Avgle
// @version 0.1
// @author mun
// @include http://*.avgle.com/*
// @include https://*.avgle.com/*
// @include https://avgle.com/*
// @grant none
// ==/UserScript==
(function() {
var f = function(a, b, c) {
return true;
};
if ( window.hasOwnProperty('checkElem') ) {
window.checkElem = f;
} else {
Object.defineProperty(window, 'checkElem', f);
}
if ( window.hasOwnProperty('checkThings') ) {
window.checkThings = f;
} else {
Object.defineProperty(window, 'checkThings', f);
}
})();
Code: Select all
@@||avgle.com/templates/frontend/videojs-hotkeys.min.js
@@||avgle.com/templates/frontend/videojs-related-carousel.js
Here's a better Tampermonkey script. Some iframes may be visible, however.
TM script:
Filters (UBO):
.gif$image,domain=avgle.com,badfilter
TM script:
Code: Select all
// ==UserScript==
// @name Avgle
// @version 0.1
// @author mun
// @include *://*.avgle.com/*
// @include *://avgle.com/*
// @grant none
// ==/UserScript==
function repeat(func, times) {
func();
--times;
repeat(func, times);
}
repeat(function() {
var f = function() {
var gif = document.querySelector('img[src=\"https://isafe.pro/img/b_a.gif\"]');
gif.addEventListener('click', function(e) { e.preventDefault(); });
gif.style.height = "31px";
var hdns = document.querySelectorAll('[hidden]');
[].forEach.call(hdns, function(e) {
e.hidden = false;
});
var ifrms = document.querySelectorAll('iframe');
[].forEach.call(ifrms, function(ifrm) {
ifrm.style.display = 'inline';
});
if (document.querySelector('[allowtransparency=\"true\"]') == null) {
var ifrm = document.createElement('iframe');
ifrm.setAttribute('allowtransparency', 'true');
ifrm.height = 250;
ifrm.style.border = '0';
ifrm.style.position = 'relative';
document.querySelectorAll('.container')[2].append(ifrm);
}
};
setInterval(f, 50);
}(), 50);
Filters (UBO):
.gif$image,domain=avgle.com,badfilter
I agree that the admin is definitely watching. They're patching the site but broke it.
Change
to
Change
`var gif = document.querySelector('img[src=\"https://isafe.pro/img/b_a.gif\"]');`
to
`var gif = document.querySelector('img[src^=\"https://isafe.pro/img/"]');`
The script is on Greasy Fork now: https://greasyfork.org/en/scripts/37810 ... ti-adblock
-
- Site Member
- Posts: 16
- Joined: Wed Nov 02, 2016 5:09 am
I like your script title
-
- New Member
- Posts: 2
- Joined: Mon Jan 22, 2018 10:03 pm
Damn did we give up? I know it must be frustrating to find the perfect script to finally get it to work again... ah well if someone finds something just private message me Thanks.
https://github.com/mun3/F-ckAvgleAntiAdblockgoofyoppai wrote: ↑Mon Jan 29, 2018 4:13 am Damn did we give up? I know it must be frustrating to find the perfect script to finally get it to work again... ah well if someone finds something just private message me Thanks.
failure now, somebody can help again?
Announced the avgle development team
https://bugs.chromium.org/p/chromium/is ... ?id=912403
https://bugs.chromium.org/p/chromium/is ... =82362#c90
Please stop your invasive ads, otherwise the chrome development team will try your site more strongly.
You can place the ad on the edge of the video player, but don't pop it up or place it on top of the player.
https://bugs.chromium.org/p/chromium/is ... ?id=912403
https://bugs.chromium.org/p/chromium/is ... =82362#c90
Please stop your invasive ads, otherwise the chrome development team will try your site more strongly.
You can place the ad on the edge of the video player, but don't pop it up or place it on top of the player.