Search text across all browser tabs with dbus

asked 2015-01-15 17:17:44 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2015-03-28 17:52:18 +0300

rdmo gravatar image

Ctrl+f or /provides an incremental text search function in other browser implentations. Other questions on seek searching inclusion in the native browser. As an extension to such functionality, how simple would it be to extend text search across tabs with a chain of $(dbus) commands? Optionally searching all loaded tabs would be a valuable search function extension, e.g. with Ctrl+F.

An extra tab would need to open to list results with sparklines and URLs, e.g. with the matching regular expression labels for each URI and some surrounding text for context.

With typical built-in text search users can search their current tab with incremental single results, but sometimes a report with statistics would be better. With search engines users can search across sites to a level of detail arbitrated by their patience, the idiosyncracies of their chosen engine's implementation and other things.

Multi-tab search-and-report enables quick arbitrary searches of local and remote text, something I can't do easily without grep, curl and awk in shell scripts today.

edit retag flag offensive close delete



Duplicate of this

Edit: Across all tabs seem to be a new idea, you could edit the other posts although am not sure how practical it is to implement the feature.

anandrkris ( 2015-01-15 17:23:51 +0300 )edit

@anadrkris: Thanks. I searched for those before posting but did not find them. As you point out, the multi-tab search is a question about an additional aspect of the questions this one's original title duplicates, so I'll amend the title and detail to make this a non-duplicate.

rdmo ( 2015-01-15 17:45:43 +0300 )edit

Does any browser, mobile or desktop, do this?

nthn ( 2015-01-15 19:49:01 +0300 )edit

@nthn: while I do not recall ever seeing a browser do this, I imagine there are plugins that perform this action or are capable of it. I don't believe Javascript can do it from within its own tab, but am happy to learn more from anyone who knows.

It seems a good way to advance the benefits of Jolla and its community processes.

rdmo ( 2015-01-15 21:51:21 +0300 )edit

So now the browser has happily got search in-page. This otherness in the marketing, would multi-tab builtin custom search visualisation-oriented statistical report generation qualify as valid for such promotion theming? It's getting towards the weekend and I'm running out of buzzwords. It seems to me that dbus could be the way to implement it. Is there a way to access tab/webpage data via dbus so as to pipe it to sed or grep and further process the ${/proceeds/}?

rdmo ( 2015-03-27 12:47:57 +0300 )edit