Lingdys for Chrome

Lingdys for Chrome

Lese- og skrivestøtte for Chrome

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "Lingdys for Chrome",
  "description": "Lese- og skrivestøtte for Chrome",
  "version": "0.6.5.38",
  "icons": {
    "16": "assets/img/lingdys-icon.png",
    "48": "assets/img/lingdys-icon.png",
    "128": "assets/img/lingdys-icon.png"
  },
  "action": {
    "default_icon": "assets/img/lingdys-icon.png",
    "default_title": "Lingdys for Chrome"
  },
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "1",
        "enabled": true,
        "path": "./rule_set_1.json"
      }
    ]
  },
  "permissions": [
    "declarativeNetRequest",
    "declarativeNetRequestWithHostAccess",
    "declarativeNetRequestFeedback",
    "management",
    "storage",
    "tabs",
    "clipboardWrite",
    "clipboardRead",
    "desktopCapture",
    "webRequest"
  ],
  "host_permissions": [
    "http://*/*",
    "https://*/*",
    "*://*/*",
    "<all_urls>"
  ],
  "options_page": "options.html",
  "content_scripts": [
    {
      "matches": [
        "*://*.docs.google.com/document/*",
        "*://*.docs.google.com/presentation/*"
      ],
      "exclude_matches": [
        "https://docs.google.com/spreadsheets/",
        "https://docs.google.com/spreadsheets/*",
        "*://*.docs.google.com/forms/*"
      ],
      "js": [
        "content-script-remote-executor.js",
        "loader.js",
        "js/content-local-message-reducer.js"
      ],
      "css": [
        "js/spelling/inject-styles.css"
      ],
      "run_at": "document_start",
      "all_frames": false
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "exclude_matches": [
        "https://*/_/chrome/*",
        "https://konto.lingit.no/account/*",
        "https://konto.lingit.no/Account/*",
        "https://konto.lingit.no/startupwiz/*",
        "https://konto.lingit.no/StartupWiz/*",
        "https://developkonto.lingit.no/*",
        "https://developkonto.lingit.no/account/*",
        "https://developkonto.lingit.no/Account/*",
        "https://developkonto.lingit.no/startupwiz/*",
        "https://developkonto.lingit.no/StartupWiz/*",
        "https://stagingkonto.lingit.no/*",
        "https://stagingkonto.lingit.no/account/*",
        "https://stagingkonto.lingit.no/Account/*",
        "https://stagingkonto.lingit.no/startupwiz/*",
        "https://stagingkonto.lingit.no/StartupWiz/*",
        "https://idp-test.feide.no/simplesaml/*",
        "https://idp.feide.no/simplesaml/*",
        "https://accounts.google.com/*",
        "https://lingit.atlassian.net/*",
        "http://jenkins.lingit.no/*",
        "*://*.docs.google.com/*",
        "https://bok2.smartbok.no/*",
        "https://www.skolearena.no/*",
        "https://www.skolearena.no/",
        "https://www.skolearena.com/*",
        "https://www.skolearena.com/",
        "https://iskole.net/",
        "https://iskole.net/*",
        "https://www.netflix.com/",
        "https://www.netflix.com/*",
        "https://meet.google.com/*"
      ],
      "js": [
        "content-script-remote-executor.js",
        "loader.js",
        "js/content-local-message-reducer.js"
      ],
      "css": [
        "js/spelling/inject-styles.css"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "exclude_matches": [
        "https://*/_/chrome/*",
        "https://konto.lingit.no/account/*",
        "https://konto.lingit.no/Account/*",
        "https://konto.lingit.no/startupwiz/*",
        "https://konto.lingit.no/StartupWiz/*",
        "https://developkonto.lingit.no/*",
        "https://developkonto.lingit.no/account/*",
        "https://developkonto.lingit.no/Account/*",
        "https://developkonto.lingit.no/startupwiz/*",
        "https://developkonto.lingit.no/StartupWiz/*",
        "https://idp-test.feide.no/simplesaml/*",
        "https://stagingkonto.lingit.no/*",
        "https://stagingkonto.lingit.no/account/*",
        "https://stagingkonto.lingit.no/Account/*",
        "https://stagingkonto.lingit.no/startupwiz/*",
        "https://stagingkonto.lingit.no/StartupWiz/*",
        "https://idp.feide.no/simplesaml/*",
        "https://accounts.google.com/*",
        "https://lingit.atlassian.net/*",
        "http://jenkins.lingit.no/*",
        "https://docs.google.com/spreadsheets/",
        "https://docs.google.com/spreadsheets/*",
        "https://www.skolearena.no/*",
        "https://www.skolearena.no/",
        "https://www.skolearena.com/*",
        "https://www.skolearena.com/",
        "https://iskole.net/",
        "https://iskole.net/*",
        "https://www.netflix.com/",
        "https://www.netflix.com/*",
        "https://meet.google.com/*"
      ],
      "js": [],
      "css": [
        "inject-styles.css"
      ],
      "run_at": "document_start",
      "all_frames": false
    }
  ],
  "background": {
    "service_worker": "background-remote-executor.js"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "/*.*",
        "js/**/*.*",
        "js/*.*",
        "images/*.png"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self' ; worker-src 'self' ;   object-src 'none'; frame-src 'self' chrome-extension://* https://auth.dataporten.no/ https://idp.feide.no/ https://developkonto.lingit.no/ https://stagingkonto.lingit.no/ https://konto.lingit.no/; default-src 'self' 'unsafe-inline' blob:; script-src-elem 'self'  https://*.google-analytics.com chrome-extension://*; media-src 'self' https://*.lingit.no https://*.webappella.com; connect-src 'self' wss://* data://* file://* https://* http://*; child-src 'self' https://lingit-test.eu.auth0.com https://*.lingit.no https://*.webappella.com https://*.google-analytics.com; img-src 'self' https://*.google-analytics.com https://www.google.com/ads/ https://www.google.ua/ads/ga-audiences https://www.google.no/ads/ga-audiences data:; font-src 'self' https://fonts.gstatic.com"
  }
}