Selaa lähdekoodia

Update the default path matching regex to allow querystring at the end of the URL

simov 8 vuotta sitten
vanhempi
sitoutus
fc41f53855
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      background/background.js

+ 1 - 1
background/background.js

@@ -2,7 +2,7 @@
 // chrome.storage.sync.clear()
 // chrome.permissions.getAll((p) => chrome.permissions.remove({origins: p.origins}))
 
-var match = '\\.(?:markdown|mdown|mkdn|md|mkd|mdwn|mdtxt|mdtext|text)(?:#.*)?$'
+var match = '\\.(?:markdown|mdown|mkdn|md|mkd|mdwn|mdtxt|mdtext|text)(?:#.*|\\?.*)?$'
 
 var defaults = {
   theme: 'github',