add: current location as referrer
to make up for missing information in the user agent
This commit is contained in:
parent
7f6584dcbd
commit
9748633b78
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ $(function() {
|
||||||
var queryString = '?callback=?&url=' + encodeURIComponent(sourceUri);
|
var queryString = '?callback=?&url=' + encodeURIComponent(sourceUri);
|
||||||
queryString += '&cookie=' + encodeURIComponent(document.cookie + '; ' + customCookie);
|
queryString += '&cookie=' + encodeURIComponent(document.cookie + '; ' + customCookie);
|
||||||
queryString += '&ua=' + encodeURIComponent('Mozilla/5.0 (Formica Bookmarklet by Antville)');
|
queryString += '&ua=' + encodeURIComponent('Mozilla/5.0 (Formica Bookmarklet by Antville)');
|
||||||
|
queryString += '&ref=' + encodeURIComponent(location.href);
|
||||||
|
|
||||||
$.getJSON(proxyUri + queryString, function(data) {
|
$.getJSON(proxyUri + queryString, function(data) {
|
||||||
if (data.content) {
|
if (data.content) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue