All Projects → xiaoxiaoflood → Firefox Scripts

xiaoxiaoflood / Firefox Scripts

Licence: mpl-2.0
userChromeJS / autoconfig.js and extensions

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Firefox Scripts

Livemarks
Extension that restores RSS Feed Livemarks in Firefox.
Stars: ✭ 137 (-32.18%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Cleanlinks
Converts obfuscated/nested links to genuine clean links.
Stars: ✭ 157 (-22.28%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Mue
Fast, open and free-to-use new tab page for modern browsers
Stars: ✭ 56 (-72.28%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Autofill Firefox
Autofill is a small but powerful add-on for Mozilla Firefox that serves one purpose: fill form fields automatically on page load. It is for people who just want a straightforward form filler without all the bells and whistles.
Stars: ✭ 46 (-77.23%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Githubextins
Install Browser Extensions straight from GitHub Repositories.
Stars: ✭ 100 (-50.5%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Awesome Emoji Picker
Add-on/WebExtension that provides a modern emoji picker that you can use to find and copy/insert emoji into the active web page.
Stars: ✭ 54 (-73.27%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Disable Javascript
Adds the ability to disable JavaScript on specific sites.
Stars: ✭ 151 (-25.25%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Simpread
简悦 ( SimpRead ) - 让你瞬间进入沉浸式阅读的扩展
Stars: ✭ 5,352 (+2549.5%)
Mutual labels:  firefox, firefox-addon, firefox-extension
The Tab Of Words
A minimal Chrome / Firefox extension to help you learn Japanese words in each new tab.
Stars: ✭ 94 (-53.47%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Fx cast
Implementation of the Google Cast Chrome Sender SDK within Firefox
Stars: ✭ 1,319 (+552.97%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Ext Saladict
🥗 All-in-one professional pop-up dictionary and page translator which supports multiple search modes, page translations, new word notebook and PDF selection searching.
Stars: ✭ 8,418 (+4067.33%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Floccus
☁️ Sync your bookmarks privately across browsers
Stars: ✭ 2,630 (+1201.98%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Scrollupfolder
A firefox addon wich goes up a folder of a website.
Stars: ✭ 18 (-91.09%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Alfred Firefox
Search and control Firefox from Alfred
Stars: ✭ 142 (-29.7%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Markdown Viewer
Markdown Viewer / Browser Extension
Stars: ✭ 497 (+146.04%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Nxenhanced
Adds "quality-of-life" features to NextDNS website for a more practical usability
Stars: ✭ 58 (-71.29%)
Mutual labels:  firefox-addon, firefox-extension, userscript
Easy To Rss
🚀 Chrome/Firefox Extension to retreive RSS feeds URLs from WebSite, RSSHub supported
Stars: ✭ 386 (+91.09%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Browser Addon
Kee adds free, secure and easy password management features to your browser which save time and keep your private data more secure.
Stars: ✭ 386 (+91.09%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Bookmarks Organizer
With the Bookmarks Organizer it's easy to put order in your bookmarks. The Bookmarks Organizer finds no longer working bookmarks, redirects, duplicates and more!
Stars: ✭ 90 (-55.45%)
Mutual labels:  firefox, firefox-addon, firefox-extension
Web Extension Starter
Typescript, React, Redux, Styled-Component and Webpack based sample extension boilerplate. Runs on Chrome and Firefox. Sample chrome extension.
Stars: ✭ 115 (-43.07%)
Mutual labels:  firefox, firefox-addon, firefox-extension

userChromeJS

Tested on Firefox Developer Edition 87.0b4, Windows 10

Instructions

→ For Linux and macOS paths, read this and this.

  1. Download this zip file and extract its content to Firefox installation folder (usually C:\Program Files\Mozilla Firefox).

  2. Click Firefox menu button (☰) -> Help -> Troubleshooting information or simply open about:support. Find "Profile Folder", then click "Open folder". In there, create a new folder called chrome.

  3. Download one of the files below and extract its content in chrome folder.

Now, if you're only interested in extensions, you can skip to step 6.

  1. Save the desired userChromeJS scripts into chrome. Read below the description of some of them.

  2. If you want a button to manage your scripts, including the ability to disable/enable scripts without needing to restart Firefox¹, save rebuild_userChrome.uc.js into chrome.

  3. Open about:support and click "Clear startup cache…" to force Firefox to load userChromeJS on the next startup.

  4. Restart Firefox.

¹: Not all scripts are restartless. These have @shutdown at the beginning of the code. Almost all scripts on this page were written by me to be restartless, but almost all scripts you get from other sources are not.

userChromeJS scripts

(click to expand)

BeQuiet The main purpose of this script is to control media without having to select the tab playing it. So I can play/pause a YouTube video or skip to the next song in Deezer while browsing Reddit, for example. Three hotkeys are defined by this script: Ctrl+Alt+S to play/pause, Ctrl+Alt+D to next song and Ctrl+Alt+A to previous song.

Besides that, no more than one tab should play audio at the same time. Each tab paused by another tab that starts playing is added to a stack. So if I open a new YouTube video while there's already one playing, the new tab starts playing and the other is paused. When the video ends or when I pause it, the first YouTube tab resumes playing.

As for now, I only added support for a few sites, like Deezer, Spotify and YouTube. I chose not to support next/previous in YouTube, only play/pause.

Download link.

Enter Selects Have you ever been frustrated because you wanted, for example, that Firefox autofills "https://www.youtube.com/feed/subscriptions" when you type "youtube" in location bar? That's because Firefox only autofills domains, so it will never go further than just "https://www.youtube.com/". Also because of this, Firefox will never autofill "https://www.reddit.com/r/firefox/" when you type "firefox", no matter how many times you've visited that page.

I don't like this. Firefox should be smart to always prioritize the page with higher "visit score" in browser history. That's what this script fixes. It preselects the first suggestion from address bar. For instance, if this page is the first suggestion when you type "xiaoxiaoflood", you don't need to press down arrow key before Enter.

Pages you usually visit will always rise to the first position, so accessing any frequent page will be as easy as typing no more than three chars + Enter, like just "you" + Enter to load YouTube Feed directly instead of YouTube homepage. It's even possible to teach Firefox to selects YouTube Feed with "y" and YouTube Homepage with "yo", it's just a matter of practice.

This script replaces urlbar autocomplete, so browser.urlbar.autoFill is disabled on install. If at any time you miss domain autofill, you still sort of can achieve that by pressing Tab IF the domain of first suggestion matches what you've typed so far. Example: you typed "git" and the first suggestion is from github.com. Pressing Tab key will autocomplete the domain even if the first suggestion is not just github.com - it may be github.com/whatever. But if the typed input doesn't match the domain of the first suggestion, then Tab key will have default behavior of selecting next suggestion just like down arrow key.

Download link.

Extension Options Menu A single toolbar button to manage all your extensions. It opens a menu listing each extension. Left-click to open Options from the hovered addon, right-click to enable/disable, Ctrl + right-click to uninstall. Hover anywhere on the menu to see more.

Screenshot:

Download link.

Extensions Update Checker Firefox checks for available updates every 24 hours. You can disable autoinstall updates, but then you'll only know there are available updates if you manually open Add-ons Manager. This script:
  • Disables autoinstall updates for every addon.
  • Just after the daily check, if there's an update available it will open Add-ons Manager directly in "Available Updates" view, so that you can track changes before updating (you can click on the extension, then click "Release Notes" button).
  • You can fill ignoreList if you are deliberately using an outdated version of an extension and don't want to be notified that an update is available.

Download link.

Master Password+ Locks Firefox with password. This 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 Primary Password.

Download link.

Locked:

Unlocked:

MinMaxClose Button Toolbar button to replace window buttons (minimize, maximize and close). I'm a Windows user and use Tree Style Tab with hidden titlebar, so I need this.
  • Left-click to minimize (so I can't close it accidentally).

  • Right-click to close.

  • Middleclick restores to fixed position/size (edit script code with your preferred values). If you want to restore to previous position/size, use Shift + Middleclick.

Download link.

multifoxContainer When Firefox introduced containers, I created this script to get some features that I missed from Multifox, the legacy addon that implemented "containers" years before Firefox having this feature by default. Since then, Firefox has added some things this script had, so I removed them. But I still use it for two things:
  • New tabs (Ctrl+T or New Tab button) inherits the container of current tab (except for Private Tabs).

  • The label in urlbar serves as menubutton to reopen current tab in other container. With left click, current tab is replaced. With middleclick, a new tab is opened without closing the other one.

Download link.

Open in Unloaded Tab Creates an item in contextmenu to open links/bookmarks/history in unloaded tabs, i.e., the tab is created, but it will only load when selected. Just like unloaded tabs when you restore previous session. So you can, for example, open multiple related YouTube videos and load them one by one. Or open an entire bookmark folder in tabs without freezing the browser, since tab content will load on demand.

Download link.

PrivateTab Fx 77 blocked the ability to open private tabs in non-private windows, previously possible with Private Tab addon. So I decided to write this script as a replacement. You can change some minor settings at the beginning of the code.

Download link.

Redirector Requires basic JS skills to write rules using regex.

The main difference between this and extensions like Redirector it that these Firefox extensions record both pre-redirect and final URLs in history. I want it to record just the final URL.

This script can also do more complex things like running a JS function with regex results.

Finally, the main reason why I wrote this was to integrate it with Link Status Redux. When I point the mouse to a link that I've already visited, LSR displays the time of last visit. This is extremely useful for me to know if I have already visited the page and to track changes since last visit.

LSR uses Redirector rules to replace links directly in page (Redirector extension doesn't do this, it redirects only when you try to load the URL). And many URLs have gibberish at the end, so I have rules to remove them, then the URL remains clean and LST can track last visit correctly (because the gibberish is different every time, generating different URLs).

Note: the list of rules in the script is just an example, mine is much bigger.

Download link.

Status Bar Brings back the good old status bar (also known as Addon Bar) at the bottom, with status text plus any buttons you want.

Screenshots:

Download link.

StyloaiX UserStyle manager to reskin Firefox window and websites. Replacement for legacy Stylish. More convenient than userChrome.css and userContent.css, as it has a powerful editor with instant preview, error checking, code autocomplete and you can enable/disable individual styles without restarting Firefox.

Screenshots (yes, I'm using the old Stylish icon):

Download link - extract it in chrome folder.

Auto Plain Text Links Firefox's default context menu will allow you to open plain text links if you select them first. This small addon automatically detects simple http and ftp plain text links when you right-click without needing you to select them first, then passes that URL on to the default Firefox menu items for opening them.

Download link - extract it in chrome folder.

Context to Search With this script, when you choose Search from the context menu (with text selected), instead of immediately searching it will just put the selected text in the search bar so you can edit it and choose the search engine before searching.

Download link.

Restore browser.newtab.url Pref to about:config (by TheRealPSV) This script restores the browser.newtab.url preference to about:config. Using this preference, you can set whatever you like as your New Tab page, including things like file:// URLs that don't work with new tab override extensions. Once you install the script, just set the preference in about:config and it should work automatically. Make sure you don't have any other new tab extensions, or it might not work.

(Written by TheRealPSV)

Download link.

Removed pages

about:config The new about:config is way worse than the classic page. Although the new version was introduced in Fx 71, the old one was still accessible for a while via direct URL, but it was removed in Fx 87. To continue using it, save all three files from the link below, then bookmark the following URL:

chrome://userchromejs/content/aboutconfig/aboutconfig.xhtml

about:config folder

Password Manager I don't like the new password manager and the old one was removed in Fx 77. I'm still using it. If you want it too, save all three files from the link below, so that you can access the old password manager using the following URL (bookmark it):

chrome://userchromejs/content/passwordmgr/passwordManager.xhtml

Password Manager folder

Screenshots

userChromeJS Manager (the blue ones are restartless)
Status Bar, Extension Options Menu, MinMaxClose Button, newDownloadPlus.uc.js and legacy extensions:
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].