Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Beat Angelfire

Options
  • 11-07-2004 5:50pm
    #1
    Registered Users Posts: 1,648 ✭✭✭


    I'm sure many of you have come across a site hosted on Angelfire recently, and have been annoyed by the "Search bar" popping out of nowhere.

    Does anyone know how to make this go away??

    BTW I am using firefox myself, but this is for the IE users who visit the site.

    Thanks in advance.
    Brendan


Comments

  • Closed Accounts Posts: 12 ColdFusion


    Currently no way to block pop-up in IE unless your users will install one of the various popup blockers. But I make me think that it is not an option. :)

    However, if you will catch the occurence of the popuped window and will post here (or e-mail me) code of the parent window as well as code of the pop-up itself - I will try to help you.

    In short, try to overload JS function which is calling pop-ups. If this will not work, try to get know what is pop-up window name and close it.

    Let me know.


  • Moderators, Politics Moderators Posts: 39,938 Mod ✭✭✭✭Seth Brundle


    I have installed the google toolbar on MSIE.
    Pop-ups, what pop-ups?


  • Closed Accounts Posts: 12 ColdFusion


    Heh... :)
    Google? Google toolbar? MSIE? Installed? What is it? :(


  • Moderators, Politics Moderators Posts: 39,938 Mod ✭✭✭✭Seth Brundle


    Google - a search engine!
    Google Toolbar - a toolbar supplied by the aformentioned search engine crowd!
    MSIE - Part of Bill Gates attempt to take over the world by forcing people to use his internet browser!
    Installed - refers to the insertion of software onto a machine which if using the aformentioned Mr. Gates products, may not function as desired.
    What is it? - what is what?


  • Closed Accounts Posts: 12 ColdFusion


    You are too serious... :)
    Been a guy stuck to the web development for a few years, I heard something about MSIE, Google, Toolbars and other stuff. :)

    I tried to parody average user and questions s/he usually asks. Probably, my parody wasn't very felicitous. :(


  • Advertisement
  • Moderators, Politics Moderators Posts: 39,938 Mod ✭✭✭✭Seth Brundle


    Ìm not too serious - Alright! :mad:


  • Registered Users Posts: 1,648 ✭✭✭bp_me


    Originally posted by ColdFusion
    Currently no way to block pop-up in IE unless your users will install one of the various popup blockers. But I make me think that it is not an option. :)

    However, if you will catch the occurence of the popuped window and will post here (or e-mail me) code of the parent window as well as code of the pop-up itself - I will try to help you.

    In short, try to overload JS function which is calling pop-ups. If this will not work, try to get know what is pop-up window name and close it.

    Let me know.

    Its not a pop up that I'm trying to get rid of. Its the search bar(pane) automatically opening when the page loads I'm trying to stop.

    You can see an example at http://www.angelfire.com/tx5/watcomm

    Thanks
    Brendan


  • Registered Users Posts: 1,648 ✭✭✭bp_me


    Below is the code I have captured from the page on Angelfire.


    <html>
    <head><meta http-equiv="Refresh" content="0; url=http://go.to/watcomm"&gt;
    </head>
    <body>
    <!-- ************************************************************* -->
    <!-- * START ANGELFIRE AD CODE - PLEASE REMOVE WHEN EDITING PAGE * -->
    <!-- ************************************************************* -->

    <!-- revision: popup - $Change: 70692 $ -->

    <script language="JavaScript" src="/sys/common_scripts.js"></script>
    <script language="JavaScript">
    <!--
    // Cache-busting LUBID bug.
    var ran = Math.round(Math.random() * 899999) + 100000;
    var lubid_string = "<img src=\"http://hb.lycos.com/header?VID=6105&LHIG=1&ord=&quot; + ran + "\" height=\"1\" width=\"1\">";
    document.write(lubid_string);
    //-->
    </script>

    <noscript><img src="http://hb.lycos.com/header?VID=6105&LHIG=1&quot; height="1" width="1"></noscript>

    <!-- START: Catman header -->

    <script>
    var cm_role = "live"
    var cm_host = "angelfire.lycos.com"
    var cm_taxid = "/memberembedded"
    </script>
    <script src="http://scripts.lycos.com/catman/init.js"></script&gt;
    <script language="JavaScript1.1">
    var objAdMgr = new AdManager();
    objAdMgr.setForcedParam("keyword", "superstar3900");

    var strProdSetName = objAdMgr.chooseProductSet(); objAdMgr.renderHeader();
    </script>

    <!-- END: Catman header -->

    <script language="JavaScript">
    <!--

    function angelfireShowPopup() {
    var categoryString = "(none)";
    var searchStringLong = "superstar3900";
    var bName=navigator.appName;
    var bVer=parseInt(navigator.appVersion);
    var now = new Date();
    var popupURL = "/sys/popup_source.shtml";
    if ((categoryString != "(none)") && (searchStringLong != "(none)")) {
    popupURL = popupURL + "?Category=" + categoryString + "&search_string=" + searchStringLong;
    } else if (categoryString != "(none)") {
    popupURL = popupURL + "?Category=" + categoryString;
    } else if (searchStringLong != "(none)") {
    popupURL = popupURL + "?search_string=" + searchStringLong;
    }
    var popupName = "AngelfirePopup";

    if (bName=="Netscape" && bVer<=3) {
    var popupWin = window.open("", popupName, 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=331,height=455,left=200,top=310');
    } else {
    var popupWin = window.open("", popupName, 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=316,height=435,left=200,top=310');
    }
    if (popupWin) {
    popupWin.blur();
    popupWin.location = popupURL;
    }
    }

    function changeOpenFunction() {
    var original_window_open = window.open;
    function new_open_function(url, name, features, replace) {
    if (name != "AngelfirePopup") {
    return original_window_open(url, name, features, replace);
    }
    }
    window.open = new_open_function;
    }


    angelfireShowPopup();
    var bName = navigator.appName;
    if(bName != "Netscape") {
    changeOpenFunction();
    }


    launchSidebar('sidebar.angelfire.com', 'superstar3900');

    window.onload = function () {
    setKeywordCookie('superstar3900');
    // buildExitHandler();
    }

    -->
    </script>
    <noscript>
    <img src="/doc/images/track/ot_nosidepane.gif?rand=197552" alt="dot" width="150" height="1">
    </noscript>

    <script language="JavaScript">
    <!--
    if(!displayTopAd()) {
    var adImg=d.createElement('IMG'); adImg.src="/doc/images/track/ot_smallframe.gif?w="+pageWidth+"&h="+pageHeight+"rand=197552";
    document.write("<!" + "--");
    }
    else {
    var adImg=d.createElement('IMG'); adImg.src="/doc/images/track/ot_adserved.gif?w="+pageWidth+"&h="+pageHeight+"rand=197552";
    }
    //-->
    </script>
    <noscript>
    <img src="/doc/images/track/ot_noscript.gif?rand=197552" alt="dot" width="150" height="1">
    </noscript>

    <div align="center">
    <script>
    if (objAdMgr.isSlotAvailable("leaderboard")) {
    objAdMgr.renderSlot("leaderboard")
    }
    </script>
    <noscript>
    <a href="http://network.realmedia.com/RealMedia/ads/click_nx.ads/lycosangelfire/ros/728x90/wp/ss/a/197552@Top1?x"><img border="0" src="http://network.realmedia.com/RealMedia/ads/adstream_nx.ads/lycosangelfire/ros/728x90/wp/ss/a/197552@Top1"></a&gt;
    </noscript>

    <br />
    </div>

    <script language="JavaScript">
    <!--
    if(!displayTopAd()) document.write("-" + "->");
    //-->

    </script>
    <!-- START: Catman Footer -->
    <script language="JavaScript1.1">
    objAdMgr.renderFooter();
    </script>

    <!-- END: Catman Footer -->

    <!-- revision: ubiquitous - $Change: 70818 $ -->

    <!-- *********************************************************** -->
    <!-- * END ANGELFIRE AD CODE - PLEASE REMOVE WHEN EDITING PAGE * -->
    <!-- *********************************************************** -->

    <h1 align = center>You should be redirected to our new site within 10 seconds. If you are not, please <a href="http://go.to/watcomm">click here</a>.</h1>


    </body>
    </html>


  • Closed Accounts Posts: 12 ColdFusion


    for now add
    <script>
    if (popupWin)
    popupWin.close();
    </script>
    right above your <h1>
    it should be placed after the code automatically added by hosting company.

    I'm still working on something with this script. Here should be more elegant solution. ;)


  • Registered Users Posts: 1,648 ✭✭✭bp_me


    Cheers. I appreciate that.


  • Advertisement
  • Closed Accounts Posts: 12 ColdFusion


    Can you tell me about slide bar? I tried your URL, and I didn't see it. Or is it something my browser specific bacuase my browser flipped a few times and i saw your web site with a pop-up? I didn't any slidebars. I see code for slide bar, but it should not appear after redirect.


  • Registered Users Posts: 1,648 ✭✭✭bp_me


    If you visit the link in Internet Explorer, the search bar(which appears when you click the search button along the top) will pop out, and stay popped out after the page redirects.

    Thanks
    Brendan


  • Registered Users Posts: 1,268 ✭✭✭hostyle


    Originally posted by bp_me
    I'm sure many of you have come across a site hosted on Angelfire recently, and have been annoyed by the "Search bar" popping out of nowhere.

    Does anyone know how to make this go away??

    BTW I am using firefox myself, but this is for the IE users who visit the site.

    Thanks in advance.
    Brendan

    Does not removing this functionality not break your free hosting agreement?


  • Registered Users Posts: 1,648 ✭✭✭bp_me


    Originally posted by hostyle
    Does not removing this functionality not break your free hosting agreement?

    Im not removing this functionality. I'm merely talking about hiding it after the page is redirected. Subtle isn't it.


Advertisement