Jump to content

Download: (EJ33) ad block Blocker


Poison Light

Recommended Posts

  • Replies 89
  • Created
  • Last Reply

one question, i wan to track ad blocking, so i wonder where in your code should i add some analytics calls?
something like events: https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

the JS call is:

_trackEvent(category, action, opt_label, opt_value, opt_noninteraction)

Link to comment

Ok i think add the following things today:



- Hook automatic disabled for Bots


- Options to exclude usergroups.


- Option to show the popup one time in xx minutes


- Option to disable the redirect (So just a nag screen)




Edgar, when you say Hook Automatic Disabled for Bots. Does that mean it automatic Disabled for Guest user too? Because I notice that IPBoard use Bot Group as a Guest. I'm using Bot Group Hook that specify a group for Bot, so I can use use the Exclude Usergroup Exception. But still wondering if this Mod use the same group for Bots and Guest.
Link to comment

If that is true. I think I rather just have the Group Exception there. I can just use Group Bot Hook and add to the exception. This way the hook will not disabled for both Guest and Bot at the same time.

Hope this make sense, thanks.

Link to comment

my users are fast... check this Edgar ;)



+ greasemonkey


+ function removeJS(a)

{

var elmDeleted = document.getElementById("confirmOverlay");

elmDeleted.parentNode.removeChild(elmDeleted);

}


// Wait until the page is fully loaded

window.addEventListener( 'load', function( e ) {


// Remove annoying popups

removeJS('none');


},false);

Link to comment

my users are fast... check this Edgar ;)





+ greasemonkey


+ function removeJS(a)

{

var elmDeleted = document.getElementById("confirmOverlay");

elmDeleted.parentNode.removeChild(elmDeleted);

}


// Wait until the page is fully loaded

window.addEventListener( 'load', function( e ) {


// Remove annoying popups

removeJS('none');


},false);




Lol i see.
I can do some extra checks :P
Anyway i added an extra check for the search engine bots so i will update the hook soon.
Someone suggestions? :P
Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...