SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2009
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trigger F11 using javascript

    i am working on a php / mysql based application.

    I am opening a webpage using window.open and as soon as the page opens , i want to trigger F11 any how to make the web page as full screen.

    Any one can help??

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    This can't be done as JavaScript can't access browser features like that. It would probably be a security risk too. Besides, it's the sort of thing you should leave to the user to decide.

  3. #3
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    I agree that it could have severe implications such as a browser forcing applications to load and commands to run by triggering keyboard shortcuts. More importantly it would be very annoying to force a fullscreen browser without asking the user as most people would be frightened at the thought of loosing all of their menu's, the taskbar and everything else (being unable to close windows properly), it's a very bad idea, browser hijacking is a capital sin of web design.


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
  •