summaryrefslogtreecommitdiff
path: root/ext/js/accessibility/accessibility-controller.js
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-03-25 10:45:54 +0900
committerDarius Jahandarie <djahandarie@gmail.com>2023-03-25 11:27:37 +0900
commit028a76dcdb3fa2abe5c7d53beca9d103dd1a3436 (patch)
tree16b2124bab00a73d54212b0417a843f74c358881 /ext/js/accessibility/accessibility-controller.js
parent2971bd42e11882202a6f72820b6b7e4ecf2b1f41 (diff)
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']
};