Giter Club home page Giter Club logo

firefox-scripts's Introduction

userChromeJS

Tested on Firefox Developer Edition 66.0b8, Windows 10

Instructions

  1. Save config.js to Firefox installation folder (usually C:\Program Files (x86)\Mozilla Firefox), next to firefox.exe.

  2. Save config-prefs.js into \defaults\pref inside Firefox installation folder (usually C:\Program Files (x86)\Mozilla Firefox\defaults\pref), next to channel-prefs.js.

  3. Click Firefox menu button (โ˜ฐ) -> Help -> Troubleshooting information (or simply open the address "about:support"), then click Open folder. This is the folder of your Firefox profile. In there, create a new folder called chrome.

  4. Inside chrome, create another new folder called utils, then save all these files into it.

  5. Save the desired userChromeJS scripts into chrome. Read below the description of each one.

  6. If you want a button to manage your userChromeJS scripts, save rebuild_userChrome.uc.js into chrome.

  7. Restart Firefox.

userChromeJS scripts

(click on each to expand)

Adjust URLBar Popup Position and Width In Fx 48, URLBar Popup was stretched to fill the entire width of the browser. This script restores the previous behavior, with the popup inheriting the width and position of URLBar.

Note: there are similar userChrome.css alternatives, but the URLBar width can change depending on the buttons around and depending on the size of the window. You can't set dynamic width with pure CSS, so JS is needed.

Download link.

Firefox default:

With this script:

Master Password+ Locks Firefox with password. It will prompt the password on browser startup or anytime when you lock it with Ctrl+Alt+Shift+W.

You need to set a master password in Firefox Options > Privacy & Security > [ร—] Use a master password.

Download link.

Locked:

Unlocked:

Screenshots

userChromeJS Manager (the blue ones are restartless)

Status Bar, Extension Options Menu, MinMaxClose Button, newDownloadPlus.uc.js and legacy extensions:

firefox-scripts's People

Contributors

xiaoxiaoflood avatar revoss7 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.