Firefox: Difference between revisions

From wikinotes
Line 86: Line 86:
| [[firefox addon search bookmarks history and tabs]] || ctrl-p style search of bookmarks
| [[firefox addon search bookmarks history and tabs]] || ctrl-p style search of bookmarks
|-
|-
| [[firefox addon pentadactyl]] || vim keybindings in firefox (closer to vim than vimperator)
| [[firefox addon keepassxc]] || integration with keepassxc
|-
|-
| [[firefox addon tridactyl]] || vim keybindings in firefox
| [[firefox addon tridactyl]] || vim keybindings in firefox
Line 94: Line 94:
| [[firefox addon foxsplitter]] ||
| [[firefox addon foxsplitter]] ||
|-
|-
| [[firefox addon vimperator]] || vim keybindings in firefox
|}
 
Defunct or without maintainer
{| class="wikitable"
|-
|-
| [[firefox addon it's all text]] || edit textfield in external editor
| [[firefox addon it's all text]] || edit textfield in external editor
|-
|-
| firefox addon private tab || supports private tabs alongside other tabs
| [[firefox addon pentadactyl]] || vim keybindings in firefox (closer to vim than vimperator)
|-
| [[firefox addon vimperator]] || vim keybindings in firefox
|-
|}
|}
</blockquote><!-- Notes -->
</blockquote><!-- Notes -->
</blockquote><!-- addons -->
</blockquote><!-- addons -->

Revision as of 18:04, 4 September 2022

Mozilla's webbrowser.

Configuration

MMB Scrolling

Edit > Preferences > Advanced > General:
  - Use autoscrolling

Override User Agent

On commandline

In configuration

-open:  about:config
  - type: general.useragent.override
  - radio: string
  - click '+' button to create
  - assign windows value: Mozilla/5.0 (Windows NT x.y; Win64; x64; rv:10.0) Gecko/20100101 Firefox/10.0

Addons

Scripted Installation

firefox lets you script addon installs.
this stackoverflow has a suggestion for automating plugin installs.
https://askubuntu.com/questions/73474/how-to-install-firefox-addon-from-command-line-in-scripts

# install-firefox-addon.sh

#!/usr/bin/env bash

EXTENSIONS_SYSTEM='/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/'
EXTENSIONS_USER=`echo ~/.mozilla/firefox/*.default/extensions/`

_get_addon_id_from_xpi () { #path to .xpi file
    addon_id_line=`unzip -p $1 install.rdf | egrep '<em:id>' -m 1`
    addon_id=`echo $addon_id_line | sed "s/.*>\(.*\)<.*/\1/"`
    echo "$addon_id"
}

_get_addon_name_from_xpi () { #path to .xpi file
    addon_name_line=`unzip -p $1 install.rdf | egrep '<em:name>' -m 1`
    addon_name=`echo $addon_name_line | sed "s/.*>\(.*\)<.*/\1/"`
    echo "$addon_name"
}

install_addon () {
    xpi="${PWD}/${1}"
    extensions_path=$2
    new_filename=`_get_addon_id_from_xpi $xpi`.xpi
    new_filepath="${extensions_path}${new_filename}"
    addon_name=`_get_addon_name_from_xpi $xpi`
    if [ -f "$new_filepath" ]; then
        echo "File already exists: $new_filepath"
        echo "Skipping installation for addon $addon_name."
    else
        cp "$xpi" "$new_filepath"
    fi
}

install_addon "$@"
curl https://addons.mozilla.org/firefox/downloads/file/3594392/textern-0.7.xpi
install-firefox-addon.sh textern-0.7.xpi "$USER"

Notes

firefox addon search bookmarks history and tabs ctrl-p style search of bookmarks
firefox addon keepassxc integration with keepassxc
firefox addon tridactyl vim keybindings in firefox
firefox addon dark mode comprehensive dark stylesheet for websites
firefox addon foxsplitter

Defunct or without maintainer

firefox addon it's all text edit textfield in external editor
firefox addon pentadactyl vim keybindings in firefox (closer to vim than vimperator)
firefox addon vimperator vim keybindings in firefox