Guest User

Untitled

a guest
Jul 18th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. Get = {
  2. all: function() {
  3. var c = []
  4. if (window.location.href.indexOf('?') > 0) {
  5. eval("var g = ['" + window.location.href.match('\\?(.*)?#')[1].split('&').join("','") + "']")
  6. for (var i = 0; i <= (g.length - 1); i++) { c.push(g[i].split('=')); }
  7. }
  8. return c
  9. }
  10. }
Add Comment
Please, Sign In to add comment