auto find text fragment

auto find text fragment

This extension emulates Google Chrome's #:~:text fragment "scroll to text" behavior.

Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "name": "auto find text fragment",
  "version": "0.2.0",
  "description": "This extension emulates Google Chrome's #:~:text fragment behavior.",
  "author": "xia@silvia.com",
  "homepage_url": "https://github.com/xia-sava/auto-find-text-fragment",
  "applications": {
    "gecko": {
      "id": "xia@silvia.com"
    }
  },
  "permissions": [
    "activeTab",
    "clipboardWrite",
    "find",
    "tabs"
  ],
  "content_security_policy": "script-src 'self'; object-src 'self'",
  "icons": {
    "512": "icons/hashtag.svg"
  },
  "background": {
    "scripts": [
      "js/background.js"
    ]
  },
  "browser_action": {
    "default_icon": {
      "512": "icons/hashtag.svg"
    },
    "default_title": "Selection to Fragment"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "js/content.js"
      ]
    }
  ]
}