joolz
New Member
Posts: 117
inherit
195550
0
Feb 4, 2016 16:36:04 GMT -8
joolz
117
June 2013
joolz
|
Post by joolz on Jul 17, 2013 0:18:49 GMT -8
Tim Camara gave me helpful links (http://support.proboards.com/post/5401922) to plug-ins that hide the referrer in some browsers (https://chrome.google.com/webstore/detail/referer-control/hnkcfpcejkafcihlgbojoidoihckciin?hl=en and addons.mozilla.org/en-US/firefox/addon/no-referer/) but, as I can't be sure that forum members will install and use these (and some members use other browsers), I hope someone can create an add-on to do this automatically. I think this would be of use to many forums. Forum owners who don't know about this can read about it here: en.wikipedia.org/wiki/HTTP_referer. Thank you.
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Jul 17, 2013 8:22:05 GMT -8
Well, the HTML5 spec does include rel="noreferrer", but I don't think anything other than Webkit browsers currently support it. There are a few ideas on this page: stackoverflow.com/questions/6817595/remove-http-referer, but I don't think you're going to find a 'silver bullet' solution for all browsers that doesn't involve a link anonymizer service.
|
|
joolz
New Member
Posts: 117
inherit
195550
0
Feb 4, 2016 16:36:04 GMT -8
joolz
117
June 2013
joolz
|
Post by joolz on Jul 17, 2013 12:06:05 GMT -8
Well, the HTML5 spec does include rel="noreferrer", but I don't think anything other than Webkit browsers currently support it. There are a few ideas on this page: stackoverflow.com/questions/6817595/remove-http-referer, but I don't think you're going to find a 'silver bullet' solution for all browsers that doesn't involve a link anonymizer service. Thanks Tim, I'm a mainframe gal and not a techie on these newfangled PC things to I'll pass this to the techies on our forum. I hoped the referrer could be cleared or faked from within the forum, but as it seems it can't I think we may just have to change the name our forum to something innocuous like 'donuts' :-)
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 18, 2013 13:55:48 GMT -8
An idea for whoever looks at doing this. Use rel=nofollow for Webkit browsers, and maybe a Data URI for Firefox and IE (maybe). In the Data URI, set it to text/html, and set a Meta Refresh, then rewrite the href to go to the original URL. From what I have read, Meta Refresh doesn't send the referrer, as it's a new request. Am sure I read something about spoofing the referrer a while back using the methods above, but I can't find anything in my searches.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 19, 2013 11:22:42 GMT -8
Here is some code...
$(function(){ (function(){ var external_links = $("a[href^='//'], a[href^='http']").not("[href*='" + location.hostname + "']"); if($.browser.webkit){ external_links.attr("rel", "nofollow"); } else { external_links.click(function(){ var link = $(this); var old = link.attr("href"); var url = "";
url += "data:text/html,<title>Redirect</title>"; url += "<a href=\"" + old + "\">" + old + "</a>"; url += "<meta http-equiv=refresh content=\"0;url=" + old + "\">";
link.attr("href", url);
setTimeout(function(){ link.attr("href", old); }, 4); }); } })(); });
|
|
joolz
New Member
Posts: 117
inherit
195550
0
Feb 4, 2016 16:36:04 GMT -8
joolz
117
June 2013
joolz
|
Post by joolz on Jul 19, 2013 18:38:21 GMT -8
I'm a mainframe gal and not sure about this type of code but I'll read up on it, thanks. I'm in transit at an airport at the moment so can't check it out right now, but will have a proper look when I get home. Thank you for your time and trouble on this.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 20, 2013 1:50:59 GMT -8
I've thrown it into a plugin so that you can install it. I can't guarantee it will work 100% in all browsers though, it's more of a test then anything. Hide Referrer.pbp (553 B)
|
|
joolz
New Member
Posts: 117
inherit
195550
0
Feb 4, 2016 16:36:04 GMT -8
joolz
117
June 2013
joolz
|
Post by joolz on Jul 20, 2013 13:30:22 GMT -8
I've thrown it into a plugin so that you can install it. I can't guarantee it will work 100% in all browsers though, it's more of a test then anything. Thank you. what great news after a 9.5 hour flight I can ask ppl with various browsers to test it be accessing a blog we have. Will let you know how it goes!! Much appreciated!
|
|
joolz
New Member
Posts: 117
inherit
195550
0
Feb 4, 2016 16:36:04 GMT -8
joolz
117
June 2013
joolz
|
Post by joolz on Jul 20, 2013 14:52:02 GMT -8
I've thrown it into a plugin so that you can install it. I can't guarantee it will work 100% in all browsers though, it's more of a test then anything. Firefox 22 and Chrome work great, thank you. IE has a glitch, I'll post what the tester said and hope it makes sense to you :-) Okay, the IE is a no-go, as it actually tries to send "data:text/html,<title>Redirect</title><a href="http://guerrillaskepticismonwikipedia.blogspot.com/2012/10/happy-halloween-bell-witch-page.html ">http://guerrillaskepticismonwikipedia.blogspot.com/2012/10/happy-halloween-bell-witch-page.html </a><meta http-equiv=refresh content="0;url=http://guerrillaskepticismonwikipedia.blogspot.com/2012/10/happy-halloween-bell-witch-page.html ">" as the URL. Any ideas? Thanks.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 20, 2013 15:05:19 GMT -8
Yeah, seems IE (8+) doesn't allow the data protocol to be on link elements due to phishing.
"For security reasons, data URIs are restricted to downloaded resources. Data URIs cannot be used for navigation, for scripting, or to populate frame or iframe elements."
You could force the links to open in a new window / tab by using window.open, as I would assume it would behave as a new request, so there shouldn't be a referrer set.
|
|
joolz
New Member
Posts: 117
inherit
195550
0
Feb 4, 2016 16:36:04 GMT -8
joolz
117
June 2013
joolz
|
Post by joolz on Jul 20, 2013 15:28:20 GMT -8
Yeah, seems IE (8+) doesn't allow the data protocol to be on link elements due to phishing. "For security reasons, data URIs are restricted to downloaded resources. Data URIs cannot be used for navigation, for scripting, or to populate frame or iframe elements." You could force the links to open in a new window / tab by using window.open, as I would assume it would behave as a new request, so there shouldn't be a referrer set. Thanks, will ask the techie about that. When Safari failed on a mobile he also said that 'I'm guessing this means Safari (or at least its mobile equivalent) is not honoring the Javascript plugin that joolz installed'.
|
|
joolz
New Member
Posts: 117
inherit
195550
0
Feb 4, 2016 16:36:04 GMT -8
joolz
117
June 2013
joolz
|
Post by joolz on Aug 2, 2013 17:53:35 GMT -8
I've thrown it into a plugin so that you can install it. I can't guarantee it will work 100% in all browsers though, it's more of a test then anything. We'd like to add a few exceptions to the plug-in, so people using IE can still access certain domains/sites we use regularly where we don't need to hide the referrer. I looked at the pbp with notepad but it isn't editable, is there a simple tool I can use to make a pbp from code to save bothering someone here? Thanks for any advice.
|
|
joolz
New Member
Posts: 117
inherit
195550
0
Feb 4, 2016 16:36:04 GMT -8
joolz
117
June 2013
joolz
|
Post by joolz on Sept 17, 2013 2:26:03 GMT -8
PeterWe got around this problem with a plugin by one of our members who let us link via the Donotlink website. Sharing it in thanks for your attempts to help us. Donotlink.pbp (451 B)
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Sept 17, 2013 22:54:15 GMT -8
have them submit it to the library
|
|
joolz
New Member
Posts: 117
inherit
195550
0
Feb 4, 2016 16:36:04 GMT -8
joolz
117
June 2013
joolz
|
Post by joolz on Sept 18, 2013 8:12:41 GMT -8
have them submit it to the library I'm happy for you to add it. I have one of your plugins so you can have this one :-)
|
|