如何获取浏览器的内容,包括窗口的菜单栏、框架/边框以及折叠下方的内容?

发布于 2024-07-20 06:05:15 字数 229 浏览 7 评论 0原文

我记得在网络发展的早期,有一些书包含了整个浏览器窗口的标题栏、菜单栏,甚至浏览器的边框,以及其中的内容——不仅仅是窗口中当前的内容,但即使向下滚动也能看到所有内容)。

我也希望能够做到这一点...有没有一种简单的方法来编写 Win32 或 Mac 应用程序来做到这一点,或者也许作为 Firefox 扩展(附加组件)?

(浏览器菜单栏和书签栏可以是真实的,也可以是假的——无需在书签栏上显示我的个人书签)

I remember in the early days of the web, there were books that included the whole browser window's title bar, menu bar, and even the border of the browser, and the content inside of it -- not just the current content in the window, but all the content even when scrolled down).

I'd like to be able to do that too... is there a easy way to write a Win32 or Mac app to do that, or perhaps as a Firefox extension (add-on)?

(the browser menu bar and bookmark bar can either be real or fake -- no need to show my personal bookmarks on the bookmark bar)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

独木成林 2024-07-27 06:05:15

您可以使用 Webkit 框架在 OS X 端编写这样的应用程序< /a> 对于可可。

Windows 上的 .NET 有自己的 WebBrowser 和 WebBrowserBase 类< /a> 提供类似小部件的可编程浏览器。 查看 WebBrowserBase 的 DrawToBitmap 方法班级。

还有一些应用程序已经做到了这一点。

对于 Mac OS X,有 狗仔队Little Snapper 可以做你想做的事。

对于 Windows,请检查 SiteShoter网页截图

You can write such an app on the OS X side using the Webkit framework for Cocoa.

.NET on Windows has it's own WebBrowser and WebBrowserBase class that provides a programmable browser like widget. Check out the DrawToBitmap method of the WebBrowserBase class.

There are also several apps that already do that.

For Mac OS X there is Paparazzi and Little Snapper that can do what you want.

For Windows check SiteShoter and Webshot.

友谊不毕业 2024-07-27 06:05:15

您可以使用 Firefox 的 FireShot 扩展,然后使用 Microsoft 的 Paint 和 Alt- PrtScr 添加周围的镶边。

You could use Firefox's FireShot extension and then use Microsoft's Paint and Alt-PrtScr to add the surrounding chrome.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文