Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Disabling an external advertisement on my website

    Hi,

    Is there a way/script which I could possibly use to disable an external advertisement from my web host?

    Below is the code for the advert:
    <script language='javascript' src='https://xxx/hosting_ads/jp01.js'></script>

    I would like to force the advert out or block it from appearing altogether. Is that possible at all? Hope anyone could help me out here.

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,622
    Thanks
    0
    Thanked 645 Times in 635 Posts
    Simply delete that statement from the page source.

    If you don't have access to that part of the source because you are using "free" hosting then the first step is to upgrade to paid hosting and then delete the ad. You can't delete the ad while it is paying for the hosting.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ...need more info

    It would be helpful to have a bit more information in order to assist. For instance, a link to the site would be a great place to start. I've been working on removing the ads from a free geocities site myself just for the fun of it. I've gotten it to work in IE but not FF yet (here).

  • #4
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72° W. 48' 57" , 41° N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    this seems too close to a proscribed activity, and it's an also a double-post. closing the thread
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •