I don't think server side javascript is available on servers other than Sun and Netscape servers, and I think it's obsolete anyways. Geocities is running FreeBSD. You can't put JS onto an image.Dalton wrote:No...all you have to do is click on the address bar again and hit enter. The reason why you can't direct-link it is that using Javascript - probably something like:Oberleutnant wrote:It is, but you just have to delete the http:// from the picture's URL and hit enter.the server can tell that the file request didn't come from a Geocities page. If you copy-paste the link, or even just click on the address bar and hit enter again, there is no referrer so Geocities will load it. Anti-leech system.Code: Select all
if (referrer != "www.geocities.com/xyz") window.location.href = "404.html" else window.location.href = url
Super Star Destroyer
Moderator: Beowulf
ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer
George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
Actually, its a .htaccess file, which is probably set to deny if the source isn't from Geocities.Dalton wrote:No...all you have to do is click on the address bar again and hit enter. The reason why you can't direct-link it is that using Javascript - probably something like:Oberleutnant wrote:It is, but you just have to delete the http:// from the picture's URL and hit enter.the server can tell that the file request didn't come from a Geocities page. If you copy-paste the link, or even just click on the address bar and hit enter again, there is no referrer so Geocities will load it. Anti-leech system.Code: Select all
if (referrer != "www.geocities.com/xyz") window.location.href = "404.html" else window.location.href = url
BoTM, MM, HAB, JL
- Dalton
- For Those About to Rock We Salute You
- Posts: 22637
- Joined: 2002-07-03 06:16pm
- Location: New York, the Fuck You State
- Contact:
Wouldn't that cause problems with the copy-paste then?Exonerate wrote:Actually, its a .htaccess file, which is probably set to deny if the source isn't from Geocities.
To Absent Friends
"y = mx + bro" - Surlethe
"You try THAT shit again, kid, and I will mod you. I will
mod you so hard, you'll wish I were Dalton." - Lagmonster
May the way of the Hero lead to the Triforce.
No, because it only looks to see if the link-referrer is not from Geocities. If the link-referrer is nonexistant, you can proceed.Dalton wrote:Wouldn't that cause problems with the copy-paste then?Exonerate wrote:Actually, its a .htaccess file, which is probably set to deny if the source isn't from Geocities.
- Dalton
- For Those About to Rock We Salute You
- Posts: 22637
- Joined: 2002-07-03 06:16pm
- Location: New York, the Fuck You State
- Contact:
Meh, whatever - it worksphongn wrote:No, because it only looks to see if the link-referrer is not from Geocities. If the link-referrer is nonexistant, you can proceed.Dalton wrote:Wouldn't that cause problems with the copy-paste then?Exonerate wrote:Actually, its a .htaccess file, which is probably set to deny if the source isn't from Geocities.
To Absent Friends
"y = mx + bro" - Surlethe
"You try THAT shit again, kid, and I will mod you. I will
mod you so hard, you'll wish I were Dalton." - Lagmonster
May the way of the Hero lead to the Triforce.