Adblock Script

regen

Junior Member
Joined
Jul 29, 2014
Messages
120
Reaction score
16
Does anyone know if there is a script that will basically block any ads you have on your website.
There are many embedded streams out i was wondering if there is a way to have a script a adblocker that you can implement on your website.
 
To put on your website not your browser
 
Your question is not clear. If you wanna do it client side adblock and/on modifying your hosts file redirecting the advertising hosts to 127.0.0.1 will be enough to block most of the annoyances. For extra peace of mind set the plugin section of your browser as "click to play" and you should be good to go even with most of those obnoxious streaming sites...

Unless you're hosting your own website where editing your /etc/hosts file in a similar fashion will get the job done, it's really hard to understand what you're trying to accomplish here...
 
So what your saying is, you have a streaming site and want to block the ads that appear over the embedded video?
 
I guess he want to block the ads of a video stream he embeded in his website.
If this is what you want to do you can't do that since it will be embeded with an iframe and you can't modify the content within an iframe that is not hosted on the same domain.
 
So what your saying is, you have a streaming site and want to block the ads that appear over the embedded video?

Yes sir that is correctly.Since adblocker can block ads within a browser i was wondering if this would be possible to do for a website also.
A script that will just block any advertisement on every webpage.
 
Back
Top