Browse Source

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

simov 8 years ago
parent
commit
fc41f53855
1 changed files with 1 additions and 1 deletions
  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',