Welcome to WebmasterWorld Guest from 54.144.107.83

Forum Moderators: not2easy

Message Too Old, No Replies

How to stop sites from linking to my stylesheet?

     
7:15 pm on Sep 20, 2012 (gmt 0)

New User

5+ Year Member

joined:June 10, 2008
posts: 7
votes: 0


We've discovered a few scraper sites linking to stylesheets on our domain ... is there anything we can do (windows server) to block sites from doing this?
7:56 pm on Sept 20, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 16, 2003
posts:992
votes: 0


You might change/rename your own stylesheet, and add the following to the one they're using:

BODY {
background:url(DO_NOT_INFRINGE.jpg) right top no-repeat;
}

Where DO_NOT_INFRINGE.jpg is a picture on your own server with a message such as "this site is stealing our stylesheets. Visit my site instead", etc.
2:05 am on Sept 21, 2012 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

joined:Apr 9, 2011
posts:12702
votes: 244


Or add .css to the list of extensions you've got in your current anti-hotlinking routine, if it ends in a flat-out [F] or 403.

If you link to a ferocious "no hotlinks" image, you might enjoy doing something analogous with the css. Rewrite (not redirect!) to a CSS that says, in full, something like

body {margin: -2em; font-size: 800%; font-family: "Comic Sans"; color: #F0F; background-color: #0F0;}

I just made that up, but you get the idea.