4 ms·
It seems like this functionality could be pretty easy to achieve (minus the "cloud" part) with any existing browser that caches to the local filesystem - just s
by userbinator 12y ago
It seems like this functionality could be pretty easy to achieve (minus the "cloud" part) with any existing browser that caches to the local filesystem - just set the cache limits to "unlimited" so it'll continue accumulating pages, and let your OS's search function take care of the rest. If you want to be fancy and keep only the text, add a script that periodically runs to clear out images, CSS, JS, and other cached files you don't need.
One of the biggest problems I can see is with the increasing popularity of web apps that load as a single page and use JS to load/parse/display the data; only the browser can get the actual content in that case.
- tekacs 12y agoI (as have many others) considered building something like this in the past. What you say was exactly what put me off. The difference in CPU time between downloading a page and rendering it (even virtually as with say PhantomJS) was sufficiently large that running in the browser (not centrally) seemed to be the only general purpose way and maintaining _browser_ extensions is... a pretty major job. I was looking into writing a daemon to externally monitor the browser and it's cache (such as Chrome's Current Session file) when I left off. Hopefully the use of server-side prerendering will catch on, be it through Node or other systems...
- kalleboo 12y agoSafari on OS X already does this - you can do a Spotlight search for text on any page in your browser history or in your bookmarks and it'll show up
- logn 12y agoA browser addon could work. I've toyed around in firefox. You can access the rendered dom in addons and do whatever you want with it, including logging it to file. Here's an example of writing to file: https://github.com/prekageo/http-request-logger/blob/master/components/httpRequestLogger.js https://github.com/prekageo/http-request-logger/blob/master/... And you can observe all the requests/responses and wait for an http 200 for the entire page (excluding intermediate 200's for things such as images). Example: https://github.com/MachinePublishers/ScreenSlicer/blob/master/core/firefox-addon/lib/main.js https://github.com/MachinePublishers/ScreenSlicer/blob/maste... The best approach for this would probably be to tie into a page unload event or some hybrid approach. Getting started: https://developer.mozilla.org/en-US/Add-ons/SDK https://developer.mozilla.org/en-US/Add-ons/SDK