remove anything after fbclid=, closes #3240
This commit is contained in:
parent
ffeee38d7d
commit
e497e7a7ac
1 changed files with 2 additions and 1 deletions
|
@ -810,7 +810,8 @@ Ox.URL = function(options) {
|
|||
|
||||
function parseURL(str, callback) {
|
||||
// remove facebook spam
|
||||
str = str.replace(/\?fbclid=[A-Za-z0-9_]+/, '')
|
||||
//str = str.replace(/\?fbclid=[A-Za-z0-9_]+/, '')
|
||||
str = str.replace(/\?fbclid=.*/, '')
|
||||
// fixme: removing trailing slash makes it impossible to search for '/'
|
||||
|
||||
var split = str.split('#'),
|
||||
|
|
Loading…
Reference in a new issue