diff --git a/newyear.js b/newyear.js index 449db15..2fdc02b 100644 --- a/newyear.js +++ b/newyear.js @@ -1,4 +1,5 @@ -function gup( name ) + +function gup( name ) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS = "[\\?&]"+name+"=([^&#]*)";