{"id":19443358,"url":"https://github.com/smashedr/web-extension-template","last_synced_at":"2026-05-15T17:08:15.678Z","repository":{"id":204788143,"uuid":"712663590","full_name":"smashedr/web-extension-template","owner":"smashedr","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-18T08:05:24.000Z","size":231,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T08:15:35.153Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smashedr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-31T23:41:22.000Z","updated_at":"2023-10-31T23:41:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"aff0d3a8-19a6-4b35-893a-404952dfe766","html_url":"https://github.com/smashedr/web-extension-template","commit_stats":null,"previous_names":["smashedr/web-extension-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smashedr/web-extension-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashedr%2Fweb-extension-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashedr%2Fweb-extension-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashedr%2Fweb-extension-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashedr%2Fweb-extension-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smashedr","download_url":"https://codeload.github.com/smashedr/web-extension-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashedr%2Fweb-extension-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33073005,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T15:42:56.143Z","updated_at":"2026-05-15T17:08:15.643Z","avatar_url":"https://github.com/smashedr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build](https://github.com/cssnr/link-extractor/actions/workflows/build.yaml/badge.svg)](https://github.com/cssnr/link-extractor/actions/workflows/build.yaml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=cssnr_link-extractor\u0026metric=alert_status\u0026label=quality)](https://sonarcloud.io/summary/overall?id=cssnr_link-extractor)\n[![Manifest Version](https://img.shields.io/github/manifest-json/v/cssnr/link-extractor?filename=manifest.json\u0026logo=json\u0026label=manifest)](https://github.com/cssnr/link-extractor/blob/master/src/manifest.json)\n[![GitHub Release Version](https://img.shields.io/github/v/release/cssnr/link-extractor?logo=github)](https://github.com/cssnr/link-extractor/releases/latest)\n[![Chrome Web Store Version](https://img.shields.io/chrome-web-store/v/ifefifghpkllfibejafbakmflidjcjfp?label=chrome\u0026logo=googlechrome)](https://chrome.google.com/webstore/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp)\n[![Mozilla Add-on Version](https://img.shields.io/amo/v/link-extractor?label=firefox\u0026logo=firefox)](https://addons.mozilla.org/addon/link-extractor)\n[![Microsoft Edge Add-ons Version](https://img.shields.io/badge/dynamic/json?label=edge\u0026logo=microsoftedge\u0026prefix=v\u0026query=%24.version\u0026url=https%3A%2F%2Fmicrosoftedge.microsoft.com%2Faddons%2Fgetproductdetailsbycrxid%2Fnmndaimimedljcfgnnoahempcajdamej)](https://microsoftedge.microsoft.com/addons/detail/link-extractor/nmndaimimedljcfgnnoahempcajdamej)\n[![Chrome Web Store Users](https://img.shields.io/chrome-web-store/users/ifefifghpkllfibejafbakmflidjcjfp?logo=google\u0026logoColor=white\u0026label=google%20users)](https://chrome.google.com/webstore/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp)\n[![Mozilla Add-on Users](https://img.shields.io/amo/users/link-extractor?logo=mozilla\u0026label=mozilla%20users)](https://addons.mozilla.org/addon/link-extractor)\n[![Microsoft Edge Add-ons Users](https://img.shields.io/badge/dynamic/json?label=microsoft%20users\u0026logo=microsoft\u0026query=%24.activeInstallCount\u0026url=https%3A%2F%2Fmicrosoftedge.microsoft.com%2Faddons%2Fgetproductdetailsbycrxid%2Fnmndaimimedljcfgnnoahempcajdamej)](https://microsoftedge.microsoft.com/addons/detail/link-extractor/nmndaimimedljcfgnnoahempcajdamej)\n# Web Extension Example\n\nModern Chrome and Firefox Web Extension Example to set and remember your favorite color.\n\n*   [Install](#install)\n*   [Features](#features)\n*   [Configuration](#configuration)\n*   [Development](#development)\n    -   [Building](#building)\n    -   [Chrome Setup](#chrome-setup)\n    -   [Firefox Setup](#firefox-setup)\n\n# Install\n\n*   [Google Chrome Web Store](https://chrome.google.com/webstore/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp)\n*   [Mozilla Firefox Add-ons](https://addons.mozilla.org/addon/link-extractor)\n*   [Microsoft Edge Add-ons](https://microsoftedge.microsoft.com/addons/detail/link-extractor/nmndaimimedljcfgnnoahempcajdamej)\n\n\u003ca href=\"https://chrome.google.com/webstore/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Chrome\" src=\"https://raw.githubusercontent.com/raivo-otp/issuer-icons/master/vectors/google.com/google-chrome.svg\" width=\"42\" height=\"42\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://addons.mozilla.org/addon/link-extractor\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Firefox\" src=\"https://raw.githubusercontent.com/raivo-otp/issuer-icons/master/vectors/firefox.com/firefox.svg\" width=\"42\" height=\"42\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://microsoftedge.microsoft.com/addons/detail/link-extractor/nmndaimimedljcfgnnoahempcajdamej\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Edge\" src=\"https://raw.githubusercontent.com/raivo-otp/issuer-icons/master/vectors/microsoft.com/microsoft-edge.svg\" width=\"42\" height=\"42\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://chrome.google.com/webstore/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Opera\" src=\"https://raw.githubusercontent.com/raivo-otp/issuer-icons/master/vectors/opera.com/opera.svg\" width=\"42\" height=\"42\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://chrome.google.com/webstore/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Brave\" src=\"https://raw.githubusercontent.com/raivo-otp/issuer-icons/master/vectors/brave.com/brave.svg\" width=\"42\" height=\"42\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://chrome.google.com/webstore/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Vivaldi\" src=\"https://raw.githubusercontent.com/raivo-otp/issuer-icons/master/vectors/vivaldi.com/vivaldi.svg\" width=\"42\" height=\"42\" /\u003e\u003c/a\u003e\n\nAll Chromium Based Browsers can install the extension from the\n[Chrome Web Store](https://chrome.google.com/webstore/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp).\n\n# Features\n\n*   Set and Display your Favorite Color\n*   Set Selected Text to Favorite Color\n\n# Configuration\n\nYou can pin the Addon by clicking the `Puzzle Piece`, find the Web Extension icon, then;  \n**Firefox**, click the `Settings Wheel` and `Pin to Toolbar`.  \n**Chrome**, click the `Pin` icon.  \n\nTo open the options, click on the icon (from above) then click `Open Options`.\n\n# Development\n\n**Quick Start**\n\nTo install and run chrome or firefox with web-ext.\n```shell\nnpm isntall\nnpm run chrome\nnpm run firefox\n```\n\nTo Load Unpacked/Temporary Add-on make a `manifest.json` and run from the [src](src) folder.\n```shell\nnpm run manifest:chrome\nnpm run manifest:firefox\n```\n\nFor more information on web-ext, [read this documentation](https://extensionworkshop.com/documentation/develop/web-ext-command-reference/).  \nTo pass additional arguments to an `npm run` command, use `--`.  \nExample: `npm run chrome -- --chromium-binary=...`\n\n## Building\n\nInstall the requirements and copy libraries into the `src/dist` directory by running `npm install`.\nSee [gulpfile.js](gulpfile.js) for more information on `postinstall`.\n```shell\nnpm install\n```\n\nTo load unpacked or temporary addon from the [src](src) folder, you must generate the `src/manifest.json` for the desired browser.\n```shell\nnpm run manifest:chrome\nnpm run manifest:firefox\n```\n\nIf you would like to create a `.zip` archive of the [src](src) directory for the desired browser.\n```shell\nnpm run build\nnpm run build:chrome\nnpm run build:firefox\n```\n\nFor more information on building, see the scripts in the [package.json](package.json) file.\n\n## Chrome Setup\n\n1.  Build or Download a [Release](https://github.com/cssnr/link-extractor/releases).\n1.  Unzip the archive, place the folder where it must remain and note its location for later.\n1.  Open Chrome, click the `3 dots` in the top right, click `Extensions`, click `Manage Extensions`.\n1.  In the top right, click `Developer Mode` then on the top left click `Load unpacked`.\n1.  Navigate to the folder you extracted in step #3 then click `Select Folder`.\n\n## Firefox Setup\n\nNote: Firefox Temporary addon's will **not** remain after restarting Firefox, therefore;\nit is very useful to keep addon storage after uninstall/restart with `keepStorageOnUninstall`.\n\n1.  Build or Download a [Release](https://github.com/cssnr/link-extractor/releases).\n1.  Unzip the archive, place the folder where it must remain and note its location for later.\n1.  Go to `about:debugging#/runtime/this-firefox` and click `Load Temporary Add-on...`\n1.  Navigate to the folder you extracted earlier, select `manifest.json` then click `Select File`.\n1.  Open `about:config` search for `extensions.webextensions.keepStorageOnUninstall` and set to `true`.\n\nIf you need to test a restart, you must pack the addon. This only works in ESR, Development, or Nightly.\n\n1.  Run `npm run build:firefox` then use `web-ext-artifacts/{name}-firefox-{version}.zip`.\n1.  Open `about:config` search for `xpinstall.signatures.required` and set to `false`.\n1.  Open `about:addons` and drag the zip file to the page or choose Install from File from the Settings wheel.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmashedr%2Fweb-extension-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmashedr%2Fweb-extension-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmashedr%2Fweb-extension-template/lists"}