Results 1 to 5 of 5

Thread: Disable add to favorites on popup menu in a popup window??

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343

    Disable add to favorites on popup menu in a popup window??

    I want to disable the add to favorites command on the popup menu on my popupwindow so that the user cannot enter my site in a wrong way by adding the popup window adress to the favorites.

    Can this be done or??

    Perhaps disable the popmenu completly.

    /Smirre
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  2. #2
    Member Vincent Puglia's Avatar
    Join Date
    Feb 2002
    Location
    where the World once stood
    Posts
    36
    afaik: no can do. About the best you can do is to use something like:

    if(document.referrer != 'somepage.html') location.href='somepage.html';

    Vinny

  3. #3
    scoutt
    Guest
    actually can you add a popup window to favorites in the first place? if you don't have the location or address bar is it possible?

    I would think that the browser would take the real url of the site and add that, but if you are in a popup it wouldn't find a real url.

    hmmmmm just a minute let me check.

    if the popup window doesn't have a tool bar or buttons then they can't add it to favorites, because you can't click on the favorites button, but after careful study if you are in a popup window and hit ctrl-D it will add it to favorites.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343
    I can right click in the popup window and the add favorites command is active. I want to disable this function.....

    /Smirre
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  5. #5
    scoutt
    Guest
    well the only thing you can do on that one is to have a right click block, but like I said you can ctrl-D combo and add to favs.

    so the only solution is the right click block other than that you can not change anything on that menu.

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