sitexw/FuckAdBlock

Not working in Internet Explorer 11 in production mode (v3)

Daijobou opened this issue · 0 comments

I have testest FuckAdBlock version 3 in production case. Version 3 working in Chrome and Firefox. (version 4 not working in firefox with adblockplus, more not tested). Internet Explorer 11 working only in development mode. I use your original source.

In development mode I get this in IE11:

[FuckAdBlock][setOption] The option "debug" he was assigned to "true"
[FuckAdBlock][on] A type of event "detected" was added
[FuckAdBlock][on] A type of event "notDetected" was added
[FuckAdBlock][onload->eventCallback] A check loading is launched
[FuckAdBlock][_creatBait] Bait has been created
[FuckAdBlock][check] An audit was requested with a loop
[FuckAdBlock][check] A check is in progress ...
[FuckAdBlock][_checkBait] A check (1/5 ~1ms) was conducted and detection is negative
[FuckAdBlock][_checkBait] A check (2/5 ~51ms) was conducted and detection is negative
[FuckAdBlock][_checkBait] A check (3/5 ~101ms) was conducted and detection is negative
[FuckAdBlock][_checkBait] A check (4/5 ~151ms) was conducted and detection is negative
[FuckAdBlock][_checkBait] A check (5/5 ~201ms) was conducted and detection is negative
[FuckAdBlock][_stopLoop] A loop has been stopped
[FuckAdBlock][_destroyBait] Bait has been removed
[FuckAdBlock][emitEvent] An event with a negative detection was called
[FuckAdBlock][emitEvent] Call function 1/1
[FuckAdBlock][clearEvent] The event list has been cleared

Now I set in your html a advertise-code directly after body-tag. I my case this line:

<script type="text/javascript">adscale_slot_id="*****";</script><script type="text/javascript" src="http://js.adscale.de/getads.js"></script>

the result is only this:

[FuckAdBlock][setOption] The option "debug" he was assigned to "true"
[FuckAdBlock][on] A type of event "detected" was added
[FuckAdBlock][on] A type of event "notDetected" was added

Its stop working. :(

EDIT: I refreshed the side many times (in IE11) and found out, that its for one advertise not working, for few another avertise its working fine. The reason:

window.addEventListener('load', function() { console.log("All resources finished loading!"); }, false);

its not called. The most cases its not working, is googleads-banner.

EDIT2: I think there are maybe advertise iframes that never ending loading? The problem have nothing todo with this plugin-code. I can shrink the problem to

window.addEventListener('load', function() {console.log('loaded');}, false);

this console.log only show very rare. For most (90%) this log is not loaded. So maybe add a timer, as fallback?