Mozilla

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Close browser from inside HTML-context (using a specific firefox-profile)?

    15 answers - 962 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hello,
    for a project i have configured firefox in a kind of kiosk application
    (using win32 here).
    It's evoked in fullscreen mode right form the commandline (using
    autohide extension).
    Now, is there a way to evoke a shutdown of my firefox in fullscreenmode
    from something inside the Gecko Rendering Engine?
    I fact I do need a way to close my "application" which is running in an
    fullscreen firefox-session from inside this fullscreen html-rendering
    engine-context.
    Is there any chance to edit the profile in such a way that javascript
    (on this spefic profile) is allowed to close the whole application by
    "self.close()"
    is there a way to evoke "File->quit" from inside HTML? (again in a
    specific profile, i do know that firefox doesn't allow that normally)
    Thanks in advance,
    andreas
    mozilla-jseng mailing list
    mozilla-jseng (AT) mozilla (DOT) org
  • No.1 | | 347 bytes | |

    andreasb (AT) myway (DOT) com wrote:
    I fact I do need a way to close my "application" which is running in an

    How about a text that says something along the lines of, "Press Ctrl+W"
    or "To finish, use Alt+F4" or something like that?

    ~d

    mozilla-general mailing list
    mozilla-general (AT) mozilla (DOT) org
  • No.2 | | 343 bytes | |

    andreasb (AT) myway (DOT) com wrote:
    I fact I do need a way to close my "application" which is running in an

    How about a text that says something along the lines of, "Press Ctrl+W"
    or "To finish, use Alt+F4" or something like that?

    ~d

    mozilla-win32 mailing list
    mozilla-win32 (AT) mozilla (DOT) org
  • No.3 | | 343 bytes | |

    andreasb (AT) myway (DOT) com wrote:
    I fact I do need a way to close my "application" which is running in an

    How about a text that says something along the lines of, "Press Ctrl+W"
    or "To finish, use Alt+F4" or something like that?

    ~d

    mozilla-jseng mailing list
    mozilla-jseng (AT) mozilla (DOT) org
  • No.4 | | 945 bytes | |

    Well, unfortunately i have to present a button inside the
    "html-context". If the user clicks on it the "application" (and thus
    firefox.exe a process itself) should be closed (after the usual "are
    you really sure you want to quit?" pop-up question)

    So the point is to close firefox from inside the HTML-rendering
    context. While I do know that this isn't allowed normally i'd like to
    ask if there is a way to edit the profile (maybe of javascript) to
    allow so

    Again is will run in a kind of kiosk mode in fullscreen using autohide
    extension (firefox.exe -fullscreen switch) and MenuEditor (changing all
    menu entries including the context menu)

    So i already configured the UI to my need and the last open question is
    how to solve the shutdown of the process
    Any ideas?

    Thanks,
    andreas

    mozilla-general mailing list
    mozilla-general (AT) mozilla (DOT) org
  • No.5 | | 941 bytes | |

    Well, unfortunately i have to present a button inside the
    "html-context". If the user clicks on it the "application" (and thus
    firefox.exe a process itself) should be closed (after the usual "are
    you really sure you want to quit?" pop-up question)

    So the point is to close firefox from inside the HTML-rendering
    context. While I do know that this isn't allowed normally i'd like to
    ask if there is a way to edit the profile (maybe of javascript) to
    allow so

    Again is will run in a kind of kiosk mode in fullscreen using autohide
    extension (firefox.exe -fullscreen switch) and MenuEditor (changing all
    menu entries including the context menu)

    So i already configured the UI to my need and the last open question is
    how to solve the shutdown of the process
    Any ideas?

    Thanks,
    andreas

    mozilla-jseng mailing list
    mozilla-jseng (AT) mozilla (DOT) org
  • No.6 | | 941 bytes | |

    Well, unfortunately i have to present a button inside the
    "html-context". If the user clicks on it the "application" (and thus
    firefox.exe a process itself) should be closed (after the usual "are
    you really sure you want to quit?" pop-up question)

    So the point is to close firefox from inside the HTML-rendering
    context. While I do know that this isn't allowed normally i'd like to
    ask if there is a way to edit the profile (maybe of javascript) to
    allow so

    Again is will run in a kind of kiosk mode in fullscreen using autohide
    extension (firefox.exe -fullscreen switch) and MenuEditor (changing all
    menu entries including the context menu)

    So i already configured the UI to my need and the last open question is
    how to solve the shutdown of the process
    Any ideas?

    Thanks,
    andreas

    mozilla-win32 mailing list
    mozilla-win32 (AT) mozilla (DOT) org
  • No.7 | | 423 bytes | |

    andreasb (AT) myway (DOT) com wrote:
    Is there any chance to edit the profile in such a way that javascript
    (on this spefic profile) is allowed to close the whole application by
    "self.close()"

    Just don't open any tabs and that will work. ( you might need a
    window.self.close() or something like that.)
    ~d

    mozilla-general mailing list
    mozilla-general (AT) mozilla (DOT) org
  • No.8 | | 419 bytes | |

    andreasb (AT) myway (DOT) com wrote:
    Is there any chance to edit the profile in such a way that javascript
    (on this spefic profile) is allowed to close the whole application by
    "self.close()"

    Just don't open any tabs and that will work. ( you might need a
    window.self.close() or something like that.)
    ~d

    mozilla-win32 mailing list
    mozilla-win32 (AT) mozilla (DOT) org
  • No.9 | | 419 bytes | |

    andreasb (AT) myway (DOT) com wrote:
    Is there any chance to edit the profile in such a way that javascript
    (on this spefic profile) is allowed to close the whole application by
    "self.close()"

    Just don't open any tabs and that will work. ( you might need a
    window.self.close() or something like that.)
    ~d

    mozilla-jseng mailing list
    mozilla-jseng (AT) mozilla (DOT) org
  • No.10 | | 275 bytes | |

    andreasb (AT) myway (DOT) com wrote:

    >Is there any chance to edit the profile in such a way that javascript (on this spefic profile) is allowed to close the whole application by "self.close()"

    Use about:config to set to true.
  • No.11 | | 275 bytes | |

    andreasb (AT) myway (DOT) com wrote:

    >Is there any chance to edit the profile in such a way that javascript (on this spefic profile) is allowed to close the whole application by "self.close()"

    Use about:config to set to true.
  • No.12 | | 275 bytes | |

    andreasb (AT) myway (DOT) com wrote:

    >Is there any chance to edit the profile in such a way that javascript (on this spefic profile) is allowed to close the whole application by "self.close()"

    Use about:config to set to true.
  • No.13 | | 253 bytes | |

    Thats it :-)
    In fact I just discovered this today also - there's a good ressource
    from mozilladev:
    Thank you for your help!
    Andreas
    mozilla-general mailing list
    mozilla-general (AT) mozilla (DOT) org
  • No.14 | | 249 bytes | |

    Thats it :-)
    In fact I just discovered this today also - there's a good ressource
    from mozilladev:
    Thank you for your help!
    Andreas
    mozilla-win32 mailing list
    mozilla-win32 (AT) mozilla (DOT) org
  • No.15 | | 249 bytes | |

    Thats it :-)
    In fact I just discovered this today also - there's a good ressource
    from mozilladev:
    Thank you for your help!
    Andreas
    mozilla-jseng mailing list
    mozilla-jseng (AT) mozilla (DOT) org

Re: Close browser from inside HTML-context (using a specific firefox-profile)?


max 4000 letters.
Your nickname that display:
In order to stop the spam: 5 + 4 =
QUESTION ON "Mozilla"

EMSDN.COM