1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Adblock Script

Discussion in 'BlackHat Lounge' started by regen, Dec 18, 2014.

  1. regen

    regen Junior Member

    Joined:
    Jul 29, 2014
    Messages:
    120
    Likes Received:
    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.
     
  2. Chris22

    Chris22 Regular Member

    Joined:
    Sep 29, 2010
    Messages:
    400
    Likes Received:
    1,061
    Adblock Plus....
     
  3. regen

    regen Junior Member

    Joined:
    Jul 29, 2014
    Messages:
    120
    Likes Received:
    16
    To put on your website not your browser
     
  4. sirgold

    sirgold Supreme Member

    Joined:
    Jun 25, 2010
    Messages:
    1,260
    Likes Received:
    646
    Occupation:
    Busy proving the Pareto principle right
    Location:
    A hot one
    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...
     
  5. Apricot

    Apricot Administrator Staff Member Moderator

    Joined:
    Mar 26, 2013
    Messages:
    12,821
    Likes Received:
    8,252
    Gender:
    Female
    Occupation:
    BHW Admin
    Location:
    Station 2E
    Home Page:
    I use µBlock. You can block specific elements if need.
     
  6. Hawkster

    Hawkster Jr. VIP Jr. VIP

    Joined:
    Jun 22, 2013
    Messages:
    3,507
    Likes Received:
    3,721
    Gender:
    Male
    Occupation:
    Listen to everyone - Follow no-one
    Location:
    UK
    Home Page:
    So what your saying is, you have a streaming site and want to block the ads that appear over the embedded video?
     
  7. Des_cartes

    Des_cartes Junior Member

    Joined:
    Jan 19, 2012
    Messages:
    160
    Likes Received:
    64
    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.
     
  8. netcelal

    netcelal Senior Member

    Joined:
    Jul 12, 2009
    Messages:
    953
    Likes Received:
    376
    Location:
    7/24 Internet
    Adblock Plus should be good
     
  9. regen

    regen Junior Member

    Joined:
    Jul 29, 2014
    Messages:
    120
    Likes Received:
    16
    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.
     
  10. K.H.R

    K.H.R Jr. VIP Jr. VIP

    Joined:
    Dec 9, 2013
    Messages:
    3,230
    Likes Received:
    1,025
    Gender:
    Male
    Location:
    BHW
    I am also using this. Its Good.