Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

How does Google avoid Washington Post registration?
Google News ^ | 13 June 2004 | self

Posted on 06/13/2004 2:26:03 PM PDT by ThePythonicCow

Any javascript gurus out there who might answer this?

When I find a link to a Washingon Post article on Google News, and click on it directly from the Google page, it goes directly to the article, without stopping at the Washington Post Registration page. But if I copy out that exact same link, and try to go to it by pasting it into the Address field of my browser, or try to use it in a FR posting, then the link sends me to the WP Registration Page.

Does anyone have a clue how Google does this? Since clicking on that link when it is in their web page does not, so far as I know, go back through Google, but just has my browser issue the http request directly to the Washington Post (in this case), how can WP know whether or not I am clicking on the link in a Google News page, or some other way?

My guess is that it must involve some javascript that causes my browser to behave differently when the link is on the Google News page.


TOPICS: Computers/Internet
KEYWORDS: faq; google; javascript; registration
Anyone know how this works?
1 posted on 06/13/2004 2:26:04 PM PDT by ThePythonicCow
[ Post Reply | Private Reply | View Replies]

To: ThePythonicCow

meee too!


2 posted on 06/13/2004 2:32:08 PM PDT by mlmr (Tag-less - Tag-free, anti-tag, in-tag-able, without tag, under-tagged, tag-deprived...)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ThePythonicCow; mlmr

Just found a site today that'll help you get around WaPo registration:

http://bugmenot.com/


3 posted on 06/13/2004 2:46:26 PM PDT by martin_fierro
[ Post Reply | Private Reply | To 1 | View Replies]

To: martin_fierro
I think I just figured out the difference between a hacker and a cracker.

My initial reaction to your butmenot.com link was a frustrated: I didn't ask how to get around it - I just wanted to know how it works!

I think that reaction puts me in the hacker camp. No doubt about it.

Thanks - take care.

4 posted on 06/13/2004 3:51:04 PM PDT by ThePythonicCow (I was humble, before I was born. -- J Frondeur Kerry)
[ Post Reply | Private Reply | To 3 | View Replies]

To: ThePythonicCow

If you are on a Washington Post page, or most any other, and Right Click, then Properties, you can copy the URL from the Properties box, and that link will work from the address bar, or as a direct link from here.


5 posted on 06/13/2004 4:58:59 PM PDT by Tobor
[ Post Reply | Private Reply | To 1 | View Replies]

To: ThePythonicCow; Tobor

Often the print friendly page works as a direct link as well.


6 posted on 06/13/2004 6:02:32 PM PDT by farmfriend ( In Essentials, Unity...In Non-Essentials, Liberty...In All Things, Charity.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Tobor
That works for images within the page. But I don't recall ever seeing a Properties item on the Right Click menu for the page itself, if you right click outside of any image.
7 posted on 06/13/2004 6:09:28 PM PDT by ThePythonicCow (I was humble, before I was born. -- J Frondeur Kerry)
[ Post Reply | Private Reply | To 5 | View Replies]

To: farmfriend
Yes the Printer page for the Wash. Post seems to work better - it goes to a different link.

The link:

works without registering, but the link: requires registration.

This still leaves my initial question - how can Google arrange so that it has be linking to the "requires registeraion" link, but not require it?

8 posted on 06/13/2004 6:26:16 PM PDT by ThePythonicCow (I was humble, before I was born. -- J Frondeur Kerry)
[ Post Reply | Private Reply | To 6 | View Replies]

To: ThePythonicCow

There must be some behind the scenes HTML. I am curious as well.


9 posted on 06/13/2004 6:34:39 PM PDT by farmfriend ( In Essentials, Unity...In Non-Essentials, Liberty...In All Things, Charity.)
[ Post Reply | Private Reply | To 8 | View Replies]

To: ThePythonicCow

I don't why this works but I take advantage of it all the time. I have noticed it doesn't work in every single case even at the same site.


10 posted on 06/13/2004 7:15:11 PM PDT by GATOR NAVY
[ Post Reply | Private Reply | To 1 | View Replies]

To: ThePythonicCow
OK, I see what you mean now. Apparently the Washington Post allows Google users to bypass registration.

This link sorta, kinda explains something about how it works.

http://wizbangblog.com/archives/001672.php
11 posted on 06/13/2004 8:12:23 PM PDT by Tobor
[ Post Reply | Private Reply | To 8 | View Replies]

To: Tobor
Dang - that was it. Thank-you.

It's the referrer field. When you click on a Washington Post link on the Google News web page, and your browser packages up an http request package to send off to the Washington Post web server, asking for the desired web page, one of the things your computer puts in that first outgoing packet is the "referrer", which is the URL of the Google News page holding that link you just clicked on.

Then when the Washington Post's web server gets your request for that page, a fraction of a second later, the code running in that web server can look at a field in your request called the "referrer" field, and give your request special treatment. For instance, if it that fields says you clicked through from Google, it could skip the registration. Apparently, it is doing just this.

That The Proxomitron tool that is mentioned, on the web site USS Clueless - Washingon Post Registration linked to off the one you provided, is apparently a tool that lets you lie about this referrer field, and set it to, say, http://www.google.com when asking for a Washington Post page, so that you can take advantage of their special treatment for requests coming from (referrer field value) Google to bypass the registration.

As clear as mud, no?

12 posted on 06/13/2004 11:32:23 PM PDT by ThePythonicCow (I was humble, before I was born. -- J Frondeur Kerry)
[ Post Reply | Private Reply | To 11 | View Replies]

To: ThePythonicCow
I went looking to learn more about this tool called The Proxomitron, and found this tasty bit of information, at http://www.geocities.com/srl_list/index.html:
13 posted on 06/13/2004 11:39:42 PM PDT by ThePythonicCow (I was humble, before I was born. -- J Frondeur Kerry)
[ Post Reply | Private Reply | To 12 | View Replies]

To: ThePythonicCow
I can personally attest to the efficacy of The Proxomitron. It is one hell of a program. I've been using it for about a month now.

All of you, computer savvy or not, should use the Proxomitron. It will work out of the box and protect against such things as popups and homepage hijackers. Run the install program, put a shortcut to it in your startup folder, and then set it as an http proxy on port 8080. To do this for IE go to tools, internet options, connections. Then click settings if you have a dialup connection or click lan settings if you have cable. Either way, the rest is the same. Check the box that says use a proxy server and then click advanced. Under proxy address by HTTP, type in "localhost". Under port, type in 8080. OK your way out and surf free of popups, ads, and other obnoxious stuff.

You will have an icon in your system tray. If you want to bypass the program and see the page as it would appear normally, right click the icon and select bypass all filters and refresh the page.

Another thing. If you maintain the browser proxy settings as mentioned above and the Proxomitron is not running, you will not be able to connect to the internet. You will either have to reverse the proxy settings in the browser settings or start the Proxomitron.

Finally, this program is a stand-alone meaning it adds nothing to the registry or do such things as install dll's in the windows directory. This means if you don't like it all you have to do is not use it and if you want to uninstall it, just delete its program folder.

It's available here:
http://www.proxomitron.info/files/index.shtml

Get it now before it disappears.

14 posted on 06/14/2004 3:24:21 PM PDT by Bloody Sam Roberts (ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,Election '04...It's going to be a bumpy ride,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø)
[ Post Reply | Private Reply | To 13 | View Replies]

To: Bloody Sam Roberts
Perhaps others will see your testimony - for myself, I'm on Linux most of the time.

Sounds good, though.

15 posted on 06/14/2004 5:13:31 PM PDT by ThePythonicCow (I was humble, before I was born. -- J Frondeur Kerry)
[ Post Reply | Private Reply | To 14 | View Replies]

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson