Here's a little bookmarklet I came up with, I called "SAT", stands for "Save AnyThing (for offline reading)". It uses Google Gears and works like this:

这是我想出的一个小书签,我称为“ SAT”,代表“保存任何内容(供离线阅读)”。 它使用Google Gears ,其工作方式如下:

  • you're about to go offline (maybe boarding a plane) and want to catch up on some reading您将要离线(也许登机),并想继续阅读
  • you visit any page您访问任何页面
  • you click the SAT bookmaklet您单击SAT小册子
  • it saves all the pages that are linked from the current page (only those on the same domain, you know, security and stuff)

    它会保存从当前页面链接的所有页面(仅知道同一域中的页面,安全性和内容)

  • you disconnect from the Net and read offline您断开网络连接并脱机阅读

Pretty cool, eh?

很酷吧?

Initially I wanted to experiment with Google Gears and write a phpBB extension to save the latest forum topics for offline reading. But after thinking about it a bit I thought it can be done in an even more generic way and save anything for offline reading. All you need is a page that has a bunch of links, any page - a forum, a blog, the array section of the PHP manual... anything. After you run the bookmaklet, you'll have an offline copy of all the linked pages. Gotta love those bookmarklets, nothing to install, just a click in the favourites.

最初,我想尝试使用Google Gears并编写phpBB扩展名以保存最新的论坛主题以供离线阅读。 但是经过一番思考后,我认为可以用一种更通用的方式完成此操作,并保存任何内容以供离线阅读。 您需要的是一个包含一堆链接的页面,任何页面-一个论坛,一个博客,PHP手册的array部分...等等。 运行小册子后,您将具有所有链接页面的脱机副本。 一定喜欢那些小书签,无需安装任何东西,只需在收藏夹中单击即可。

演示版 (Demo)

» Click here for a recorded demo

»单击此处查看录制的演示

(demo is kinda clumsy, my first attempt in screen recording, I used Adobe Captivate, pretty bad I couldn't upload the result to youtube)

(演示有点笨拙,这是我第一次尝试进行屏幕录制,我使用了Adobe Captivate,非常糟糕,无法将结果上传到youtube)

For a live demo, you can also test the bookmarklet by simply clicking the download links below.

对于现场演示,您还可以通过单击下面的下载链接来测试小书签。

下载 (Download)

Drag those two links to your favorites/bookmarklets. The first one is to store offline pages, the second is to remove the stored versions.

将这两个链接拖到您的收藏夹/书签中。 第一个是存储脱机页面,第二个是删除存储的版本。

  • SAT

    SAT考试

  • SAT -d

    SAT

源代码 (Source code)

If you want to take a peek at the source code, the human-friendly versions are here:

如果您想看一看源代码,可以在这里找到人类友好的版本:

  • sat.js - Save AnyThing

    sat.js-保存任何内容

  • sat-d.js - Save AnyThing [-d]elete

    sat-d.js-保存所有内容[-d]删除

请注意不会离线存储的页面(Note on pages that will not be stored offline)

Not all pages will be stored offline. I'm aware of these reasons why (there might be others)

并非所有页面都将离线存储。 我知道这些原因(可能还有其他原因)

  • same-origin security policy同源安全策略
  • Gears won't follow redirectsGears不会跟随重定向

注释,错误(Comments, bugs)

Thanks for reading, any comments are appreciated. My guess is the bug count will be pretty low, due to the fact that when the sh..., er, the bug hits the fan, you'll be offline and cannot report it

离线使用Google Gears书签“保存所有内容”相关推荐

  1. 使用 Google Gears 开发离线应用

    Google 在 2007 年 5 月发布了 Gears,它是一种为生成离线网络应用软件而开发的开源技术,Google 希望能在广大开发者的帮助下测试完善功能和发现产品的局限性.简单地说,它是 Goo ...

  2. Google Gears 体验(2):本机 web 服务器

    GoogleGears 的第二个官方例子: http://code.google.com/apis/gears/samples/hello_world_resourcestore.html 这个例子的 ...

  3. 用 Google Gears 增强您的 Web 应用程序

    用 Google Gears 增强您的 Web 应用程序 文档选项 未显示需要 JavaScript 的文档选项 打印本页 将此页作为电子邮件发送 样例代码 2009 年 8 月 20 日 本文将简要 ...

  4. Google Gears 指南

    Gears概述 Google Gears 是一个开源的浏览器插件,它支持用户浏览器能够使用开发者创建的基于 Gears 的离线应用.它提出了一种离线应用的思想,它的三大核心模块将帮助开发者更好地运用这 ...

  5. 同步您的Google Chrome书签,主题等

    Do you regularly use Google Chrome on multiple computers?  Here's how you can keep almost everything ...

  6. Chrome 书签你知道怎么导入吗(谷歌浏览器的书签保存在哪里 、谷歌浏览器书签保存在哪个文件夹)

    首先要搞清楚 更换硬盘的话 操作如下 谷歌浏览器的书签保存在哪里(谷歌浏览器书签保存在哪个文件夹) 系统:Windows 10 浏览器版本:Version 91.0.4472.164 Chrome将所 ...

  7. 如何采用离线的 Google Map API 加载离线谷歌地图的方法

    原文转自:http://www.arceyes.com/bbs/thread-18476-1-1.html 如何采用离线的 Google Map API 加载离线谷歌地图的方法 一.下载示例数据 这里 ...

  8. Google Gears

    Google Gears是一个开源的跨浏览器插件,让使用者可以离线上网,透过SQLite数据库让本地端能够把资料暂存起来.所以网页是透过暂存区取得的,而不是从实际的网络上取得的. HTML5也算是吸取 ...

  9. 360浏览器如何保存html文件夹下,在360浏览器中将书签保存的详细步骤

    软件大小: 68.6MB 软件版本: 12.2.1812.0 软件类型: 浏览器 查看详情 直接下载 很多用户都选择使用360浏览器,那么你们知道在其中怎样保存书签吗?下文就是在360浏览器中将书签保 ...

最新文章

  1. LeetCode实战:LRU缓存机制
  2. 教你如何用阿里canal
  3. winlogon.exe病毒的查杀方法
  4. 你光明,这世界便不黑暗!---2016年.3.16演讲稿
  5. 你的IP地址是不是经常被发现
  6. Java Signal实例
  7. xampp运行php中文乱码,dvwa+xampp搭建显示乱码的问题及解决方案
  8. Linux 命令之 tail -- 在屏幕上显示指定文件的末尾若干行/显示文件尾部内容/查看文件尾部内容
  9. Re: 社团改革还让不让人活了?
  10. python颜色表_数据库表连接的简单解释 | 图文并茂,通俗易懂
  11. 面试总是死在网络协议,我该怎么办?
  12. cacti安装的一个错误
  13. Oracle10g下载地址--多平台下的32位和64位
  14. 概率论:均值、标准差、方差、协方差、矩
  15. matlab color选取(颜色对照表)
  16. python基础之排列组合以及正则表达式
  17. 什么是传统企业电商洪水围城下的诺亚方舟
  18. 利用WNMP部署woniunote
  19. photoshop发光线条教程集
  20. 淘宝-没素质的商家给消费者加入禁购名单

热门文章

  1. 修改永恒之塔服务器掉率,永恒之塔单机版修改掉率及经验倍数
  2. 计算机int型数值范围
  3. 方舟找不到玩过的服务器,方舟怎么找以前玩过的服务器 | 手游网游页游攻略大全...
  4. 防汛柴油自吸水泵 大流量有多少立方
  5. Part I 空气曲棍球 Chapter7(7.5 Adding Classes for Our Shader Programs)
  6. 紫光展锐与合作伙伴发布《共建5G产业生态倡议书》
  7. 【ASP.NET教程-WP教程08】ASP.NET Web Pages - 文件-在ASP.NET Web Pages中处理文件和实现文件上传功能的介绍
  8. 2023-05-25 关于不将重点放在问题解决反而放在维护自尊上-反思
  9. 四款iPhone 14售价齐曝光:这起步价苹果良心?
  10. 2-3树------2-3-4树-----左倾红黑树