Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(manifest): Refines content_scripts permissions on azure websites #385

Merged
merged 2 commits into from
Jul 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Changes:
- None yet

Fixes:
- None yet
- Refines content_scripts permissions on azure websites([#374](https://github.com/freelawproject/recap/issues/374), [#385](https://github.com/freelawproject/recap-chrome/pull/385))

For developers:
- Nothing yet
Expand Down
102 changes: 87 additions & 15 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,21 +92,93 @@
"background.js"
]
},
"content_scripts": [{
"matches": ["*://*.uscourts.gov/*", "*://*.azurewebsites.us/*"],
"include_globs": ["*://ecf.*", "*://ecf-train.*", "*://pacer.*", "*://*-showdoc.*"],
"css": [
"assets/css/style.css",
"assets/css/font-awesome.css"
],
"run_at": "document_end"
}, {
"matches": ["https://www.courtlistener.com/*"],
"js": [
"install_notifier.js"
],
"run_at": "document_idle"
}],
"content_scripts": [
{
"matches": [
"*://*.uscourts.gov/*"
],
"include_globs": [
"*://ecf.*",
"*://ecf-train.*",
"*://pacer.*"
],
"css": [
"assets/css/style.css",
"assets/css/font-awesome.css"
],
"run_at": "document_end"
},
{
"matches": [
"*://ca1-showdoc.azurewebsites.us/*",
"*://ca2-showdoc.azurewebsites.us/*",
"*://ca3-showdoc.azurewebsites.us/*",
"*://ca4-showdoc.azurewebsites.us/*",
"*://ca5-showdoc.azurewebsites.us/*",
"*://ca6-showdoc.azurewebsites.us/*",
"*://ca7-showdoc.azurewebsites.us/*",
"*://ca8-showdoc.azurewebsites.us/*",
"*://ca9-showdoc.azurewebsites.us/*",
"*://ca10-showdoc.azurewebsites.us/*",
"*://ca11-showdoc.azurewebsites.us/*",
"*://cafc-showdoc.azurewebsites.us/*",
"*://cadc-showdoc.azurewebsites.us/*",
"*://ca1-showdocservices.azurewebsites.us/*",
"*://ca2-showdocservices.azurewebsites.us/*",
"*://ca3-showdocservices.azurewebsites.us/*",
"*://ca4-showdocservices.azurewebsites.us/*",
"*://ca5-showdocservices.azurewebsites.us/*",
"*://ca6-showdocservices.azurewebsites.us/*",
"*://ca7-showdocservices.azurewebsites.us/*",
"*://ca8-showdocservices.azurewebsites.us/*",
"*://ca9-showdocservices.azurewebsites.us/*",
"*://ca10-showdocservices.azurewebsites.us/*",
"*://ca11-showdocservices.azurewebsites.us/*",
"*://cafc-showdocservices.azurewebsites.us/*",
"*://cadc-showdocservices.azurewebsites.us/*",
"*://ca1-portal.powerappsportals.us/*",
"*://ca2-portal.powerappsportals.us/*",
"*://ca3-portal.powerappsportals.us/*",
"*://ca4-portal.powerappsportals.us/*",
"*://ca5-portal.powerappsportals.us/*",
"*://ca6-portal.powerappsportals.us/*",
"*://ca7-portal.powerappsportals.us/*",
"*://ca8-portal.powerappsportals.us/*",
"*://ca9-portal.powerappsportals.us/*",
"*://ca10-portal.powerappsportals.us/*",
"*://ca11-portal.powerappsportals.us/*",
"*://cafc-portal.powerappsportals.us/*",
"*://cadc-portal.powerappsportals.us/*",
"*://ca1.fedcourts.us/*",
"*://ca2.fedcourts.us/*",
"*://ca3.fedcourts.us/*",
"*://ca4.fedcourts.us/*",
"*://ca5.fedcourts.us/*",
"*://ca6.fedcourts.us/*",
"*://ca7.fedcourts.us/*",
"*://ca8.fedcourts.us/*",
"*://ca9.fedcourts.us/*",
"*://ca10.fedcourts.us/*",
"*://ca11.fedcourts.us/*",
"*://cafc.fedcourts.us/*",
"*://cadc.fedcourts.us/*"
],
"css": [
"assets/css/style.css",
"assets/css/font-awesome.css"
],
"run_at": "document_end"
},
{
"matches": [
"https://www.courtlistener.com/*"
],
"js": [
"install_notifier.js"
],
"run_at": "document_idle"
}
],
"browser_action": {
"default_icon": {
"19": "assets/images/grey-19.png",
Expand Down
Loading