|
-
Feb 15th, 2002, 03:14 AM
#1
Thread Starter
Hyperactive Member
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
-
Feb 15th, 2002, 08:40 AM
#2
Member
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
-
Feb 15th, 2002, 03:20 PM
#3
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.
-
Feb 15th, 2002, 04:13 PM
#4
Thread Starter
Hyperactive Member
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
-
Feb 15th, 2002, 04:22 PM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|