HighDots Forums  

Arsehole swipes my site layout...

Search Engine Optimization Discussion about SEO/Search Engine Optimization (alt.internet.search-engines)


Discuss Arsehole swipes my site layout... in the Search Engine Optimization forum.



Reply
 
Thread Tools Display Modes
  #31  
Old   
Chris Hope
 
Posts: n/a

Default Re: Arsehole swipes my site layout... - 12-04-2006 , 10:29 PM






John Bokma wrote:

Quote:
Chris Hope <blackhole (AT) electrictoolbox (DOT) com> wrote:

John Bokma wrote:

[..]

It's even more fun if the owner has a fixed IP address, and you can
make the redirect *not* work for him/her :-)

Now that would be very funny.

Yup, I am evil >:-

Notice that with Firefox and probably Opera as well you can insert
actual content:

http://www.w3.org/TR/CSS21/generate.html
Yes I knew about that one - you could really have fun with that!

There's also a way of running Javascript when it's IE. I think it's only
a fairly minimal subset but there could be potential for lots of fun
with that

--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com


Reply With Quote
  #32  
Old   
John Bokma
 
Posts: n/a

Default Re: Arsehole swipes my site layout... - 12-04-2006 , 11:31 PM






Chris Hope <blackhole (AT) electrictoolbox (DOT) com> wrote:

Quote:
John Bokma wrote:

Chris Hope <blackhole (AT) electrictoolbox (DOT) com> wrote:

John Bokma wrote:

[..]

It's even more fun if the owner has a fixed IP address, and you can
make the redirect *not* work for him/her :-)

Now that would be very funny.

Yup, I am evil >:-

Notice that with Firefox and probably Opera as well you can insert
actual content:

http://www.w3.org/TR/CSS21/generate.html

Yes I knew about that one - you could really have fun with that!

There's also a way of running Javascript when it's IE.
I was just wondering if one could use content generation to add JavaScript
and then use document.location to redirect the users back to "your" site.

Quote:
I think it's only
a fairly minimal subset but there could be potential for lots of fun
with that
Plenty :-) Why do people never hotlink to my CSS files :-(

--
John Need help with SEO? Get started with a SEO report of your site:

--> http://johnbokma.com/websitedesign/seo-expert-help.html


Reply With Quote
  #33  
Old   
Chris Hope
 
Posts: n/a

Default Re: Arsehole swipes my site layout... - 12-05-2006 , 02:19 AM



John Bokma wrote:

Quote:
Chris Hope <blackhole (AT) electrictoolbox (DOT) com> wrote:

John Bokma wrote:

Chris Hope <blackhole (AT) electrictoolbox (DOT) com> wrote:

John Bokma wrote:

[..]

It's even more fun if the owner has a fixed IP address, and you
can make the redirect *not* work for him/her :-)

Now that would be very funny.

Yup, I am evil >:-

Notice that with Firefox and probably Opera as well you can insert
actual content:

http://www.w3.org/TR/CSS21/generate.html

Yes I knew about that one - you could really have fun with that!

There's also a way of running Javascript when it's IE.

I was just wondering if one could use content generation to add
JavaScript and then use document.location to redirect the users back
to "your" site.
Nice

Quote:
I think it's only
a fairly minimal subset but there could be potential for lots of fun
with that

Plenty :-) Why do people never hotlink to my CSS files :-(
Yes, it could be a lot of fun. I'll just have to continue having fun
with the image hotlinkers instead

--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com


Reply With Quote
  #34  
Old   
Arjen
 
Posts: n/a

Default Re: Arsehole swipes my site layout... - 12-05-2006 , 07:31 AM



John Bokma schreef:
Quote:
Borek <m.borkowski (AT) delete (DOT) chembuddy.these.com.parts> wrote:

On Mon, 04 Dec 2006 12:32:01 +0100, Big Bill <bill (AT) kruse (DOT) co.uk> wrote:

http://www.craigeffrononline. com/craigeffron-homelife.htm

bit of a giveaway, linking to my css. Still, it's a link.
I doubt, it only eats your bandwidth. mod_rewrite & some nasty
defaul
t
background image displayed by the linked css should teach him a
thing
.

How would I do a unique one for him?
With rewrite rule: if referrer string is his site (contains his
domain), serve something else than in all other cases. Those that not
send referrer string will see his site correctly, but they are
minority.

It's even more fun if the owner has a fixed IP address, and you can make
the redirect *not* work for him/her :-)
I use this for @$$holes stealing my pics. It's not foolproof but it
seems to work quite well. If someone has ever visited my site I set a
cookie=>isbezoeker. Only people that dont have the cookie see a
different picture once in 4 times :-)


..htaccess
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite\.com [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} ^http://.*$
RewriteRule (.+)\.(jpe?g|gif|bmp|png)$ /readfile.php?pic=$1.jpg [L]


readfile.php
<?php
// 25% chance of showing my add
$rnd = rand(0,4);

header("Content-Type: image/jpg");

// if user has an active cookie of my site dont show add
if ($rnd==1 && !isset($_COOKIE['isbezoeker']))
{
$_GET['pic']='images/ad500.jpg';
}
// MOEHAHA
readfile($_GET['pic']);
?>


Reply With Quote
  #35  
Old   
Borek
 
Posts: n/a

Default Re: Arsehole swipes my site layout... - 12-05-2006 , 07:57 AM



On Tue, 05 Dec 2006 13:31:11 +0100, Arjen <dont (AT) mail (DOT) me> wrote:

Quote:
I use this for @$$holes stealing my pics. It's not foolproof but it
seems to work quite well. If someone has ever visited my site I set a
cookie=>isbezoeker. Only people that dont have the cookie see a
different picture once in 4 times :-)

// 25% chance of showing my add
$rnd = rand(0,4);

if ($rnd==1 && !isset($_COOKIE['isbezoeker']))
Why not just

if (rand(0,4)==1 && !isset($_COOKIE['isbezoeker']))

Borek
--
http://www.chembuddy.com/?left=BATE&right=pH-calculator
http://www.ph-meter.info/pH-electrode
http://www.bpp.com.pl/?left=dysleksja&right=dysleksja
http://www.terapia-kregoslupa.waw.pl


Reply With Quote
  #36  
Old   
Arjen
 
Posts: n/a

Default Re: Arsehole swipes my site layout... - 12-05-2006 , 08:09 AM



Borek schreef:
Quote:
On Tue, 05 Dec 2006 13:31:11 +0100, Arjen <dont (AT) mail (DOT) me> wrote:

I use this for @$$holes stealing my pics. It's not foolproof but it
seems to work quite well. If someone has ever visited my site I set a
cookie=>isbezoeker. Only people that dont have the cookie see a
different picture once in 4 times :-)

// 25% chance of showing my add
$rnd = rand(0,4);

if ($rnd==1 && !isset($_COOKIE['isbezoeker']))

Why not just

if (rand(0,4)==1 && !isset($_COOKIE['isbezoeker']))
That's nicer indeed.

The actual the code looks a little different. The rnd variable is
generated in my config class. That way I can easilly switch all vars and
that is why they are sperated. Hehe and offcourse the chance is 20% :-)

Arjen


Reply With Quote
  #37  
Old   
Arjen
 
Posts: n/a

Default Re: Arsehole swipes my site layout... - 12-05-2006 , 08:14 AM



Arjen schreef:
Quote:
Borek schreef:
On Tue, 05 Dec 2006 13:31:11 +0100, Arjen <dont (AT) mail (DOT) me> wrote:

I use this for @$$holes stealing my pics. It's not foolproof but it
seems to work quite well. If someone has ever visited my site I set a
cookie=>isbezoeker. Only people that dont have the cookie see a
different picture once in 4 times :-)
// 25% chance of showing my add
$rnd = rand(0,4);
if ($rnd==1 && !isset($_COOKIE['isbezoeker']))
Why not just

if (rand(0,4)==1 && !isset($_COOKIE['isbezoeker']))

And offcourse it was an example of how to trick the person that is
stealing your stuff into seeing the 'stolen' stuff while other people
see the modified content even without a fixed ip. (offcourse once
someone empties their browser cache it's all gone). It wasn't ment to
show off my php skills (wich are mediocre at best)

Arjen


Reply With Quote
  #38  
Old   
Big Bill
 
Posts: n/a

Default Re: Arsehole swipes my site layout... - 12-05-2006 , 02:33 PM



On Mon, 04 Dec 2006 20:51:11 GMT, "Denise" <dionyza (AT) hotmail (DOT) com>
wrote:

Quote:
-
"Big Bill" <bill (AT) kruse (DOT) co.uk> wrote in message
news:jkv8n21r6t47r53vinvl9u4l0oqgh76nka (AT) 4ax (DOT) com...
On Mon, 04 Dec 2006 19:33:21 GMT, "Denise" <dionyza (AT) hotmail (DOT) com
wrote:

"Big Bill" <bill (AT) kruse (DOT) co.uk> wrote in message
news:tgp8n2hq7faf7ce4v48k4e9233k98mog1f (AT) 4ax (DOT) com...
On Mon, 04 Dec 2006 18:04:51 GMT, "Denise" <dionyza (AT) hotmail (DOT) com
wrote:

"Big Bill" <bill (AT) kruse (DOT) co.uk> wrote in message
news:ltk7n29jqr94fhmr6e3f0pbef05sldl7ku (AT) 4ax (DOT) com...
http://www.craigeffrononline.com/cra...n-homelife.htm

bit of a giveaway, linking to my css. Still, it's a link.

BB

Hi Bill,

Have you contacted him to ask him to knock it off?

Once he knows you're onto him, he may be willing to take it down.

I get the impression he's an idiot who'd relish the attention.

If not, as Borek says, just block his site. It's pretty easy to do; I
did
something like that on one of my own sites & it's very effective. Just
email
me if you'd like me to send you the code.

Would you object to displaying it here?

BB
--

Here you go:


SetEnvIf Referer .\.offendingsite\.com block_site1
SetEnvIf Referer .\.anotheroffendingsite\.com block_site1

RewriteEngine on
RewriteCond %{ENV:block_site1} !^$
rewriterule \.(gif|jpg|mp3|css)$ - [nc,F]


Can you stick example.com in there for dumb ol' me please honey?


OK. Example.com being the site of the jerk that ripped you off...


SetEnvIf Referer .\.example\.com block_site1

RewriteEngine on
RewriteCond %{ENV:block_site1} !^$
rewriterule \.(gif|jpg|mp3|css)$ - [nc,F]

Thanks D!

BB
--
http://www.kruse.co.uk/seo-sitemap.htm
http://www.here-be-posters.co.uk/art-prints-sitemap.htm
http://www.here-be-posters.co.uk/lithographs.htm


Reply With Quote
  #39  
Old   
Big Bill
 
Posts: n/a

Default Re: Arsehole swipes my site layout... - 12-05-2006 , 02:33 PM



On Mon, 04 Dec 2006 23:44:02 +0100, Borek
<m.borkowski (AT) delete (DOT) chembuddy.these.com.parts> wrote:

Quote:
On Mon, 04 Dec 2006 20:00:39 +0100, K A Nuttall
keith (AT) yammer (DOT) coedotyoukay.invalid> wrote:

Can't you just use a hotlinking dodge like this:

.htaccess

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$

Risky - your own visitors with referrer string switched off won't see
properly your site. IMHO it is better to allow some people visiting the
other site to slip through than to risk someone won't be able to see your
site correctly.

RewriteCond %{HTTP_REFERER} !^http://www\.mydomain\.com/.*$ [NC]
RewriteRule \.(jpe?g|gif|ico|swf|mp3|css)$ - [F,L]

Borek
Jeez, now here we go... I don't understand! No hard and fast rules
again, just endless debate, which is why I hate to get technical :-(

BB
--
http://www.kruse.co.uk/seo-sitemap.htm
http://www.here-be-posters.co.uk/art-prints-sitemap.htm
http://www.here-be-posters.co.uk/lithographs.htm


Reply With Quote
  #40  
Old   
Borek
 
Posts: n/a

Default Re: Arsehole swipes my site layout... - 12-05-2006 , 03:04 PM



On Tue, 05 Dec 2006 20:33:54 +0100, Big Bill <bill (AT) kruse (DOT) co.uk> wrote:

Quote:
RewriteCond %{HTTP_REFERER} !^$

Risky - your own visitors with referrer string switched off won't see
properly your site. IMHO it is better to allow some people visiting the
other site to slip through than to risk someone won't be able to see
your site correctly.

Jeez, now here we go... I don't understand! No hard and fast rules
again, just endless debate, which is why I hate to get technical :-(
Just don't use the line above to not risk that your legitimate visitors
are presented with something directed to hotlinker.

Borek
--
http://www.chembuddy.com/?left=BATE&right=pH-calculator
http://www.ph-meter.info/pH-electrode
http://www.bpp.com.pl/?left=dysleksja&right=dysleksja
http://www.terapia-kregoslupa.waw.pl


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.