[resolved].nospam gets appended to host name www.tekscan.com

Ask for help about NoScript, no registration needed to post
SteveF
Posts: 2
Joined: Mon Nov 10, 2014 3:43 pm

[resolved].nospam gets appended to host name www.tekscan.com

Post by SteveF »

When I try to go to http://www.tekscan.com/ , the web page shows for a second, then redirects to www.tekscan.com.nospam which returns host not found. I disabled noscript and the redirection doesn't occur. I didn't find anything on google regarding this, particularly in regard to noscript.
Last edited by barbaz on Mon Nov 10, 2014 9:06 pm, edited 1 time in total.
Reason: mark as resolved
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
barbaz
Senior Member
Posts: 11144
Joined: Sat Aug 03, 2013 5:45 pm

Re: Why is .nospam being appended to host name www.tekscan.c

Post by barbaz »

They're using an incredibly stupid method of deterring robots, and you're getting caught up in it.
Seriously, either don't visit that site or complain to them. Really. Because what they're doing is not only a bad way to achieve their goal, it's guaranteed to catch legitimate users who are security-conscious but not crazy power users (meaning, people like you).

Code: Select all

<!-- Note the "nospam" added. It can be anything. The idea is to throw a HTTP 404 (invalid page) when JavaScript is disabled. Robots have that setting to improve performance therefore they will not reach the form and try another website. -->
<noscript>
Please enable JavaScript!
<META HTTP-EQUIV="Refresh" CONTENT="0;URL=http://www.tekscan.com.nospam/">
</noscript>
This is bad also because a smart evil bot could just ignore META refresh (or go through the whole page first, find the form they don't want it to find, then follow the refresh).

Instead, they should be generating/injecting whatever form they're talking about using an external script file hosted on their server - that would be just as effective (if not more effective) at blocking the class of robots they're worried about, and people like you could still view the site.

Anyway, work-arounds: (these are 3 different work-arounds, *not* 3 steps you need to do)
1) about:config > set accessibility.blockautorefresh to true
2) NoScript Options > Whitelist > add manually tekscan.com
3) NoScript Options > Advanced > Untrusted > Forbid META redirections inside <NOSCRIPT> elements (haven't tried this one myself)
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1664.3 Safari/537.36
SteveF
Posts: 2
Joined: Mon Nov 10, 2014 3:43 pm

Re: Why is .nospam being appended to host name www.tekscan.c

Post by SteveF »

Solved! Fine work barbaz, thank you for taking the time to provide a concise and well written explanation of this behavior.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
User avatar
therube
Ambassador
Posts: 7980
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: [resolved].nospam gets appended to host name www.tekscan

Post by therube »

Neat way that they did it.
But then what if someone set up a "com.nospam" domain :twisted:.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:33.0) Gecko/20100101 SeaMonkey/2.30
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: [resolved].nospam gets appended to host name www.tekscan

Post by Thrawn »

therube wrote:But then what if someone set up a "com.nospam" domain :twisted:.
Yeah, a better approach would be to use www.example.com/404.html or something similar.

Or just use robots.txt.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0
Post Reply