Skip to content

Instantly share code, notes, and snippets.

@jfqd
Created September 26, 2017 20:05
Show Gist options
  • Save jfqd/ff166dec7c775e76b821adc692d5060b to your computer and use it in GitHub Desktop.
Save jfqd/ff166dec7c775e76b821adc692d5060b to your computer and use it in GitHub Desktop.
I am not using the Adblock plugin, but spiegel.de shows me this Adblock hint and I cannot remove it. So I use this JavaScript snippet for it.
# Version for Safari 11
javascript:function%20startAdBlockDetectionWithDelay()%20{};$('.ua-detected').hide();$('#wrapper-content').css('opacity',1).css('filter','none').css('pointer-events','auto')
# Version for Safari 10
javascript:function%20startAdBlockDetectionWithDelay()%20{};$('.ua-detected').hide();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment