Created
May 4, 2016 06:04
-
-
Save hjanuschka/d323b1749cb516760aea14c8f706d4db to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src=https://dispatcher.oewabox.at/oewa.js></script> | |
</head> | |
<body> | |
<script> | |
var match, | |
pl = /\+/g, | |
search = /([^&=]+)=?([^&]*)/g, | |
decode = function (s) { return decodeURIComponent(s.replace(pl, " ")); }, | |
query = window.location.search.substring(1); | |
var OEWA = {}; | |
while (match = search.exec(query)) { | |
OEWA[decode(match[1])] = decode(match[2]); | |
} | |
oewa.c(OEWA); | |
</script> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment