In article <11**********************@o13g2000cwo.googlegroups .com>,
el*****@gmail.com enlightened us with...
I can also claim that google breaks copyrights becauses it saves
contents of other sites in their cache without permissions.
This is true to a point, but it won't cache pages if you tell it not to. It
obeys the robots.txt file.
Besides, you can put any image in your site from any site (with the
<image src="..."> tag). Who really checks where's the origin of the
image?
That's called bandwidth theft, and many of us use .htaccess files to prevent
it.
Just because you *can* doesn't mean you *should*.
I
know it's not OK to use other's stuff, but if copyrights are saved, I
guess there's nothing wrong.
I'd have to generally agree with that statement.
As long as it's clear, there isn't all that much wrong with it.
Except when people use frames and assume their frames are their own.
They shouldn't have to change their code to accomodate other people's sites.
Well, I guess that's not something you can rely on to prevent the
redirect bahavior. So how can you make the check fail, or better
prevent to top redirect.
You, as the person framing the site, cannot, generally speaking.
And if you manage it (usually by blocking all script, trapping
onbeforeunload, or some such hack), you usually break the framed site and
possibly your own.
How can a site inside an IFRAME can change the location of the top
window? Shouldn't it be dis-allowed by a domain JS security?
Nope. Because while your motives may be fine, others have motives that aren't
so fine. (answering the "should", which is subjective)
If you're totally dying to do this, there is a way to remove all the script
elements of a page before you frame it.
Requires server-side scripting that can use sockets and do http requests and
the permissions to create a temp file on the server.
I won't post the solution here in a public forum. It can be deduced from what
I said already.
--
--
~kaeli~
You feel stuck with your debt if you can't budge it.
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace