472,958 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

How to force a page to be into a frame?

Hello everybody,

I have created a page consisting of two frames. The second frame is
made to display "external" sites (i.e. written not by me, for
example www.google.com). But I found that some "external" pages
(for example www.hotmail.com ) do not "want" to be displayed in my
frame. They take the whole windows. Does anybody know why? Does anybody
know whether this problem can be solved, i.e. whether one can force
sites to be displayed into the fame?

Oct 8 '05 #1
11 6606
op*********@yahoo.com wrote:
I have created a page consisting of two frames. The second
frame is made to display "external" sites (i.e. written not
by me, for example www.google.com). But I found that some
"external" pages (for example www.hotmail.com ) do not
"want" to be displayed in my frame. They take the whole
windows. Does anybody know why?
It is javascript, along the lines of:-

<script type="text/javascript">
if(top != window){
top.location = window.location.href;
}
</script>
Does anybody know whether this problem can be solved,
It is not a problem, it is a reality.
i.e. whether one can
force sites to be displayed into the fame?


There is nothing that the creator of the framing site can do to prevent
any page loaded into a frame from re-loading itself in the main window.

If your users don't want this to happen they can disable scripting in
their browsers.

Richard.
Oct 8 '05 #2
op*********@yahoo.com wrote:

Hello everybody,

I have created a page consisting of two frames. The second frame is
made to display "external" sites (i.e. written not by me, for
example www.google.com). But I found that some "external" pages
(for example www.hotmail.com ) do not "want" to be displayed in my
frame. They take the whole windows. Does anybody know why? Does anybody
know whether this problem can be solved, i.e. whether one can force
sites to be displayed into the fame?


What you are trying to do is display an external Web page contrary
to the way the owner of that page wants it to be displayed. DON'T
DO IT! Have some respect for the creative efforts of a page's
owner.

My own pages are copyrighted. I give a blanket release to anyone
who wants to link to my pages. However, that release requires my
pages do not appear within a frame on someone else's page. If you
display one of my pages in one of your frames, that is a violation
of my copyright, for which I will take whatever legal measures are
necessary to protect.

--

David E. Ross
<URL:http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.
Oct 8 '05 #3
> What you are trying to do is display an external Web page contrary
to the way the owner of that page wants it to be displayed. DON'T
DO IT! Have some respect for the creative efforts of a page's
owner.
My own pages are copyrighted. I give a blanket release to anyone
who wants to link to my pages. I never heard that sometimes it is forbidden to link to somebody's
page. Does it mean that if I link to your page without your permission
I break the law and will account for it? What about google? It makes
linkage automatically and there are links on your page in the search
results. Does it mean that you can bring an action against google? By
the way, do we speak about some world-wide law regulating
interrelations in web-space or we speak just about law of USA?
However, that release requires my
pages do not appear within a frame on someone else's page. If you
display one of my pages in one of your frames, that is a violation
of my copyright, for which I will take whatever legal measures are
necessary to protect.

Here is a link on google-page which put your copyrighted page into a
frame. Does google break the low?
http://images.google.com/imgres?imgu...l%3Den%26lr%3D

Oct 9 '05 #4
> What you are trying to do is display an external Web page contrary
to the way the owner of that page wants it to be displayed. DON'T
DO IT! Have some respect for the creative efforts of a page's
owner.


By the way what about respect for readers/users of the page? Don't
they have a right to decide haw to see pages (with or without my
framing procedure)? If they (users) see a page using there own
background (not with background supplied by creator), does they break
the law? If I give an additional tool bar to user's browsers and they
will see your page with my tool bar will I break your copyright? Why my
frame cannot be considered as an additional tool bar of a browser?

Oct 9 '05 #5
op*********@yahoo.com writes:
frame cannot be considered as an additional tool bar of a browser?


That's not even an ethical or legal question - technically, there are *far*
better ways to add a browser toolbar, that don't muck up navigation, book-
marking, browser history, etc. the way that frames can.

If you want to implement a toolbar, have a look at the plugin API of your
target browser, and use the right tool for the job.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Oct 9 '05 #6
On 9 Oct 2005 02:05:15 -0700, op*********@yahoo.com wrote:
What you are trying to do is display an external Web page contrary
to the way the owner of that page wants it to be displayed. DON'T
DO IT! Have some respect for the creative efforts of a page's
owner.
That isn't quite the point. If you switch off styling in your browser,
or view the page in Lynx, you are quite possibly displaying it contrary
to the way the owner wants the page displayed (at least if the owner is
a deezyner-type) but there is nothing wrong with that. The issue is
taking someone else's material and effectively displaying it within
one's own site.
My own pages are copyrighted. I give a blanket release to anyone
who wants to link to my pages.
I never heard that sometimes it is forbidden to link to somebody's
page. Does it mean that if I link to your page without your permission
I break the law and will account for it?
Being able to link directly to any page of a site is an intrinsic part
of the concept of the World Wide Web. In my opinion, suggesting that
someone needs permission to link to a page is as ridiculous as
suggesting that someone needs permission to reference a particular page
of a book.

Sadly however there are a few benighted companies who think that
everyone who visits their site should come through their main entry page
- the one with the advertisements on it. There have been some court
cases on this, and I believe there have even been one or two
ill-informed judges who have ruled against so-called "deep linking".
However it is possible that in some of these cases the linker was in
fact framing the other site - I haven't tried to disentangle all the
rights and wrongs. As more judges themselves start to use computers, the
risks of silly rulings on this point are diminishing.

AIUI however one of the reasons behind the present trend of free logins
on many news sites is indeed to force readers to go through the "front
page".
What about google? It makes
linkage automatically and there are links on your page in the search
results. Does it mean that you can bring an action against google?
You can always bring an action against anyone. In this case you wouldn't
deserve to succeed though.
By
the way, do we speak about some world-wide law regulating
interrelations in web-space or we speak just about law of USA?
I suspect we are actually talking about the particular judge concerned
and which side of bed he got out of. (Although if you are passing off
other peoples work as your own, that would be prohibited in almost all
countries.)
However, that release requires my
pages do not appear within a frame on someone else's page. If you
display one of my pages in one of your frames, that is a violation
of my copyright, for which I will take whatever legal measures are
necessary to protect.

Here is a link on google-page which put your copyrighted page into a
frame. Does google break the low?
http://images.google.com/imgres?imgu...l%3Den%26lr%3D


In this case it may do. Try taking Google to court and let us know how
you get on.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Oct 9 '05 #7
As a general comment to this thread, I would like to draw everyone's
attention to <URL:http://www.w3.org/DesignIssues/LinkLaw>.

Thor

--
http://www.anta.net/OH2GDF
Oct 9 '05 #8
Stephen Poley wrote [in part]:

Being able to link directly to any page of a site is an intrinsic part
of the concept of the World Wide Web. In my opinion, suggesting that
someone needs permission to link to a page is as ridiculous as
suggesting that someone needs permission to reference a particular page
of a book.

Sadly however there are a few benighted companies who think that
everyone who visits their site should come through their main entry page
- the one with the advertisements on it. There have been some court
cases on this, and I believe there have even been one or two
ill-informed judges who have ruled against so-called "deep linking".
However it is possible that in some of these cases the linker was in
fact framing the other site - I haven't tried to disentangle all the
rights and wrongs. As more judges themselves start to use computers, the
risks of silly rulings on this point are diminishing.


Copyright law gives me control over the dissemination of what I
created. Web hosts do indeed block access or even delete Web pages
that link to other pages in violation of the copyrights on those
latter pages.

This is not merely a commercial issue restricted to "a few
benighted companies". I have seen copyright notices specifically
denying permission to link other than to top-level pages within a
Web site.

The real issue is that I put time and effort into creating my
pages. I own them. Thus, I have the right to control them. My
own copyright notice grants permission to link to any of my pages
-- PROVIDING you do not do so in a manner that displays my pages
within your frame. When you display one of my pages within your
frame, you create the false impression that my work is actually
part of yours, that you now control my property.

--

David E. Ross
<URL:http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.
Oct 9 '05 #9
On Sun, 09 Oct 2005 12:48:07 -0700, David Ross <no****@nowhere.not>
wrote:
Stephen Poley wrote [in part]:

