Results 1 to 4 of 4

Thread: Right-click - new page

  1. #1
    Join Date
    Feb 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Right-click - new page

    I am looking for some code which if the right mouse button is clicked, takes the current page to a predetermined fresh page.
    This is required for a victim support website, where visitors may not wish others to see that they are vieweing the site, and by right clicking, the site will be redirected to, say a weather website, and avoid embarssment.
    Any ideas?

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    A good idea, but I don't know about the implementation. A mouse gesture or a less-common button press would be a better choice.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by pauldreed
    I am looking for some code which if the right mouse button is clicked, takes the current page to a predetermined fresh page.
    And hijack a user interface feature? Not a good idea, in my opinion.

    This is required for a victim support website, where visitors may not wish others to see that they are vieweing the site, and by right clicking, the site will be redirected to, say a weather website, and avoid embarssment.
    Then suggest they open another window (or tab) in the background. A separate application would also be fine. The user can then minimise the browser or simply task- or tab-switch.

    Mike

  4. #4
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Another option would be to replace the contents on your own page with a "fake" page. This way they could click the button/press the key to return to the original page.

Bookmarks

Posting Permissions

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