Skip to content

Commit

Permalink
XUL overlays do not work in Firefox v61 or higher
Browse files Browse the repository at this point in the history
  • Loading branch information
Sporif committed Dec 31, 2018
1 parent ff4d5d1 commit 2c18281
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -15,11 +15,11 @@ Place the three `userChrome.*` files in a `/chrome` directory inside your Firefo
Replace the contents of `userChrome.js` with whatever you wish; it will execute in the browser context whenever you open a new browser window. The existing contents of that script (in this repo) are a small change to the fullscreen behavior of Firefox under macOS: it restores the pre-Lion behavior (and hides the toolbar and tabs when in fullscreen mode).

You may also place `userChrome.xul` and `.uc.js`, `.uc.xul` and `.css` files in the `/chrome` directory, these will be loaded along with `userChrome.js`.
- `userChrome.xul` and `.uc.xul` files are [XUL overlays](https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Overlays) that will load into the browser.
- `.uc.js` files will execute javascript in the browser context, like `userChrome.js`.
- `.css` files will loaded as USER_SHEETs into all pages, including the ui (chrome:// urls), a sort of userChrome/userContent hybrid. Use `@-moz-document` rules to limit them to certain pages. (userChrome.css and userContent.css will behave as normal).
- A special case, `.as.css` files, are loaded as AGENT_SHEETs, allowing you to style anonymous content like scrollbars.

- `.css` files will loaded as user sheets into all pages, including the ui (chrome:// urls), a sort of userChrome/userContent hybrid. Use `@-moz-document` rules to limit them to certain pages. (userChrome.css and userContent.css will behave as normal).
- A special case, `.as.css` files, are loaded as agent sheets, allowing you to style anonymous content like scrollbars.
- `userChrome.xul` and `.uc.xul` files are [XUL](https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL) overlays that will load into the browser. (Note: Firefox 61 [disabled](https://bugzilla.mozilla.org/show_bug.cgi?id=1448162) XUL overlays and Firefox 63 completely [removed](https://bugzilla.mozilla.org/show_bug.cgi?id=1449791) support for them).

To uninstall, remove the three files. If you have other content in the `userChrome.css` file you can remove just the part that you added during installation.

## Why did I make it?
Expand Down

0 comments on commit 2c18281

Please sign in to comment.