Faster and More Tabs in Firefox
- use 64bit firefox, and make sure you got more RAM like 16GB or more
- Check current Firefox status
- check current RAM memory usage by url link:
about:memory
- monitar tab memory usage extension: https://addons.mozilla.org/en-US/firefox/addon/tab-data/
- check current Disk cache usage by url link:
about:cache
- Use More RAM for Speed: as we know RAM is way faster than Disk, so disable Disk cache and use RAM cache only
about:config # click ok, and search for browser.cache; double click follow entry to make sure set as following browser.cache.disk.enable == > false browser.cache.memory.enable == > true # change or create following entry by right click on that page, pop-up menu > New > Integer browser.cache.memory.capacity ==> -1
Firefox Customize
- make open tab into background tab by default
- go link about:config, set to true when type
browser.tabs.loadDivertedInBackground
- hide suggestion in address bar
- go setting > privacy panel, in “Address Bar - When using the address bar, suggest”, uncheck all
- disable private mode: Private Begone addon
REG ADD HKLM\SOFTWARE\Policies\Mozilla\Firefox /v DisablePrivateBrowsing /t REG_DWORD /d 1
Run mutiple version of firefox on same machine
- commandline ref:http://kb.mozillazine.org/Command_line_arguments
- cmd to run new instant of firefox (Linux)
./firefox -P newProfileName -no-remote
- Lastest nightly version of Firefox
Manual plug-in Flash Player
For Linux,
- download libflashplayer.so
- put it under ./plugins
- restart firefox
For Windows,
- put NPSWF32.dll and flashplayer.xpt in ./plugins (which is located at c:\Windows\system32\Macromed\Flash\)
Good Firefox Android Add-ons
Good Firefox Add-ons
AdBlock codes
- some website just to distracting with its content, here are some useful blocking code for some parts of content-pushing sites
- youtube recommand list on front page and side panel
youtube.com##.style-scope.ytd-watch-next-secondary-results-renderer youtube.com###dismissable youtube.com##.style-scope.ytd-shelf-renderer
Useful Bookmarklet
- youtube repeat: http://youtubeonrepeat.com/youtube-repeat-button/
Firefox Javascript Console
- run javascipt command: just type javascript in the console from Inspect Panel (Press Esc key to toggle console display)
- example of show a element from console
document.getElementById("show").style.display = "block";
- example of click a button by finding it through class name
document.getElementsByClassName("bds_tsina")[0].click()
- example of reload a page
location.reload();
- example of nest query a content
text = document.getElementById('shared_download').getElementsByTagName("p")[0].innerHTML; print('\n'+text.split(" ")[1]+'\n'+text.split(" ")[3]+'\n');
Download Tips
- bili video download:
- desktop tool: https://github.com/leiurayer/downkyi
- online tool: