Welcome to WebmasterWorld Guest from 54.226.146.15

Forum Moderators: not2easy

Message Too Old, No Replies

How to stop sites from linking to my stylesheet?

     

andialeigh

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

5+ Year Member



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?

Rosalind

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

WebmasterWorld Senior Member 10+ Year Member



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.

lucy24

2:05 am on Sep 21, 2012 (gmt 0)

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



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month