473,327 Members | 2,103 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

when document.referrer give blockedReferrer?

Hi,

I am trying to use the document.referrer to get the referrer of my
home page. Occationally, I get the value of
'blockedReferrer'. Actually how this happen, how the client blocked the
function of document.referrer. I just want to verify how this could be
done within the browser e.g. IE, Netcape and so on... what Internet
option have them activate or not activate to make me to have the value
'blockedReferrer'?
Thanks in advance.

regards,
benny ;-)

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 23 '05 #1
1 2957
kuok benny wrote:
Hi,

I am trying to use the document.referrer to get the referrer of my
home page. Occationally, I get the value of
'blockedReferrer'. Actually how this happen, how the client blocked the
function of document.referrer. I just want to verify how this could be
done within the browser e.g. IE, Netcape and so on... what Internet
option have them activate or not activate to make me to have the value
'blockedReferrer'?
Thanks in advance.


In Gecko-based browsers, you can change the value of
network.http.sendRefererHeader (don't know what to change it to, 0 maybe?).
You can also just install an Extension that does it. Tabbrowser Extensions
(<url: http://piro.sakura.ne.jp/xul/_tabextensions.html.en />) can do it,
or you could use something like refspoof (<url: http://refspoof.mozdev.org/
/>).

In Internet Explorer, I don't know if there is a Registry entry to set the
referrer permanently (Google searches seem to indicate there is not), but
lots and lots of "firewall/popup blocking/browser security" type software
(Norton Internet Security, Window Washer (?), Proxomitron, etc) that can do
it.

In Netscape 4, you edit prefs.js and set
user_pref("network.sendRefererHeader", false);

In Opera 7.54, it's Tools > Preferences > Privacy, uncheck Enable referrer
logging.

Basically, it's easy enough in all browsers (and in fact some users
probably block it without even realizing it) that it can not be relied on.

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Hugo Sousa | last post by:
Hello, I have a page that cannot be accessed by typing is url. It should only be accessed by a link in another web page. The following scrip works fine: <script> <!-- var validreferrals=new...
9
by: goks | last post by:
I'm using document.referrer method for tracking visits on my site. But it seems that, when someone finds my site with google, this method returns only: "google.com/search?q=xxxxx" (good) or...
9
by: Frances Del Rio | last post by:
if I put alert(document.referrer) in code of a file that was linked from another it returns blank... pls, need to get document.referrer, don't why it's not working... read up on oreilly, don't...
2
by: Goober | last post by:
I have to determine the document.referrer of the individual coming to my site. I want to send everyone not coming from one of those sites to an alternate location (The names below are just used as...
12
by: Don Juan | last post by:
I have a simple html document I have been using for some time on my (i.e.) abc.com domain that uses cookies. I recently purchased a new domain name and set up a service to redirect my new domain...
5
by: Nospam | last post by:
does anyone know if there is anything wrong with this code? <SCRIPT LANGUAGE="JavaScript">document.referrer.indexOf("http://www.example.com") != -1){ ...
1
by: gocre8 | last post by:
hope someone can advise! . . . i'm using this code... <SCRIPT LANGUAGE="JavaScript"> document.write("<INPUT type=hidden NAME=referrer VALUE=" + 'document.referrer' + ">"); </SCRIPT> to...
5
by: Christina | last post by:
I can't seem to find any reference for grabbing the title of the referring page, which I want to use for creating a link. i.e. document.write ("Our thanks to <a href='"+document.referrer+"'>"...
2
by: Celeste | last post by:
Hello, I'm trying to parse the referring url for google search terms so that when this page loads it will scroll to and highlight the search term(s). Should i be using document.referrer? ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.