简体   繁体   English

没有iframe的Javascript或XUL窗口

[英]Javascript or XUL windows WITHOUT iframe

I am trying to build a multi-window website for my bookmarks, but I have some problems. 我正在尝试为我的书签建立一个多窗口网站,但是我有一些问题。

Here is the js version of what I am trying to build: http://www.students.itu.edu.tr/~ozyildiri2/zpwin/zapatec 这是我要构建的js版本: http : //www.students.itu.edu.tr/~ozyildiri2/zpwin/zapatec

Unfortunately, there are problems with this approach. 不幸的是,这种方法存在问题。 The sites in the windows are loaded through iframes, and iframes have problems (like framebreaker sites and js issues). Windows中的网站是通过iframe加载的,iframe存在问题(例如framebreaker网站和js问题)。

I want them to be XUL browsers or anything without iframe. 我希望它们成为XUL浏览器或没有iframe的任何东西。 Do you think this is possible? 您认为这可能吗? If so, how? 如果是这样,怎么办?

My main target is to make a website that people login and see their bookmarks like the one on the example. 我的主要目标是建立一个使人们能够登录并看到他们的书签的网站,就像示例中的一样。 I don't want a firefox extension. 我不需要Firefox扩展。 I want something similar to www.only2clicks.com but showing the actual websites, not the thumbnails. 我想要类似于www.only2clicks.com的内容,但要显示实际的网站,而不是缩略图。

I am open to other approaches. 我愿意接受其他方法。 Maybe flex or stuff. 也许弯曲或东西。

Thank you all. 谢谢你们。

There is nothing you can do efficiently here. 在这里,您无能为力。 You would essentially be making a proxy if you fetch all of the data of a page then display it on your site using your server. 如果您获取页面的所有数据,然后使用服务器将其显示在您的站点上,则实际上您将成为代理。 And that can be tough on the server. 这在服务器上可能很难。 Iframes are the best approach here if you want to display a working website in their place. 如果您想在其位置显示可正常运行的网站,则iframe是最好的方法。 Perhaps thumbnails are a better option. 也许缩略图是更好的选择。

I don't see why you would want to load a web site in a tiny iframe like that. 我不明白为什么您要在这样的小型iframe中加载网站。 You can't use the sites when they're that small. 这么小的网站,您将无法使用。

Have you ever used the Opera browser ? 您曾经使用Opera浏览器吗? That might be a better solution to your problem - you can save sessions (groups of web pages) and you can also tile the tabs. 这可能是解决您的问题的更好解决方案-您可以保存会话(网页组),也可以平铺标签。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM