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

    Disabling an external advertisement on my website


    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.
    Last edited by nitiabalan; 07-13-2007 at 04:59 AM.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    In a place far, far away...
    Thanked 1,043 Times in 1,019 Posts
    I suggest you read the forum rules, http://www.codingforums.com/rules.htm
    Mainly this one
    Quote Originally Posted by codingforums.com
    # 1.4) No illegal requests- Do not post requests that are illegal or break the usage terms of the service in question, such as where to download warez, disable pop up ads on your free host etc.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Sydney, Australia
    Thanked 662 Times in 651 Posts
    If you are paying for the hosting then you should have access to the page source to simply remove the necessary code.

    If the ad is paying for the hosting then you need to change how the hosting is being paid for in order to be able to remove the ad since someone has to pay for the hosting.
    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.


    Posting Permissions

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