Fix links with fragments
This commit is contained in:
parent
a9d996af0c
commit
c913086788
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
// @match https://devblogs.microsoft.com/oldnewthing/*
|
// @match https://devblogs.microsoft.com/oldnewthing/*
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
const rewriteRules = [
|
const rewriteRules = [
|
||||||
[/^http:\/\/blogs.msdn.com\/b\/oldnewthing\/archive\/([0-9]{4})\/([0-9]{2})\/([0-9]{2})\/[0-9]+.aspx(#|$)/,
|
[/^http:\/\/blogs.msdn.com\/b\/oldnewthing\/archive\/([0-9]{4})\/([0-9]{2})\/([0-9]{2})\/[0-9]+.aspx(#.*)?$/,
|
||||||
'https://devblogs.microsoft.com/oldnewthing/$1$2$3-00/'],
|
'https://devblogs.microsoft.com/oldnewthing/$1$2$3-00/'],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue