Skip to content

A set of Web Extensions that adds ArchLinux (forum, wiki) as a search engine to the Firefox browser. Modified for Arch Linux CN

License

Notifications You must be signed in to change notification settings

snowdropQwQ/firefox-extension-arch-search-archcn

 
 

Repository files navigation

ArchLinux Search for ArchLinuxCN

GitHub tag (latest SemVer) License

image

A set of Web Extensions that adds ArchLinux (forum, wiki) as a search engine to the Firefox browser (using the chrome_settings_overrides manifest key). Submits the query via GET request for compatibility with Multi-Account Containers.

Forked from noraj/firefox-extension-arch-search.

Available search engines:

name shortcut Install
ArchLinux Wiki Search alcnwiki AMO
ArchLinux Forum (by author) Search alcnforuma AMO
archLinux Forum (by keywords) Search alcnforumk AMO

Install

  • On any other OS: install the extensions manually via AMO (Addons MOzilla) following the links above

Develop Locally

  • Clone the repo
  • Install tools:
  • Install dependencies:
    • bun i
  • Lint (check for manifest syntax errors)
    • bun run --bun lint -- -s web-extensions/v3/<ext-name>
  • Run add-on in isolated Firefox instance using web-ext (open the Browser Toolbox for console logging):
    • bun run run -- -s web-extensions/v3/<ext-name>
  • Package for distribution:
    • One extension: bun run build -- -s web-extensions/v3/<ext-name>
    • All extensions: bun run buildAll

FAQ

  • Why is there one extension per search engine?
  • After the installation, I still don't see the new search engines. Where are there?
    • Disable/Enable the extensions, this will reload them and they'll appear.
  • It's possible to add the search engines by clicking the plus button on the search bar, so why an extension?
    • It's way quicker to install the extension rather than manually adding the search engines. An extension also allows automation.
    • The bug tracker & the forum use advanced search with several parameters so it's not possible to add them manually via the search bar, an extension is mandatory.

About

A set of Web Extensions that adds ArchLinux (forum, wiki) as a search engine to the Firefox browser. Modified for Arch Linux CN

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 71.2%
  • JavaScript 28.8%