![]() |
Fuck firefox adblock ( CODE )
Code:
<style> you may replace the nastydollars iframe with any iframe ad you currently use or image just make sure to include onload="untrigger();" p.s. trigger is set at 5 seconds ( giving time for ad to load for legit users ) you could edit it for shorter or longer depending on site |
|
I love you smokey. Will put this in later today. Thank you!!!
|
fucking excellent haha
|
I usually set a cookie using a banner image and than check if the cookie was set.
|
Smokey ftw...
|
Excellent. I posted months ago asking about adblock software and how to get round it. This is perfect.
Thanks for sharing. |
[pulls out a gun] Smokey, my friend, you are entering a world of pain.
|
.......... nice ;)
|
Without looking at the code too closely, what keeps the user from blocking the nastydollars ad?
You cannot obfuscate the url. All a person needs to do is ad the url to the blocklist. No more geo ads from nastydollars. Doesn't matter when the ad is shown. You cannot stop a person from blocking an ad once they see it. Just like you cannot stop them from downloading an image. |
Quote:
|
If i get right, this codes detect if ad blocker is active and then he get msg to disable ad blocker if he want to see page?
|
Smokey, would you not have to un-hide the overlay too? Maybe I am wrong, am not that strong with scripted dhtml.
Also, I would add a destruction/hiding of the overlay div in the untrigger() function. just in case loading the iframe for some reason takes longer than 5 seconds. This way the overlay gets removed if the iframe loads late afterall... |
We love you, Smokey...
|
Quote:
|
Smokey, could you contact me? Want to discuss something with you.
|
Great way to kill traffic and make sure users close the window.
|
Quote:
The code shows the overlay after 5 seconds IF the iframe hasn't loaded, by default the overlay is hidden. Last night i built a dif variation , i'll post once its cleaned up , same basic idea but the user has an option to disable the overlay " proceed without disabling adblock" this will make the overlay go away and trigger a popup a the same time , essentially , if the user can't see ads we ban them from page, but they have an option to continue viewing page after recieving a popup ( in lieu of the ads ) |
Quote:
|
Quote:
|
Quote:
|
Why wait for a visitor to disable adblock? You're asking them to do something which they probably won't do, they installed adblocker for a reason. You could just as well immediately redirect them to your sponsor.
Still does nothing for browsers with javascript disabled though. |
Quote:
Q) Why would someone disable the adblock ? A) They dont get to view the site otherwise. browsers with javascript disabled are such a minority they aren't worth bothering over, they likely wouldnt be able to purchase a membership or buy anything anyways if gfy added this to their code i bet 99% of gfy users with adblock would whitelist gfy /disable adblock |
Quote:
I think you're on the right track with this, but, I would dump the choice "allow ads ..." and have banner DIVs appear when ads are blocked. I also would make it PHP (or ASP) based instead of javascript. :2 cents: |
What if they add a new function to their plugin, searching for the piece of code you just posted and clicking the ad it wants. Will it allow a user to go on browsing unbothered?
|
Quote:
The idea behind the script is to detect what happens after the page is loaded so php and asp won't work as they occur before the page is loaded |
All times are GMT -7. The time now is 07:44 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123