View Full Version : Freesites with a framebreaker script - who would NOT list them?
I've been thinking about a freesite design that includes a framebreaker script on each page.
What linklists block all scripts, or otherwise would not want to have a freesite with a framebreaker submitted to them?
natalie
2005-10-27, 06:44 PM
I will list sites that have scripts if they are from a trusted submitter or known member of this board AND I can see what the script is doing. So in the case of a frame breaker and coming from you.. yes I would list it.
ronnie
2005-10-27, 08:55 PM
I would guess those that want their frame on every ones site.:) Would'nt matter to me.
Wonder if the script would cause problems or get sites banned by scanners?
ronnie
RawAlex
2005-10-27, 11:17 PM
My bot is pretty much single minded on the issue - if there is a script, the submit is toast.
If you feel you are getting specifically hit by a certain framer (say 89.com), you can use PHP to filter their referals and only display the code in that circumstance.
Alex
MrYum
2005-10-27, 11:21 PM
Usually, when I see a script on a page...it's an instant decline. But, this is another one of those latitude kinda thangs :D
If it's someone I know, they've talked to me about it first and I know the purpose of the script...it's all good.
framebreaker scripts are fine with me :)
neveremail
2005-10-28, 08:00 AM
I've been getting a lot of traffic from google image search on my freesites (more than normal searches) - a framebreaker script is a great way to have your page load when someone tries to view the image when trying to look at your images through google image search.
But the script is for sure going to cause issues with atleast some LLs with bots that check for scripts.
use PHP to filter their referals and only display the code in that circumstance.
This sounds like a good way to get round it - if I set the referral to images.google.com and images.google.co.uk would that work? Is there anywhere to get more info on this??
Alex, that does sound like an interesting approach, neater than a script on the page.
How would you do such a thing? I'm starting to read about it, but a few suggestions would be welcome.
RawAlex
2005-10-31, 05:52 PM
in PHP you can easily see the refering URL. If you have a particularly site that frames you (say like 89.com does in some cases) then have php add in your javascript, otherwise, do nothing. You can make conditions for images.google.* and things like that.
Alex
Halfdeck
2005-10-31, 08:18 PM
Putting this on top of your page may work (warning: impromptu code)
<?php
$url = parse_url($_SERVER['HTTP_REFERER']);
$domain = $url['host'];
if($domain == '89.com') {
header("location:http://www.popuphell.com");
}
?>
RawAlex
2005-10-31, 11:01 PM
Halfdeck, that would work for redirecting them completely... but you could do the same thing inline and print in the javascript and get the frame buster result without having the actual javascript on the page except for them.
Alex
Halfdeck
2005-10-31, 11:20 PM
Ohhh ok, I see what you're saying Alex. While thinking up the code I forgotten the main gist of your post :D
So:
if($domain=="89.com") {
echo "<script language='JavaScript1.1' type='text/JavaScript'>
if (parent.frames.length > 0) top.location.replace(document.location);</script>";
}
RawAlex
2005-10-31, 11:45 PM
That's the idea... we don't want to send the surfer to hell, we just want to get rid of the annoying frame.
Alex
Wazza
2005-11-01, 12:43 AM
Not that I give a rats... but what's the motivation for this?
Oh, nothing very significant, it's actually just a thought experiment in designing freesites that attract and maximize google images traffic.
htaccess would serve to stop most other framers.
Altho, framing other's content might become a trend in the future, and something like this could be helpful then.
Wazza
2005-11-01, 09:24 AM
Fair enough |pimpin
vBulletin® v3.8.1, Copyright ©2000-2026, Jelsoft Enterprises Ltd.