diff options
author | Jesús <heckyel@hyperbola.info> | 2019-12-06 22:17:00 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-12-06 22:17:00 -0500 |
commit | a4a5c3ae12cc495b5e1e114e835cf58b72737943 (patch) | |
tree | 8def749c01f0d00794933531987e05b6fb9d897e | |
parent | 7e3d72a68f362d04469808aebeb267ec07df98c5 (diff) | |
download | book-a4a5c3ae12cc495b5e1e114e835cf58b72737943.tar.lz book-a4a5c3ae12cc495b5e1e114e835cf58b72737943.tar.xz book-a4a5c3ae12cc495b5e1e114e835cf58b72737943.zip |
minor fix
-rw-r--r-- | scripts-greasemonkey/twitter_to_nitter.user.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts-greasemonkey/twitter_to_nitter.user.js b/scripts-greasemonkey/twitter_to_nitter.user.js index 307accd..b8342ad 100644 --- a/scripts-greasemonkey/twitter_to_nitter.user.js +++ b/scripts-greasemonkey/twitter_to_nitter.user.js @@ -27,7 +27,7 @@ function rewriteLinks() { for (var i = 0; i < document.links.length; i++) { var elem = document.links[i]; if (elem.href.match(/(mobile\.)?twitter\.com\/([^&#]+)/i)) { - elem.href='https://' + instance + RegExp.$2; + elem.href='https://' + instance + '/' + RegExp.$2; } } statuscheck() |