strip tracking parameters when parsing urls
This commit is contained in:
@@ -114,6 +114,7 @@ Version 1
|
||||
|
||||
if (!href) { return ret; }
|
||||
if (href.slice(-1) !== '/') { href += '/'; }
|
||||
href = href.replace(/\/\?[^#]+#/, '/#');
|
||||
|
||||
var idx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user