![]() Preserved Topic: Match Any Part of location.href (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: Inside THE BOX |
![]() I've recently decided to begin allowing more leeway with translation sites that access my sites' pages. In addition to allowing them access to my images, I've also decided to allow some of the more popular translation sites to remain in frames for clarity and ease of use for non-English-speaking readers. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() document.location.href.indexOf('translation'); |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Strictly speaking, document.location.href doesn't exist, since document.location is different from window.location, and window.location is the one that has properties like href. (document.location, I believe, is nothing more than a string.) If I'm right (and I might be remembering wrong), document.location.href is only working because the browser is being nice to you. =) |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() aw, damn... I thought there'd be something about regexp's in here... |
Paranoid (IV) Inmate From: Den Haag, Netherlands |
![]() Ahaaa .. a masochist unmasked ... HEY EVERYONE .. this guy actually WANTS to use regexps !!!! .. |