summaryrefslogtreecommitdiff
path: root/ext/js/accessibility/accessibility-controller.js
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-03-25 12:27:32 +0900
committerGitHub <noreply@github.com>2023-03-25 12:27:32 +0900
commit346c7c53585597b45691eec7908c13fb86527f6b (patch)
tree16b2124bab00a73d54212b0417a843f74c358881 /ext/js/accessibility/accessibility-controller.js
parent2971bd42e11882202a6f72820b6b7e4ecf2b1f41 (diff)
parent028a76dcdb3fa2abe5c7d53beca9d103dd1a3436 (diff)
Merge pull request #107 from themoeway/fix-google-docs-regex
Fix Google Docs URL regex to not be excessively wide
Diffstat (limited to 'ext/js/accessibility/accessibility-controller.js')
-rw-r--r--ext/js/accessibility/accessibility-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/accessibility/accessibility-controller.js b/ext/js/accessibility/accessibility-controller.js
index 1ca8da2c..aa27cbf4 100644
--- a/ext/js/accessibility/accessibility-controller.js
+++ b/ext/js/accessibility/accessibility-controller.js
@@ -82,7 +82,7 @@ class AccessibilityController {
allFrames: true,
matchAboutBlank: true,
matches: ['*://docs.google.com/*'],
- urlMatches: '^[^:]*://docs.google.com/[\\w\\W]*$',
+ urlMatches: '^[^:]*://docs\\.google\\.com/[\\w\\W]*$',
runAt: 'document_start',
js: ['js/accessibility/google-docs.js']
};