Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #33374
| From | Doc O'Leary <droleary@2017usenet1.subsume.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: "www.exam" + "ple.com" |
| Date | 2017-05-23 18:51 +0000 |
| Organization | Subsume Technologies, Inc. |
| Message-ID | <og20bj$b9b$1@dont-email.me> (permalink) |
| References | <concatenation-20170523122827@ram.dialup.fu-berlin.de> |
For your reference, records indicate that ram@zedat.fu-berlin.de (Stefan Ram) wrote: > IIRC, on some web pages, I saw JavaScript code looking like: > > "www.exam" + "ple.com" > > . I guessed that this was an attempt to circumvent filter > programs who might have "blacklisted" certain strings (like > »www.example.com«) and search for them in the source code > and then possibly reject or rewrite the page. > > Have you ever seen something like this, and does my guess > about the reason to write a string in this way make sense? People serving “hostile” web pages do often obfuscate their code in the way you describe (and even much more elaborate ways). Another, non-hostile reason to do such a thing, especially for links, is because you want to prevent an (unsophisticated) spider from grabbing all your content. Similarly, domain names for email addresses are sometimes obfuscated using JS like that so that it is more difficult for spammers to collect them. -- "Also . . . I can kill you with my brain." River Tam, Trash, Firefly
Back to comp.lang.javascript | Previous | Next | Find similar | Unroll thread
Re: "www.exam" + "ple.com" Doc O'Leary <droleary@2017usenet1.subsume.com> - 2017-05-23 18:51 +0000
csiph-web