add: current location as referrer

to make up for missing information in the user agent
This commit is contained in:
Tobi Schäfer 2016-09-04 00:34:06 +02:00
parent 7f6584dcbd
commit 9748633b78

View file

@ -139,6 +139,7 @@ $(function() {
var queryString = '?callback=?&url=' + encodeURIComponent(sourceUri);
queryString += '&cookie=' + encodeURIComponent(document.cookie + '; ' + customCookie);
queryString += '&ua=' + encodeURIComponent('Mozilla/5.0 (Formica Bookmarklet by Antville)');
queryString += '&ref=' + encodeURIComponent(location.href);
$.getJSON(proxyUri + queryString, function(data) {
if (data.content) {