xLaw Firefox

Examine source code of xLaw

Inspect and view changes in xLaw source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "xLaw",
  "description": "Adding legal information to EUR-Lex, Riigi Teataja, Riigikohus.ee, Likumi.lv",
  "version": "3.70",
  "permissions": [
    "storage",
    "scripting",
    "contextMenus"
  ],
  "host_permissions": [
    "https://xlaw.ee/"
  ],
  "optional_host_permissions": [
    "*://*/*"
  ],
  "omnibox": {
    "keyword": "x"
  },
  "background": {
    "scripts": [
      "dist/background.js"
    ]
  },
  "icons": {
    "16": "img/16x16.png",
    "32": "img/32x32.png",
    "48": "img/48x48.png",
    "128": "img/128x128.png"
  },
  "content_scripts": [
    {
      "matches": [
        "https://xlaw.ee/*"
      ],
      "js": [
        "dist/cs_xlaw_ee.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "https://www.riigiteataja.ee/*"
      ],
      "css": [
        "css/font-inter.css",
        "dist/cs_riigiteataja.css"
      ],
      "js": [
        "dist/cs_riigiteataja.js"
      ]
    },
    {
      "matches": [
        "https://www.riigiteataja.ee/kohtulahendid/otsingutulemus.html*",
        "https://www.riigiteataja.ee/kohtulahendite_liigitus.html*",
        "https://www.riigiteataja.ee/akt_seosed_kohtulahenditega.html*"
      ],
      "js": [
        "dist/cs_kohtulahendid.js"
      ]
    },
    {
      "matches": [
        "https://www.riigiteataja.ee/kohtulahendid/detailid.html*"
      ],
      "css": [
        "css/font-inter.css"
      ],
      "js": [
        "dist/cs_kohtulahend_detailid.js"
      ]
    },
    {
      "matches": [
        "https://www.riigiteataja.ee/kohtuteave/kohtuistungid.html*"
      ],
      "css": [
        "css/font-inter.css"
      ],
      "js": [
        "dist/cs_rt_kohtuistungid.js"
      ]
    },
    {
      "matches": [
        "https://www.riigikohus.ee/lahendid*",
        "https://www.riigikohus.ee/et/lahendid*"
      ],
      "css": [
        "css/font-inter.css"
      ],
      "js": [
        "dist/cs_riigikohus_permission.js"
      ]
    },
    {
      "matches": [
        "https://eur-lex.europa.eu/*"
      ],
      "css": [
        "css/buttons.css",
        "css/font-inter.css",
        "dist/cs_eurlex.css"
      ],
      "js": [
        "dist/cs_eurlex.js"
      ]
    },
    {
      "matches": [
        "https://curia.europa.eu/*"
      ],
      "js": [
        "dist/cs_curia.js"
      ]
    }
  ],
  "action": {
    "default_icon": {
      "16": "img/16x16.png",
      "32": "img/32x32.png"
    },
    "default_popup": "popup.html"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "css/*",
        "img/*",
        "dist/*.css",
        "dist/*.map"
      ],
      "matches": [
        "*://*/*"
      ]
    }
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "jid1-lP9BZeeUyFxAbA@jetpack",
      "strict_min_version": "109.0"
    }
  }
}

Best xLaw Alternatives

Here are some Firefox add-ons that are similar to xLaw: