Improved url matching with named releases
This commit is contained in:
1 parent
0f7f6296f3
commit
52f452ab5b
1 file changed
+2
-2
+2
-2
@@ -6,8 +6,8 @@ chrome.webRequest.onBeforeRequest.addListener(function(details) {
|
||||
/^https?:\/\/doc\.qt\.io\/archives\/qt-[0-9\.]+(.*)$/g,
|
||||
/^https?:\/\/developer\.qt\.nokia\.com\/doc\/qt-[0-9\.]+(.*)$/g,
|
||||
/^https?:\/\/qt\.nokia\.com\/doc(.*)$/g,
|
||||
/^https?:\/\/doc\.qt\.nokia\.com\/(?:latest|stable|[0-9\.]+)(.*)$/g,
|
||||
/^https?:\/\/doc\.trolltech\.com\/[0-9\.]+(.*)$/g
|
||||
/^https?:\/\/doc\.qt\.nokia\.com\/(?:main\-snapshot|latest|stable|[0-9\.]+)(.*)$/g,
|
||||
/^https?:\/\/doc\.trolltech\.com\/(?:main\-snapshot|latest|stable|[0-9\.]+)(.*)$/g
|
||||
]) {
|
||||
let match = expression.exec(url);
|
||||
if(match !== null) {
|
||||
|
||||
Reference in new issue
Block a user