Results 1 to 4 of 4

Thread: disable java alert(href) vb6?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2011
    Posts
    27

    Question disable java alert(href) vb6?

    hi, everyone.!
    is there any way to disable <script> in web page.
    i mean when i open the web page it shows a message "Error goto home"
    and redirect me to home page.
    is there any way to disable this script when web page is loading and shows me the html document.

    Code:
    <script>
    alert("Error goto home");
    location.href="index.php";
    </script>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" 
    lang="en">
    <head profile="http://****.org/xfn/11">
            <meta http-equiv="Content-Type" content="text/html; 
    charset=UTF-8">
            <title>*******</title>
    <script type="text/javascript" src="js/jquery.validate.pack.js"></script>
        </head>
        <body class="home blog">
        <div class="container">
          <!-- HEADER -->
    ......
    ......
    .......
    </body></html>
    how to disable this script in web page using vb6.
    Code:
    <script>
    alert("Error goto home");
    location.href="index.php";
    </script>

    thanks in advance.

  2. #2
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: disable java alert(href) vb6?

    JavaScript is not Java, and they aren't even related to each other.

    It looks like the site has categorized you as an "unwelcome bot" and is injecting anti-scraping script. Even suppressing script would not help you here, the page uses a jquery script so it has to stay enabled to work.

    http://blockscraping.com/assassin.html

    http://www.distil.it/

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2011
    Posts
    27

    Re: disable java alert(href) vb6?

    anyone have any other suggestion.?

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jan 2011
    Posts
    27

    Re: disable java alert(href) vb6?

    i am searching and found a lot of results, and one of them worked for me.
    here is the mozilla plugin great work for me.

    http://noscript.net/

    https://addons.mozilla.org/en-US/fir...script.ownsite

    but how can i do this with vb6 on ie.
    anyone can help me out?
    plz..... thankx in advance.

Posting Permissions

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



Click Here to Expand Forum to Full Width