Being able to link directly to any page of a site is an intrinsic part
of the concept of the World Wide Web. In my opinion, suggesting that
someone needs permission to link to a page is as ridiculous as
suggesting that someone needs permission to reference a particular page
of a book.

Sadly however there are a few benighted companies who think that
everyone who visits their site should come through their main entry page
- the one with the advertisements on it. There have been some court
cases on this, and I believe there have even been one or two
ill-informed judges who have ruled against so-called "deep linking".
However it is possible that in some of these cases the linker was in
fact framing the other site - I haven't tried to disentangle all the
rights and wrongs. As more judges themselves start to use computers, the
risks of silly rulings on this point are diminishing.
Copyright law gives me control over the dissemination of what I
created.


Within certain limits, yes. But you do not have the rights to determine
whether other people refer to your material or not.
Web hosts do indeed block access or even delete Web pages
that link to other pages in violation of the copyrights on those
latter pages.
Then they are being silly. But web hosts are not known for understanding
copyright law. There was a test carried out in Holland recently when
someone wrote to about ten different hosts demanding that they remove
copyrighted material. The material was out of copyright, and the
briefest check would have shown it was out of copyright (it was from a
fairly well-known and long-dead author). Horrifyingly, the majority
removed the material without any checks whatever - without even asking
the writer to show that he had any rights in the matter or the
page-author what he thought about it.
This is not merely a commercial issue restricted to "a few
benighted companies". I have seen copyright notices specifically
denying permission to link other than to top-level pages within a
Web site.
Well, maybe it's a lot of benighted companies then.
The real issue is that I put time and effort into creating my
pages. I own them. Thus, I have the right to control them.
But you do *not* have the right to control someone else's reference to
them.

Do you really suppose that if Fred Bloggs publishes a book, he can
prohibit someone else from writing "Fred Bloggs describes widget
manufacture on page 38 of his book 'All About Widgets'"?

Whether the reference to your site takes the form of some text "David
Ross has written on subject X" or the form of an explicit hyperlink
*should* make no difference - in both cases it is just a reference to
your site - though as I mentioned earlier, it appears that some judges
may not understand that point.

My
own copyright notice grants permission to link to any of my pages
-- PROVIDING you do not do so in a manner that displays my pages
within your frame. When you display one of my pages within your
frame, you create the false impression that my work is actually
part of yours, that you now control my property.


Yes, that is a different matter and I'm inclined to agree with you. Will
you be taking legal action against Google?

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Oct 9 '05 #10
Dan
op*********@yahoo.com wrote:
Hello everybody,

I have created a page consisting of two frames. The second frame is
made to display "external" sites (i.e. written not by me, for
example www.google.com). But I found that some "external" pages
(for example www.hotmail.com ) do not "want" to be displayed in my
frame. They take the whole windows. Does anybody know why? Does anybody
know whether this problem can be solved, i.e. whether one can force
sites to be displayed into the fame?


Force doesn't work on the Web.
http://webtips.dan.info/force.html

It sounds like you're trying to get into a war of "dueling scripts",
where your site tries to force somebody else's site into a frame, while
the other site tries to force itself out of your frame. The wishes of
the end user don't figure into this at any point, and his browser may
end up in convulsions as it tries to execute the conflicting scripts of
both sites, unless he has some sense and disables scripting to prevent
it. Most likely he ends up going away from both of your sites.

--
Dan

Oct 9 '05 #11
Stephen Poley wrote:

On Sun, 09 Oct 2005 12:48:07 -0700, David Ross <no****@nowhere.not>
wrote:
Stephen Poley wrote [in part]:

Being able to link directly to any page of a site is an intrinsic part
of the concept of the World Wide Web. In my opinion, suggesting that
someone needs permission to link to a page is as ridiculous as
suggesting that someone needs permission to reference a particular page
of a book.

Sadly however there are a few benighted companies who think that
everyone who visits their site should come through their main entry page
- the one with the advertisements on it. There have been some court
cases on this, and I believe there have even been one or two
ill-informed judges who have ruled against so-called "deep linking".
However it is possible that in some of these cases the linker was in
fact framing the other site - I haven't tried to disentangle all the
rights and wrongs. As more judges themselves start to use computers, the
risks of silly rulings on this point are diminishing.


Copyright law gives me control over the dissemination of what I
created.


Within certain limits, yes. But you do not have the rights to determine
whether other people refer to your material or not.
Web hosts do indeed block access or even delete Web pages
that link to other pages in violation of the copyrights on those
latter pages.


Then they are being silly. But web hosts are not known for understanding
copyright law. There was a test carried out in Holland recently when
someone wrote to about ten different hosts demanding that they remove
copyrighted material. The material was out of copyright, and the
briefest check would have shown it was out of copyright (it was from a
fairly well-known and long-dead author). Horrifyingly, the majority
removed the material without any checks whatever - without even asking
the writer to show that he had any rights in the matter or the
page-author what he thought about it.
This is not merely a commercial issue restricted to "a few
benighted companies". I have seen copyright notices specifically
denying permission to link other than to top-level pages within a
Web site.


Well, maybe it's a lot of benighted companies then.
The real issue is that I put time and effort into creating my
pages. I own them. Thus, I have the right to control them.


But you do *not* have the right to control someone else's reference to
them.

Do you really suppose that if Fred Bloggs publishes a book, he can
prohibit someone else from writing "Fred Bloggs describes widget
manufacture on page 38 of his book 'All About Widgets'"?

Whether the reference to your site takes the form of some text "David
Ross has written on subject X" or the form of an explicit hyperlink
*should* make no difference - in both cases it is just a reference to
your site - though as I mentioned earlier, it appears that some judges
may not understand that point.
My
own copyright notice grants permission to link to any of my pages
-- PROVIDING you do not do so in a manner that displays my pages
within your frame. When you display one of my pages within your
frame, you create the false impression that my work is actually
part of yours, that you now control my property.


Yes, that is a different matter and I'm inclined to agree with you. Will
you be taking legal action against Google?


I don't have to take legal action against Google. Google's placing
of Web pages in frames is limited to when a user searches for an
image. Google provides a means for me to remove my images from its
search index and inhibit its bots from indexing those images in the
future.

My goal is to retain control of my property. If I can accomplish
that without suing, I am satisfied. "Sue the SOB at the drop of a
hat" might be the slogan of some, but it's not my slogan.

--

David E. Ross
<URL:http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.
Oct 10 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: vk | last post by:
I have a situation where I have 3 frames. The first frame is dynamic and contains javascript variables for use throughout the frameset page and the other frames. Everything works fine...except...
2
by: Mike Preece | last post by:
Hi I have to apologise for this in advance.. Sorry I know this is the wrong group to ask but this question I don't know where I should be asking it. What can I send from the server to a...
3
by: Phil | last post by:
how do I force a window, pened alone, to be displayed in its frame set? tried this: if (parent.location.href == self.location.href) { window.location.href = '../'; } the problem is that...
0
by: crownergis | last post by:
Hello. I'm Johnny Cash. Actually I have a bit of a problem. I have a page with an inline frame. The contents of the frame are wider than the frame (and designed that way). The newest content in...
1
by: Marco Maroni | last post by:
How to force image refresh on client browser ? Is ti possible to force the refresh of the same image (tha was changed server-side) to the client, without user press Contrl+F5 in IE ? - Marco
5
by: Jeronimo Bertran | last post by:
I have a DataGrid that gets filled based on a filter which is defined by the values that the user selects on several controls. When the page postbacks after changing the selection on the filter...
2
by: Yogi_Bear_79 | last post by:
I have a script that parses window.location.hash to figure out which xml file to load. The xml files populate a page on a framed site. The code works correctly to a point. If I have a seperate...
2
by: dmc2409 | last post by:
Well, I am more a desigber than developer. Need to solve the folloving problem. I have a page on, lets call it Firstserver. It opens Page1, Page2 and Page3 on Secondserver through a frame on the...
6
by: Thiago Macedo | last post by:
I could not find on the web a complete solution for this task. This is not the perfect solution, because it's doesn't have the ability to log the logout if browser crash or user leave it open while...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.