473,385 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Opening External Page in My Frameset

Hi,

I'm trying to load a page external to my website into my frame. I have
several links on my page that work fine but when connecting to the site
http://www.formulaboats.com
I am forced out of my frames and the above link is opened in the whole
window. I'm assuming the formualboats site has stopped people from
opening their pages in frames but my questions are
1. How did they do this? Is it an HTML thing or a javascript thing?
2. Is there a way around it so I can open their page in my frame.

Thanks very much!

Mike
ms*****@optonline.net
Jul 23 '05 #1
10 3776
Quoth the raven Michael:
Hi,

I'm trying to load a page external to my website into my frame. I
have several links on my page that work fine but when connecting to
the site http://www.formulaboats.com
What is your URL?
I am forced out of my frames and the above link is opened in the
whole window. I'm assuming the formualboats site has stopped people
from opening their pages in frames but my questions are 1. How did they do this? Is it an HTML thing or a javascript thing?
Could be.
2. Is there a way around it so I can open their page in my frame.
Apparently, they've discovered you were stealing their content and
took measures so you can't display their material in your site.

Way around? There may be, but (what's that old line?) then we'd have
to kill you.
Thanks very much!


Quite welcome.

--
-bts
-Whose sites also won't work in your frame.
Jul 23 '05 #2
"Michael" <ms*****@localhost.localdomain> a écrit dans le message de
news:pa*********************************@localhost .localdomain
I'm trying to load a page external to my website into my frame. I have
several links on my page that work fine but when connecting to the
site http://www.formulaboats.com
I am forced out of my frames and the above link is opened in the whole
window.


See in the source :

if (parent.frames.length) { top.location=document.location;}It's JavaScript,
and it force to open the document in a whole window.

Jul 23 '05 #3
In article <pa*********************************@localhost.loc aldomain>,
ms*****@localhost.localdomain enlightened us with...
but my questions are
1. How did they do this? Is it an HTML thing or a javascript thing?
Javascript.
2. Is there a way around it so I can open their page in my frame.


Yes.

--
--
~kaeli~
Shotgun wedding: A case of wife or death.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #4
On Wed, 22 Sep 2004 10:48:14 -0400, kaeli wrote:
Could you tell me the way around it please?
Thank you,
Mike
2. Is there a way around it so I can open their page in my frame.


Yes.

Jul 23 '05 #5
Quoth the raven Michael:
Could you tell me the way around it please?


Tell your visitors to disable JavaScript.

You still haven't answered the burning question: why do you want to
frame someone else's site?

What is *your* URL?

--
-bts
-This space intentionally left blank.
Jul 23 '05 #6
> Tell your visitors to disable JavaScript.
Ahh, ok. Easy answer.

You still haven't answered the burning question: why do you want to
frame someone else's site?

"I" really don't. It's a client whose site I'm working on. I personally
find the frames obnoxious but the client likes them and I needed to have an
answer for them as to why the outside content wouldn't load in their
frame and if there was an option to make it work.
What is *your* URL?
It's just a test domain that I use when developing sites. The client
URL hasn't been made live yet.

Thanks very much for the help. I really appreciate it.

Mike
Jul 23 '05 #7
Quoth the raven Michael:
"I" really don't. It's a client whose site I'm working on. I
Does this client also own the boating site?
personally find the frames obnoxious
Well, that is good. ;-)
but the client likes them and
If they don't own that site, are they aware of the possible
implications of copyright infringement? Trying to pass the content as
their own?
I needed to have an answer for them as to why the outside content
wouldn't load in their frame and if there was an option to make it
work.


See what happens when you tell them it is a copyright violation. <g>

I started adding the breakout code to my sites a few years ago when I
found one lodged in someone else's tiny frame. It essentially
destroyed the usability of my site: ability to bookmark, overflow of
my client's product graphics, etc. This boat site would look terrible
in a... 600px frame.

--
-bts
-This space intentionally left blank.
Jul 23 '05 #8
>
Does this client also own the boating site? Nope.

See what happens when you tell them it is a copyright violation. <g>

Excellent idea.
I spoke with the client earlier and they swear their "other" html guy was
able to insert some code that allowed the outside content to be displayed
in their frame. I'm doubtful. In any case, I'm not really the HTML
programmer; I'm doing the database work on the backend. (perl/mysql).
They HTML guy I'm working with didn't know the answer to this question
which is how this got put in my lap.

Thanks again.

Mike
Jul 23 '05 #9
In article <pa*********************************@localhost.loc aldomain>,
ms*****@localhost.localdomain enlightened us with...
On Wed, 22 Sep 2004 10:48:14 -0400, kaeli wrote:
Could you tell me the way around it please?
Thank you,
Mike
2. Is there a way around it so I can open their page in my frame.


Yes.


Top-posting is discouraged in many groups.

There are many, many issues with framing someone else's site.

The answer is to put code in your site that disables or replaces the
javascript in theirs. It can be done (usually), but it's rude, obnoxious,
destroys the usability of the other site oftentimes, and can even be illegal
if the content is copywritten.
So, no, I'm not going to post the actual code for the solution. It also
relies on a known vulnerability in a specific, but very popular, browser.

--
--
~kaeli~
He often broke into song because he couldn't find the key.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #10
On Wed, 22 Sep 2004 18:34:16 GMT, Michael
<ms*****@localhost.localdomain> wrote:
Does this client also own the boating site?

Nope.
See what happens when you tell them it is a copyright violation. <g>

Excellent idea.

I spoke with the client earlier and they swear their "other" html guy was
able to insert some code that allowed the outside content to be displayed
in their frame.


Well, maybe he was. And when the site concerned found out, they put a
stop to it. Or maybe he just disabled Javascript for demonstration
purposes.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 23 '05 #11

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

Similar topics

7
by: George Hernandez | last post by:
I have a site on a set of Linux Servers where my site is PHP enabled and I would like to prevent people from externally linking to content on my site and replace it with a warning image. I've...
9
by: Charley Kyd | last post by:
I'm a newbie who needs advice about how to use external files of JavaScript code. I spent an hour this afternoon browsing through JavaScript books at the local book store. In about 15 different...
1
by: Ian | last post by:
Here's an interesting delema. I have two on-line manuals built with frames. Each has a unique frameset. Some of the pages have related material and are linked. Is there a way to have a page...
2
by: Tom Jordan | last post by:
Hi all, Ok, could do with some advice on this. I've written a script in ASP for a client so they can compose HTML newsletters and include various products from the online database. I didn't...
0
by: Alex A. | last post by:
I have an html frameset page called index.htm. I have a frame that points to ae.aspx, I've changed the frame to point now at default.aspx. Yet when I run in debug mode I'm still opening ae.aspx,...
1
by: John | last post by:
Help me please, I'm creating an excel crystal report. The problem is that it is opening in the browser instead of in its own page. I have done this many times and it had worked just fine. I think...
1
by: mark.martinez2 | last post by:
Here's my problem: It is necessary to have people enter in direct links to pages on my site, which is frame-based, but when they go to any page that isn't the home page, the frameset doesn't load,...
6
by: BillE | last post by:
I have an aspx page which contains a frameset. I want to set the location.href of the frames dynamically using javascript created in the Page_Load of the frameset using RegisterStartupScript, but...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.