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: 
contextinator:

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
Post a Comment