Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
####### # # E-scripts on Firefox # # Note 1: use the eev command (defined in eev.el) and the # ee alias (in my .zshrc) to execute parts of this file. # Executing this file as a whole makes no sense. # An introduction to eev can be found here: # # (find-eev-quick-intro) # http://angg.twu.net/eev-intros/find-eev-quick-intro.html # # Note 2: be VERY careful and make sure you understand what # you're doing. # # Note 3: If you use a shell other than zsh things like |& # and the for loops may not work. # # Note 4: I always run as root. # # Note 5: some parts are too old and don't work anymore. Some # never worked. # # Note 6: the definitions for the find-xxxfile commands are on my # .emacs. # # Note 7: if you see a strange command check my .zshrc -- it may # be defined there as a function or an alias. # # Note 8: the sections without dates are always older than the # sections with dates. # # This file is at <http://angg.twu.net/e/firefox.e> # or at <http://angg.twu.net/e/firefox.e.html>. # See also <http://angg.twu.net/emacs.html>, # <http://angg.twu.net/.emacs[.html]>, # <http://angg.twu.net/.zshrc[.html]>, # <http://angg.twu.net/escripts.html>, # and <http://angg.twu.net/>. # ####### # «.greasemonkey» (to "greasemonkey") # «.dive-into-greasemonkey» (to "dive-into-greasemonkey") # «.monospaced-gmail» (to "monospaced-gmail") # «.java-plugin» (to "java-plugin") # «.flash-10» (to "flash-10") # «.dom-inspector» (to "dom-inspector") # «.cookies» (to "cookies") # «.cache» (to "cache") # «.smooth-scrolling» (to "smooth-scrolling") # «.mozrepl» (to "mozrepl") # «.google-talkplugin» (to "google-talkplugin") # «.downloadhelper» (to "downloadhelper") # «.treestyletab» (to "treestyletab") # (find-es "javascript") ##### # # greasemonkey # 2008nov17 # ##### # «greasemonkey» (to ".greasemonkey") # http://www.greasespot.net/ # http://en.wikipedia.org/wiki/Greasemonkey # https://addons.mozilla.org/en-US/firefox/addon/748 # http://userscripts.org/ # (find-zsh "installeddebs | sort | grep grease") # (find-zsh "availabledebs | sort | grep grease") # (find-status "firefox-greasemonkey") # (find-vldifile "firefox-greasemonkey.list") # (find-udfile "firefox-greasemonkey/") # (find-status "iceweasel-greasemonkey") # (find-vldifile "iceweasel-greasemonkey.list") # (find-udfile "iceweasel-greasemonkey/") # (code-c-d "gmonkey" "/usr/share/iceweasel-extensions/greasemonkey/") # (code-c-d "gmonkeyen" (ee-gmonkeyfile "chrome/chromeFiles/locale/en-US/")) # (code-c-d "gmonkeycontent" (ee-gmonkeyfile "chrome/chromeFiles/content/")) # (find-gmonkeyfile "") # (find-gmonkeyenfile "") # (find-gmonkeycontentfile "") ##### # # dive into greasemonkey # 2008nov17 # ##### # «dive-into-greasemonkey» (to ".dive-into-greasemonkey") # http://diveintogreasemonkey.org/ # http://diveintogreasemonkey.org/download/book/diveintogreasemonkey-pdf-2005-05-09.zip # http://diveintogreasemonkey.org/download/book/diveintogreasemonkey-text-2005-05-09.zip # http://diveintogreasemonkey.org/download/book/diveintogreasemonkey-html-2005-05-09.zip # http://www.oreillynet.com/pub/a/network/2005/11/01/avoid-common-greasemonkey-pitfalls.html # http://www.oreillynet.com/pub/a/network/2005/11/01/avoid-common-greasemonkey-pitfalls.html?page=1 #* rm -Rv ~/usrc/diveintogreasemonkey-2005-05-09/ unzip -d ~/usrc/ $S/http/diveintogreasemonkey.org/download/book/diveintogreasemonkey-pdf-2005-05-09.zip unzip -d ~/usrc/ -o $S/http/diveintogreasemonkey.org/download/book/diveintogreasemonkey-text-2005-05-09.zip unzip -d ~/usrc/ -o $S/http/diveintogreasemonkey.org/download/book/diveintogreasemonkey-html-2005-05-09.zip cd ~/usrc/diveintogreasemonkey-2005-05-09/ #* # (code-c-d "digmonkey" "~/usrc/diveintogreasemonkey-2005-05-09/") # (find-digmonkeyfile "") # (find-digmonkeyw3m "toc/index.html") ##### # # monospaced font in e-mails in gmail (by fnaufel) # 2008nov17 # ##### # «monospaced-gmail» (to ".monospaced-gmail") # http://userscripts.org/scripts/show/17869 # http://userscripts.org/scripts/review/17869 Olá, É só uma opinião minha, mas achei que devia compartilhar com vcs. Decidi que e-mail deve ser lido e escrito, sempre que possível, com fonte monoespaçado (fixed width). Então, fiz o seguinte no meu Firefox: * Instalei a extensão Greasemonkey. * Instalei, no Greasemonkey, o script que está em http://userscripts.org/scripts/show/17869 * Na linha do fonte do script que diz var css = ".ArwC7c, .iE5Yyc { font: .9em monospace !important; }"; mudei o tamanho do fonte para 1.2em. * Na janela de composição de msgs do GMail, troquei para "plain text". Daí em diante, todas as msgs que escrevo ou leio no GMail aparecem com fonte monoespaçado. Quando a msg é grande ou importante, escrevo o texto no emacs, com justificação, indentação etc etc e depois colo na janela de composição do GMail. ##### # # The Java plugin (JRE) for Firefox/Iceweasel # 2009aug10 # ##### # «java-plugin» (to ".java-plugin") # (find-zsh "availabledebs | sort | grep jre") # (find-zsh "availabledebs | sort | grep iceweasel") # (find-zsh "availabledebs | sort | grep firefox") # (find-zsh "availabledebs | sort | grep mozilla") # (find-zsh "availabledebs | sort | grep java") # http://packages.debian.org/sun-java6-jre # http://packages.debian.org/sun-java6-plugin nspluginwrapper * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) R apti sun-java7-jre sun-java7-plugin apti sun-java6-jre sun-java6-plugin apt-get update && apt-get install sun-java6-jre sun-java6-plugin [or -jdk, for dev-work] then do: update-alternatives --config java : older version can then be removed If the above doesn't work try deleting the plugin.dat file in your ~mozilla directory. # (find-man "unzip") # 2014feb15: # http://forums.debian.net/viewtopic.php?f=30&t=106108 # https://wiki.debian.org/Java/ ##### # # Flash 10 plugin # 2010sep19 # ##### # «flash-10» (to ".flash-10") # http://get.adobe.com/flashplayer/ # http://www.adobe.com/products/flashplayer/productinfo/instructions/ # http://support.mozilla.com/en-US/kb/Installing+the+Flash+plugin # Tools > Add-Ons > Get Add-Ons > unplug * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) cd ~/.mozilla/ laf laf plugins/ rm -Rv ~/.mozilla/plugins/ cd /usr/lib/mozilla/plugins/ laf laf flash-mozilla.so laf /etc/alternatives/flash-mozilla.so sudo tar -xvzf /tmp/install_flash_player_10_linux.tar.gz # (find-status "flashplugin-nonfree-extrasound") # (find-vldifile "flashplugin-nonfree-extrasound.list") # (find-udfile "flashplugin-nonfree-extrasound/") # (find-status "flashplugin-nonfree") # (find-vldifile "flashplugin-nonfree.list") # (find-udfile "flashplugin-nonfree/") ##### # # DOM inspector # 2009sep21 # ##### # «dom-inspector» (to ".dom-inspector") # (find-status "iceweasel-dom-inspector") # (find-vldifile "iceweasel-dom-inspector.list") # (find-udfile "iceweasel-dom-inspector/") apti iceweasel-dom-inspector ##### # # Cookies # 2009oct10 # ##### # «cookies» (to ".cookies") # (find-es "javascript" "cookies") # http://support.mozilla.com/en-US/kb/Cookies?style_mode=inproduct&s=cookies # _E_dit -> Prefere_n_ces -> Privacy -> Cookies -> _S_how cookies ##### # # cache # 2010apr27 # ##### # «cache» (to ".cache") # (find-anggfile ".mozilla/firefox/ftc9fs06.default/Cache/") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) cd ~/.mozilla/firefox/ftc9fs06.default/Cache/ file $('ls' -t) | tee /tmp/ocache cat /tmp/ocache | egrep 'JPEG|PNG|GIF' | cut -b 1-11 | tee /tmp/oimgs cat /tmp/ocache | grep JPEG | cut -b 1-11 | tee /tmp/ojpegs cat /tmp/ocache | grep PNG | cut -b 1-11 | tee /tmp/opngs cat /tmp/ocache | grep GIF | cut -b 1-11 | tee /tmp/ogifs cat /tmp/ocache | grep PNG | grep ' 800 ' | cut -b 1-11 | tee /tmp/opngs * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) cat /tmp/oimgs \ | awk '{printf "cp -v %s /tmp/imgs/%03d_%s\n", $1, n, $1; n=n+1}' \ | tee /tmp/oimgs2 cat /tmp/opngs \ | awk '{printf "cp -v %s /tmp/pngs/%03d_%s.png\n", $1, n, $1; n=n+1}' \ | tee /tmp/opngs2 cat /tmp/ojpgs \ | awk '{printf "cp -v %s /tmp/jpgs/%03d_%s.jpg\n", $1, n, $1; n=n+1}' \ | tee /tmp/o2 rm -R /tmp/jpgs/ mkdir /tmp/jpgs/ cd ~/.mozilla/firefox/ftc9fs06.default/Cache/ . /tmp/o2 rm -R /tmp/pngs/ mkdir /tmp/pngs/ cd ~/.mozilla/firefox/ftc9fs06.default/Cache/ . /tmp/opngs2 rm -R /tmp/imgs/ mkdir /tmp/imgs/ cd ~/.mozilla/firefox/ftc9fs06.default/Cache/ . /tmp/oimgs2 # (find-fline "/tmp/jpgs/") # (find-fline "/tmp/pngs/") # (find-fline "/tmp/imgs/") # (find-fline "~/FREGE/") ##### # # Smooth scrooling on Firefox 3 # 2010aug08 # ##### # «smooth-scrolling» (to ".smooth-scrolling") Smooth Scrolling (CSS trick - does not work): http://thenonhacker.deviantart.com/journal/18918994/ # (find-fline "~/.mozilla/firefox/glw5nubm.default/") # (find-fline "~/.mozilla/firefox/f2xg25xx.default/") # (find-fline "~/.mozilla/firefox/f2xg25xx.default/chrome/") # (find-fline "~/.mozilla/firefox/f2xg25xx.default/chrome/userContent.css") /* Smooth Scrolling Fix: Disable Fixed Background Images on Pages */ body { background-attachment: scroll !important; } Yet another smooth scrolling (works well): https://addons.mozilla.org/en-US/firefox/addon/5846/ ##### # # MozRepl # 2010aug31 # ##### # «mozrepl» (to ".mozrepl") # (find-es "javascript" "mozrepl") ##### # # google-talkplugin # 2011mar01 # ##### # «google-talkplugin» (to ".google-talkplugin") # (find-status "google-talkplugin") # (find-vldifile "google-talkplugin.list") # (find-udfile "google-talkplugin/") # http://www.google.com/chat/voice/ # http://www.google.com/chat/voice/compare.html # http://www.google.com/googlevoice/about.html# # https://www.google.com/voice/b/0/rates/ # http://www.google.com/chat/video/ # http://www.google.com/chat/video/download.html * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) cd /tmp/ wget http://dl.google.com/linux/direct/google-talkplugin_current_i386.deb sudo dpkg -i google-talkplugin_current_i386.deb ##### # # Downloadhelper # 2013jan01 # ##### # «downloadhelper» (to ".downloadhelper") # http://www.downloadhelper.net/ # http://www.downloadhelper.net/welcome.php?version=4.9.12 # http://www.downloadhelper.net/faq.php ##### # # Tree-style tab # 2013jan01 # ##### # «treestyletab» (to ".treestyletab") <rend> edrx: http://piro.sakura.ne.jp/xul/_treestyletab.html.en <ameliabot> XUL Apps > Tree Style Tab - outsider reflex # (find-zsh "availabledebs | sort | grep iceweasel") https://developer.mozilla.org/en/docs/Debugging_JavaScript https://developer.mozilla.org/en-US/docs/Tools/Debugger http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers # (find-zsh "dmissing firefox") # (find-zsh "dmissing usr/bin/firefox") # (find-status "iceweasel") # (find-vldifile "iceweasel.list") # (find-udfile "iceweasel/") # (find-fline "/usr/bin/firefox") # (find-fline "/usr/share/iceweasel/defaults/preferences/" "firefox") wormux location.hr google fabio cevasco - firefox 3 revealed: http://www.sitepoint.com/books/firefox3/ http://firefox.s3.sitepoint.com/ff3-revealed.zip http://firefox.s3.sitepoint.com/ff3-revealed.pdf Other interesting plugins: Adblock: http://www.youtube.com/watch?v=oNvb2SjVjjI https://addons.mozilla.org/en-US/firefox/addon/1865?collection_uuid=463aaf21-0469-3886-2f90-f07c62786cc9 Sitelanucher: https://addons.mozilla.org/en-US/firefox/addon/10127?collection_uuid=463aaf21-0469-3886-2f90-f07c62786cc9 FastestFox https://addons.mozilla.org/en-US/firefox/addon/9825?collection_uuid=463aaf21-0469-3886-2f90-f07c62786cc9 CtrlTab https://addons.mozilla.org/en-US/firefox/addon/5244?collection_uuid=463aaf21-0469-3886-2f90-f07c62786cc9 ReadItLater https://addons.mozilla.org/en-US/firefox/addon/7661?collection_uuid=463aaf21-0469-3886-2f90-f07c62786cc9 Boss Key and Buttons https://addons.mozilla.org/en-US/firefox/addon/46553?collection_uuid=cca22a9a-ffab-e660-defa-d302cc263a37 iMacros https://addons.mozilla.org/en-US/firefox/addon/3863?collection_uuid=cca22a9a-ffab-e660-defa-d302cc263a37 URL lister https://addons.mozilla.org/en-US/firefox/addon/7192?collection_uuid=cca22a9a-ffab-e660-defa-d302cc263a37 Classic Compact https://addons.mozilla.org/en-US/firefox/addon/3699/?collection_uuid=cca22a9a-ffab-e660-defa-d302cc263a37 F7: caret browsing http://alexeev.org/gmailtex.html <dale> Praise the gods I have figured out how to get Firefox to just display a PDF in a browser tab without downloading it. I had pdfjs.enabledCache.state=false set in FF prefs somehow. Google searching this leads me to zero useful explanation for how it got into that state. # Local Variables: # coding: raw-text-unix # modes: (fundamental-mode emacs-lisp-mode) # ee-delimiter-hash: "\n#*\n" # ee-delimiter-percent: "\n%*\n" # ee-anchor-format: "«%s»" # End: