Firefox quicksearches using keywords
[modifica | modifica wikitesto]La mia vita sarebbe lentissima senza le keyword per i bookmark di Firefox.
bookmarks.html
[modifica | modifica wikitesto]<!DOCTYPE NETSCAPE-Bookmark-file-1>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks Menu</H1>
<DL><p>
<DT><H3>Quicksearches</H3>
<DL><p>
<DT><A HREF="https://www.amazon.de/s?&field-keywords=%s" SHORTCUTURL="amd">[AMD] Search in Amazon.de</A>
<DT><A HREF="https://www.amazon.it/s?&field-keywords=%s" SHORTCUTURL="ami">[AMI] Search in Amazon.it</A>
<DT><A HREF="https://html.duckduckgo.com/html/?q=%s+site%3Ahttps%3A%2F%2Farstechnica.com">[ARS] Search in Ars Technica</A>
<DT><A HREF="https://google.com/search?&q=%s+site%3Aarchlinux.org" SHORTCUTURL="arch">[ARCH] Search in Archlinux</A>
<DT><A HREF="https://camelcamelcamel.com/search?sq=%s" SHORTCUTURL="cam">[CAM] Amazon prices chronology</A>
<DT><A HREF="https://html.duckduckgo.com/html/?q=%s+site%3Ahttps%3A%2F%2Fen.cppreference.com%2Fw%2F" SHORTCUTURL="cpp">[CPP] Search in cppreference.com</A>
<DT><A HREF="https://www.ebay.it/sch/i.html?_nkw=%s" SHORTCUTURL="ebi">[EBI] Search in eBay.it</A>
<DT><A HREF="https://html.duckduckgo.com/html/?q=%s+site%3Ahttps%3A%2F%2Fgithub.com" SHORTCUTURL="gh">[GH] Search in GitHub</A>
<DT><A HREF="https://html.duckduckgo.com/html/?q=%s+site%3Ahttps%3A%2F%2Fnews.ycombinator.com" SHORTCUTURL="hn">[HN] Search in Hacker News</A>
<DT><A HREF="https://html.duckduckgo.com/html/?q=%s+site:developer.mozilla.org" SHORTCUTURL="mdn">[MDN] Search in MDN web docs</A>
<DT><A HREF="https://html.duckduckgo.com/html/?q=%s+site%3Ahttps%3A%2F%2Fwww.php.net%2Fmanual%2Fen" SHORTCUTURL="php">[PHP] Search in PHP manual</A>
<DT><A HREF="https://html.duckduckgo.com/html/?q=%s+site%3Ahttps%3A%2F%2Fdocs.python.org%2F3" SHORTCUTURL="py3">[PY3] Search in Python 3 documentation</A>
<DT><A HREF="https://html.duckduckgo.com/html/?q=%s+site%3Ahttps:%3A%2F%2Fdoc.qt.io%2Fqt-6" SHORTCUTURL="qt">[QT5] Search in Qt 6 documentation</A>
<DT><A HREF="https://www.cercarime.it/?rima=%s" SHORTCUTURL="rim">[RIM] Search for Italian rhymes</A>
<DT><A HREF="https://html.duckduckgo.com/html/?q=%s+site%3Adictionary.sensagent.com" SHORTCUTURL="sen">[SEN] Search in dictionary.sensagent.com</A>
<DT><A HREF="https://html.duckduckgo.com/html/?q=%s+site:www.homolaicus.com/linguaggi/sinonimi/hypertext" SHORTCUTURL="sin">[SIN] Sinonimi Master - www.homolaicus.com</A>
<DT><A HREF="https://html.duckduckgo.com/html/?q=%s%20filetype%3Atorrent" SHORTCUTURL="tor">[TOR] Search for torrent files</A>
<DT><A HREF="https://www.televideo.rai.it/televideo/pub/solotesto.jsp?pagina=%s" SHORTCUTURL="tv">[TV] Televideo - Rai</A>
<DT><A HREF="https://youtube.com/results?search_query=%s" SHORTCUTURL="yt">[YT] Search in YouTube</A>
<DT><H3>Localized searches via DuckDuckGo</H3>
<DL><p>
<DT><A HREF="https://html.duckduckgo.com/html/?kad=de_DE&q=%s" SHORTCUTURL="gde">[GDE] Search with DuckDuckGo (German pages)</A>
<DT><A HREF="https://html.duckduckgo.com/html/?kad=en_US&q=%s" SHORTCUTURL="gen">[GEN] Search with DuckDuckGo (English pages)</A>
<DT><A HREF="https://html.duckduckgo.com/html/?kad=it_IT&q=%s" SHORTCUTURL="git">[GIT] Search with DuckDuckGo (Italian pages)</A>
<DT><A HREF="https://html.duckduckgo.com/html/?kad=pt_BR&q=%s" SHORTCUTURL="gpt">[GPT] Search with DuckDuckGo (Português pages)</A>
</DL><p>
<DT><H3>Localized searches via Google (DEPRECATED)</H3>
<DL><p>
<DT><A HREF="https://www.google.it/search?q=%s&lr=lang_de" SHORTCUTURL="gdeg">[GDEG] Search with Google (German pages)</A>
<DT><A HREF="https://www.google.it/search?q=%s&lr=lang_en" SHORTCUTURL="geng">[GENG] Search with Google (English pages)</A>
<DT><A HREF="https://www.google.it/search?q=%s&lr=lang_it" SHORTCUTURL="gitg">[GITG] Search with Google (Italian pages)</A>
<DT><A HREF="https://www.google.it/search?q=%s&lr=lang_pt" SHORTCUTURL="gptg">[GPTG] Search with Google (Português pages)</A>
</DL><p>
<DT><H3>Google Images</H3>
<DL><p>
<DT><A HREF="https://www.google.com/search?tbm=isch&q=%s" SHORTCUTURL="gim">[GIM] Search in Google Images</A>
<DT><A HREF="https://www.google.it/search?tbm=isch&hl=it&q=%s" SHORTCUTURL="gimit">[GIMIT] Search in Google Images (Italian)</A>
</DL><p>
<DT><H3>Maps (Google and OpenStreetMap)</H3>
<DL><p>
<DT><A HREF="https://maps.google.it/?q=%s" SHORTCUTURL="gm">[GM] Search in Google Maps</A>
<DT><A HREF="https://maps.google.it/maps?saddr=colosseo+roma&daddr=%s" SHORTCUTURL="gmc">[GMC] Google Maps - Percorso dal Colosseo</A>
<DT><A HREF="https://www.openstreetmap.org/search?query=%s" SHORTCUTURL="map">[MAP] Search in OpenStreetMap</A>
</DL><p>
<DT><H3>Google Translate</H3>
<DL><p>
<DT><A HREF="https://translate.google.it/?sl=de&tl=en&text=%s" SHORTCUTURL="d2e">[D2E] Deutsch -> English</A>
<DT><A HREF="https://translate.google.it/?sl=de&tl=it&text=%s" SHORTCUTURL="d2i">[D2I] Deutsch -> Italian</A>
<DT><A HREF="https://translate.google.it/?sl=en&tl=it&text=%s" SHORTCUTURL="e2i">[E2I] English -> Italian</A>
<DT><A HREF="https://translate.google.it/?sl=en&tl=de&text=%s" SHORTCUTURL="e2d">[E2D] English -> Deutsch</A>
<DT><A HREF="https://translate.google.it/?sl=it&tl=de&text=%s" SHORTCUTURL="i2d">[I2D] Italian -> Deutsch</A>
<DT><A HREF="https://translate.google.it/?sl=it&tl=en&text=%s" SHORTCUTURL="i2e">[I2E] Italian -> English</A>
<DT><A HREF="https://translate.google.it/?sl=it&tl=pt&text=%s" SHORTCUTURL="i2p">[I2P] Italian -> Português</A>
<DT><A HREF="https://translate.google.it/?sl=pt&tl=it&text=%s" SHORTCUTURL="p2i">[P2I] Português -> Italian</A>
<DT><A HREF="https://translate.google.it/?sl=de&tl=en&text=%s" SHORTCUTURL="d2e">[D2E] Deutsch -> English</A>
<DT><A HREF="https://translate.google.it/?sl=de&tl=it&text=%s" SHORTCUTURL="d2i">[D2I] Deutsch -> Italian</A>
<DT><A HREF="https://translate.google.it/?sl=en&tl=it&text=%s" SHORTCUTURL="e2i">[E2I] English -> Italian</A>
<DT><A HREF="https://translate.google.it/?sl=it&tl=en&text=%s" SHORTCUTURL="i2e">[I2E] Italian -> English</A>
<DT><A HREF="https://translate.google.it/?sl=it&tl=pt&text=%s" SHORTCUTURL="i2p">[I2P] Italian -> Português</A>
<DT><A HREF="https://translate.google.it/?sl=pt&tl=it&text=%s" SHORTCUTURL="p2i">[P2I] Português -> Italian</A>
</DL><p>
<DT><H3>Teknopedia searches via internal search engine</H3>
<DL><p>
<DT><A HREF="https://de.wikipedia.org/w/index.php?search=%s" SHORTCUTURL="wde">[WDE] Search in German Teknopedia</A>
<DT><A HREF="https://en.wikipedia.org/w/index.php?search=%s" SHORTCUTURL="wen">[WEN] Search in English Teknopedia</A>
<DT><A HREF="https://it.wikipedia.org/w/index.php?search=%s" SHORTCUTURL="wit">[WIT] Search in Italian Teknopedia</A>
<DT><A HREF="https://pt.wikipedia.org/w/index.php?search=%s" SHORTCUTURL="wpt">[WPT] Search in Portuguese Teknopedia</A>
</DL><p>
<DT><H3>Teknopedia searches via Google (DEPRECATED)</H3>
<DL><p>
<DT><A HREF="https://google.com/search?q=%s+site%3Ade.wikipedia.org" SHORTCUTURL="wdeg">[WDEG] Search in German Teknopedia via Google</A>
<DT><A HREF="https://google.com/search?q=%s+site%3Aen.wikipedia.org" SHORTCUTURL="weng">[WENG] Search in English Teknopedia via Google</A>
<DT><A HREF="https://google.com/search?q=%s+site%3Ait.wikipedia.org" SHORTCUTURL="witg">[WITG] Search in Italian Teknopedia via Google</A>
<DT><A HREF="https://google.com/search?q=%s+site%3Apt.wikipedia.org" SHORTCUTURL="wptg">[WPTG] Search in Portuguese Teknopedia via Google</A>
</DL><p>
<DT><H3>Firefox internals</H3>
<DL><p>
<DT><A HREF="about:addons" SHORTCUTURL="add">[ADD] About Addons</A>
<DT><A HREF="about:config" SHORTCUTURL="cfg">[CFG] Configure firefox</A>
<DT><A HREF="about:debugging" SHORTCUTURL="dbg">[DBG] Debugging with Firefox Developer Tools</A>
<DT><A HREF="about:logins" SHORTCUTURL="log">[LOG] Logins</A>
<DT><A HREF="about:performance" SHORTCUTURL="perf">[PERF] Firefox Performance metrics</A>
<DT><A HREF="about:plugins" SHORTCUTURL="plg">[PLG] About Plugins</A>
<DT><A HREF="about:preferences" SHORTCUTURL="perf">[PREF] Firefox Preferences (configuration)</A>
<DT><A HREF="about:profiles" SHORTCUTURL="prof">[PROF] About Profiles</A>
<DT><A HREF="about:support" SHORTCUTURL="supp">[SUPP] Troubleshooting Information</A>
</DL><p>
</DL><p>
</DL>
normalization script
[modifica | modifica wikitesto]Comando per rimuovere date ed icone e rendere confrontabile il file:
sed --in-place --regexp-extended 's/ LAST_MODIFIED="[^"]*"//g ; s/ ADD_DATE="[^"]*"//g ; s/ ICON_URI="[^"]*"//g ; s/ ICON="[^"]*"//g' <bookmarks_html_file>