firefox - Open new xul tab without showing the address (like google chrome) -


is possible open xul page (chrome://myext/content/page.xul) blank address page?

i want have xul page in new tab collect information extension, wanted hide chrome address.

in chrome, extension pages shown without address, follows:

evernote clearly: evernote no address

contextinator:

contextinator no address

is possible on firefox open chrome://myext/content/page.xul without showing address on address bar?

in firefox, done hiding browser chrome.

if you're using addon-sdk, can accomplished including addon-page so:

require("sdk/addon-page"); 

when not using addon-sdk (ie, xul based extension), might need hidechromeforlocation() , incontentwhitelist members of xulbrowser. hiding browser chrome explained here , source code members can found in browser.js: hidechromeforlocation, incontentwhitelist.

note: xulbrowserwindow property of window.

var {xulbrowserwindow}=window; 

an example of location hidden chrome addon manager (about:addons), hides navigation bar when viewing particular location.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -