browser

Table of Contents

1. broswer

1.2. Firefox

1.2.1. Arreglar Vimium que no funciona bien en youtube   someday_20230330

Si la url tiene segundos, entonces no va bien(?) a veces?

1.2.2. Configuración actual

https://addons.mozilla.org/en-US/firefox/collections/16803376/lytex-addons/

1.2.2.1. Quitar megabar

https://www.userchrome.org/megabar-styling-firefox-address-bar.html
userChrome-ZeroEnlargement.css funciona perfectamente!
Pegar después de la la custom

1.2.2.2. about:config
security.external_protocol_requires_permission
false → para que no pida permiso al abrir un org-protocol
browser.urlbar.maxHistoricalSearchSuggestions
20
browser.urlbar.maxRichResults
40
browser.display.use_document_fonts
0 → para que funcionen bien las fuentes de los pdfs
https://www.reddit.com/r/firefox/comments/noxwav/messed_up_font_rendering_in_firefox_pdf_viewer/
browser.download.improvements_to_download_panel
false → para que no guarde todo en ~/Downloads
https://www.reddit.com/r/firefox/comments/s3syt6/firefox_started_using_the_downloads_folder_as_the/
  1. Change the “Save File” behavior for all content types back to “Always Ask”. This is pretty easy to do quickly since you can even sort the table by Action.
  2. Change the “Save files to” option to /tmp/mozilla and then set the Downloads option back to “Always ask you where to save files”.
browser.tabs.firefox-view
false → para no tenga una pestaña siempre anclada
toolkit.legacyUserProfileCustomizations.stylesheets
Para que funcione userChrome.css
browser.migrate.chrome.extensions.enabled
true para que funcionen extensiones de chrome
https://services.addons.mozilla.org/api/v5/addons/browser-mappings/?browser=chrome
(no term)
Why I use Firefox
browser.tabs.closeWindowWithLastTab
false prevents the entire browser window from closing when the user closes the last tab
browser.chrome.guess_favicon
false stops Firefox from attempting to load the website’s favicon from the default location when an icon is not declared in the HTML document
browser.urlbar.resultMenu.keyboardAccessible
false removes menu buttons from the individual items in the URL bar dropdown list (tab jumps between items)
browser.urlbar.quickactions.enabled
true https://winaero.com/firefox-is-getting-quick-actions-here-is-how-to-enable-them/
browser.urlbar.resultMenu
false lo mismo pero para about:
1.2.2.3. Permitir iconos de Material design
1.2.2.5. Filtrar autocompletado a marcadores, pestañas abiertas, historial
  • -> marcadores

% -> otras pestañas abiertas
^ -> historial
> -> acciones (deshabilitado por defecto, se activa en )

1.2.2.6. https://savemoney.es/usa/

Como keepa pero comprueba en distintos países

1.2.2.7. Barra de plugins
firenvim ublock darkreader vimium tab retitle

Menú de overflow:

  • Firefox account
  • Language Switch
  • YiNote
  • Video Speed Controller
  • keepa
  • ActivityWatcher
  • SVG Export
  • TST
  • SponsorBlock
  • YoutubeDislike
  • PlasmaIntegration
1.2.2.8. Tree Style Tabs

https://github.com/piroor/treestyletab → Parece mejor mantenida
https://github.com/piroor/treestyletab/issues/1274 → exportar a markdown
Insertion position of new child tabs → the top of the tree (next to the parent)/no control
A lo mejor interacciona con Tab Session Manager y no tira por eso (hay que desactivarla)

  1. Exportar con la hora   maybe_20230330
    • Exportar con la hora a org-mode
    • Que al guardar también muestre la hora
    • Así sabes cuál es más reciente de los dos, y puedes matchear uno con otro (?)
    • La cosa es que en cuanto empiezas a comentar cosas se te fastidia lo que llevabas
    • Es el mismo problema que Anotaciones incrementales de pdfs
  2. También hay extensiones que hacen arbol de los links que abres, para chrome mayormente

    Pestañas padres y demás
    Manu UCM está trabajando en una extensión para firefox

  3. Plugins
    1. Copy Selected Tabs to Clipboard
      1. Exportar a org mode
        *%TST_INDENT(*)% [[%URL%][%TITLE%]]
        
    2. TST More Tree Commands – Get this Extension for 🦊 Firefox (en-US)
    3. GitHub - NiklasGollenstede/tst-search: Extension for Tree Style Tab’s to search the tabs in it’s sidebar.
  4. Atajos de teclado
    1. Atajos de teclado
      Ctrl+Alt+Y
      Copy Selected Tabs to Clipboard
      Ctrl+Alt+G
      Focus the TST Tab Search bar
      (no term)
      Collapse (fold)
      Ctrl+Alt+F
      Collapse this tree
      Shift+Alt+F
      Collapse this tree recursively
      Ctrl+Alt+M
      Collapse all
      (no term)
      Expand
      Ctrl+Alt+E
      Expand this tree
      Shift+Alt+E
      Expand this tree recursively
      Ctrl+Alt+D
      Expand All
      Ctrl+Alt+O
      Focus to previous tab (don’t expand tree)
      Ctrl+Alt+I
      Focus to next tab (don’t expand tree)
      (no term)
      Movement
      Alt+L
      Indent current tab
      Alt+H
      Outdent current tab
      Alt+K
      Move current tab before previous sibling
      Alt+J
      Move current tab after next sibling
      Shift+Alt+K
      Move current tree up
      Shift+Alt+J
      Move current tree down
      Ctrl+Alt+H
      Focus to parent tab
      Ctrl+Shift+L
      Focus to first child tab
      Ctrl+Alt+K
      Focus to previous sibling tab
      Ctrl+Alt+J
      Focus to next sibling tab
    2. Problema con alt
      • Lo malo de mapear alt+h es que me lo pilla por KDE hay que desactivarlo
      • Si no otra es ocultar el menú y ya no pasa (ocultando menú y luego mostrándolo tampoco pasa, pero no es persistente cuando se apaga)
      • En i3 tampoco va a pasar
    3. tst search
      • Me pongo ctrl+alt+g para la búsqueda (por ejemplo)
      • cycle with enter, shift+enter, select tab with ctrl+enter
  5. Guardar árboles (o importarlos de org mode o similar)
  6. Crear carpetas

    Puedes tener carpetas de carpetas
    Seleccionas unas carpetas y le das a Operate Tree>Create New Tree from tabs

  7. Integrar TreeStyleTabs y YiNote con org-mode
1.2.2.9. Vimium

Mejor si es Vimium C en firefox (va mejor que vimum para algunas cosas, más actualizado)
No tengo una manera buena de seleccionar texto (salvo que lo convierta a vim primero)
Config de vimium:

" f1 por tree style tabs, f2 por fuzzy tabs
unmap <f1>
unmap <f2>
" estas dos creo que ya no son necesarias, la primera me va más rápida sin ello puesto, creo, y la segunda no la utilizo ya (era cuando usaba C-[)
map o Vomnibar.activate noSessions="start"
mapKey <c-esc> <esc>
  • Los números sólo van de 0 a 9 (10j no funciona)
  • Caret mode (F7) para saber dónde está el cursor
  • vc para Caret mode, pero a veces no funciona. Vc funciona siempre
  • Considerar cambiarse a QtBrowser? Otra extensión?
  • Vimium Keyboard Shortcuts
  1. Youtube

    https://support.google.com/youtube/answer/7631406

    Keyboard shortcut Function
    Spacebar Play/Pause when the seek bar is selected. Activate a button if a button has focus.
    Play/Pause Media Key on keyboards Play / Pause.
    k Pause/Play in player.
    m Mute/unmute the video.
    Stop Media Key on keyboards Stop.
    Next Track Media Key on keyboards Moves to the next track in a playlist.
    Left/Right arrow on the seek bar Seek backward/forward 5 seconds.
    j Seek backward 10 seconds in player.
    l Seek forward 10 seconds in player.
    , While the video is paused, skip to the next frame.
    . While the video is paused, go back to the previous frame.
    > Speed up the video playback rate.
    < Slow down the video playback rate.
    Home/End on the seek bar Seek to the beginning/last seconds of the video.
    Up/Down arrow on the seek bar Increase/Decrease volume 5%.
    Numbers 1 to 9 on the seek bar (not on the numeric pad) Seek to the 10% to 90% of the video.
    Number 0 on the seek bar (not on the numeric pad) Seek to the beginning of the video.
    Number 1 or Shift+1 Move between H1 headers.
    / Go to search box.
    f Activate full screen. If full screen mode is enabled, activate F again or press escape to exit full screen mode.
    c Activate closed captions and subtitles if available. To hide captions and subtitles, activate C again.
    Shift+N Move to the next video (next video of the playlist.to the next YouTube suggested video).
    Shift+P Move to the previous video. This shortcut only works when you’re using a playlist.
    i Open the Miniplayer.

    k m j l , . < > f c i, N, P, / → desactivados en :https://www.youtube.com/watch
    pero no en https://www.youtube.com (aquí sólamente i)
    Así con i puedo salir de youtube y ponerme a mirar videos de manera normal

  2. Jira

    Desactivar
    <c-/> , - . / 1 2 3 ? [ ] a b c d e g i j k l m n o p s t u v w y z

  3. config
    unmap <f1>
    Default Search Engine → https://duckduckgo.com/?q=$s DuckDuckGo
    : → <> para desactivarlo en todas las webs
    mapKey <c-[> <esc> → no se usa, parece que lo usa auto
    
  4. Word y demás

    ESC para salir a Vimium
    RET, Ctrl+Backspace para insertar, también vale pulsar las flechas

  5. Intentar cargar vim-surround en vimium   someday_20230330

    vim-surround sería un buen primer plugin
    Implementar inside y around con la configuración (por ejemplo viw puede implementarse como bve)
    Esto de hecho sería idealmente cargar los plugins como tal, si soporta vimscript se pueden ejecutar

  6. Vimium Keyboard Shortcuts
1.2.2.10. https://github.com/glacambre/firenvim Vim para navegador

Aargh, complicado de instalar! Puede que tenga que aprender antes un poco de (neo)vim, config y demás
https://neovim.io/doc/user/nvim.html → guía de inicio
Le pongo un set rtp+=~/.config/nvim/plugged/firenvim guarro en la config y ya va
No le funciona copiar pegar desde el portapapeles de la aplicación, ni con C-S-v
Vim en los cuadros de texto!!
https://youtu.be/ID_kNcj9cMo

1.2.2.11. Plugins de Chrome

1.2.3. Tomar notas de YiNote en Android   someday_20230330

También se podría hacer con notificaciones controlables desde PineTime/Android Auto, y que guardase notas de voz

1.2.3.2. Where is the local location of Yinote note · Issue #89 · shuowu/yi-note   someday_20230330 defined_20230330

Se puede instalar en Firefox Nightly para Android, pero no hay manera de exportar las notas

1.2.4. Vídeos de Youtube para sacar tips   someday_20230330

1.2.4.1. Ver “Firefox Now Shares Data With Ad Partners” en YouTube

https://youtu.be/ni-88HO5YYk
De momento a mí no me ha afectado

1.2.4.2. Ver “Making Firefox Great Again” en YouTube

https://youtu.be/dwZpjKH8nbo
Configurar firefox con opciones para mayor privacidad

1.2.5. Firefox Keyboard Shortcuts   someday_20230330

Hacer un sistema de sólo utilizar el teclado para firefox

1.2.5.3. brookhong/Surfingkeys: Map your keys for web surfing, expand your browser with javascript and keyboard.

Atajos de teclados custom, se puede hacer algo con TreeTab?

1.2.5.4. Desactivar atajos de teclados en Firefox

A veces no funcionan los atajos en Confluence/Drawio por ejemplo
https://support.mozilla.org/en-US/questions/1367908

1.2.6. Investigar por qué es tan lento Copy as org mode   someday_20230330

Parece que bloquea de alguna manera KDE porque por ejemplo tampoco puedo cambiar de pantalla utilizando la barra de KDE
https://bugs.kde.org/show_bug.cgi?id=446581
Sólamente sucede en X11 (no en Wayland) por lo que es posible que no se arregle
Temporary solution that worked for me is to disable Firefox notifications:
dom.events.asyncClipboard.dataTransfer = true en about:config puede funcionar (no lo he probado)

1.2.7. Configurar el userChrome.css

https://winaero.com/enable-loading-userchrome-css-usercontent-css-firefox/
toolkit.legacyUserProfileCustomizations.stylesheets → true

1.2.8. Cómo quitar el foco de la barra de dirección?

1.2.10. Hacer un org-mode y luego un dot/plantUML que saque un grafo   idea

Grafos en emacs → si exporto los links directamente como org mode respetando la jerarquía que me saca, entonces ya tengo el grafo

1.2.11. Configuración de firefox en git

1.2.11.1. Cómo tratar prefs.js?

Mezcla configuración con información personal, tiempo de última modificación, impresoras añadidas, Firefox Sync…
Lo que se puede hacer es crear un script de bash que actualize si existe o cree si no existe los valores que tengo guardados (haciendo un sed por ejemplo)

1.2.12. 57 extensiones sumamente útiles pero «no tan conocidas» para Google Chrome y Mozilla Firefox | Microsiervos (Internet)

1.2.14. Multiple key combinations (chords)

1.2.14.1. Adding Commands · Saka Key

Si se pueden llamar extensiones desde Javascript entonces sí que se podría hacer algo

  1. runtime.sendMessage() - Mozilla | MDN
  2. tabs.sendMessage() - Mozilla | MDN
  3. question: how to map a key to another extension · Issue #120 · gdh1995/vimium-c

    Parece que no se puede

1.2.15. Modo noche

Conversores de páginas → te convierten un modo negro a modo blanco

1.2.15.2. Shadow Fox

1.2.16. Ver “Awesome Browser Addons You Aren’t Using” en YouTube

https://youtu.be/N66CmWhgrO4

  • Universal Bypass → disables redirections with url shorteners
  • Local CDN, extension that emulates Content Delivery Networks to improve your online privacy. It intercepts traffic, finds supported resources locally, and injects them into the environment.
  • Sponsor Block, mark sponsors in youtube videos
  • ClearURLs → filtrar cosas de las urls
  • Donwload Them All → reglas para descargar distintas cosas a distintas carpetas
  • Violent Monkey → correr scripts
  • Switchy OMega → cambiar de proxy, incluso con contraseña

1.2.17. Extensiones para guardar

1.2.17.1. Save In…

Haciendo click derecho te permite guardar en una localización que elijas

1.2.17.3. Donwload Sidebar

1.2.18. How do I make Firefox open files on Dolphin? : kde

Make sure xdg-desktop-portal-kde is installed instead of the Gnome desktop portal implementation and have Firefox use it via:

  • Firefox < 78: export GTK_USE_PORTAL=1
  • Firefox ≥ 78: widget.use-xdg-desktop-portal true

If you replace Gnome xdg-desktop-portal with the KDE implementation, other apps should use Dolphin, but if they’re hardcoded in some way only uninstalling Gnomes fm may help :/
edit: These stackoverflow answers give some more detailed history, mention the KGtk hack or suggest setting GTK_USE_PORTAL=1 globally:
https://superuser.com/questions/944119/replace-gtk-file-dialog-with-alternative

1.2.20. Sacar las entradas de texto en firefox

# Ir a la carpeta del perfil actual de firefox → about:profiles
# Cerrar firefox
# Instalar sqlite3 y ejecutar:
sqlite3 formhistory.sqlite -batch -cmd "select value from moz_formhistory where fieldname = 'prompt_input';"

1.2.22. TICKLER Firefox Project Fission: Isolated Tabs in Firefox   track

1.3. Librewolf

1.3.1. Ver “Librewolf Review” en YouTube

1.3.4. FireDragon

https://garudalinux.org/index.html
A privacy-friendly yet usable browser based on LibreWolf
We ship our own browser, FireDragon which is forked from LibreWolf. Amongst its features are privacy-friendly defaults, enhanced KDE integration and a small collection of useful addons. The default search engine is SearX instance run on our server.

1.4. Waterfox

1.4.1. Waterfox: A Firefox fork that could teach Mozilla a lesson • The Register

1.6. Firefox para Android Libre

1.7. QtBrowser

Te abre nuevas pestañas en nuevas ventanas de manera que puedes moverlas a nuevos escritorios en i3

1.9. Search Engine

1.9.1. DuckDuckGo Just Got Worse - YouTube

1.9.1.1. https://search.brave.com/bangs

Brave tiene bangs que es lo único que usaba de duckduckgo

1.9.1.2. https://searx.github.io/searx/user/search_syntax.html

searx también tiene bangs, es distribuido

1.10. servo/servo: The Servo Browser Engine

https://www.reddit.com/r/firefox/comments/yvd1f0/whats_the_status_of_servo_right_now/
So what what point of Servo then?

  1. Test bed for the Rust Programming language
    1. Rust was super young when Servo was convinced. Its three major early projects were the Rust compiler, the Servo browser engine, and the Redux operating system. These projects were critical for stressing the language and making sure it could actually work in the real world.
    2. Rust has been a major success of Mozilla’s. They bet early and hard on what could have died and weighted them down (having a dead language in your production code is a bad idea). But now many other organizations have stepped in and Mozilla no longer is needed as the sole maintainer of Rust, yet still uses significant amounts of Rust in its codebase.
  2. Fixing the most challenging problems with Firefox
    1. The browser is one of the most security and performance critical programs you can run on your computer. Firefox code base (especially a decade ago when all this Servo/Rust stuff was really getting going) was extremely difficult to work with. Security issues were extremely subtle and even harder to fix. Even very experienced engineers were constantly getting this wrong at all major companies (not just Mozilla). Basically to got to the point where simply coding all performant code in C++ was simply no longer cutting it.. Also Mozilla also wants to be inclusive and accept code from many open contributors without sacrificing security/performance.
    2. Rust was the perfect way to do this.

1.12. Arc web browser review: a new way of using the internet - The Verge

https://www.theverge.com/23462235/arc-web-browser-review

Rename tabs, give them a color, group in folders
By default, closes unpinned open tabs every 12 hours (24h, multiple days, …)
Each space can have a different set of pins and tabs, a different-colored sidebar, even a different set of user accounts.
Notes (with is own url) and Easels.
Easel: you can write, draw, or add pictures or videos. You can even replace a screenshot with a live version of any webpage, or multiple at once
Easily shareable and collaborative

Juntar con clipboard manager como klipper, inteligente (un paso antes o después de browser)

Author: Julian Lopez Carballal

Created: 2024-09-16 Mon 05:18