Search text across all browser tabs with dbus
asked 2015-01-15 17:17:44 +0200
This post is a wiki. Anyone with karma >75 is welcome to improve it.
Ctrl+f
or /
provides an incremental text search function in other browser implentations. Other questions on together.jolla.com
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.
Duplicate of this https://together.jolla.com/question/4197/search-in-browser/https://together.jolla.com/question/7132/browser-find-in-page/
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 +0200 )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 +0200 )editDoes any browser, mobile or desktop, do this?
nthn ( 2015-01-15 19:49:01 +0200 )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 +0200 )editSo 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
rdmo ( 2015-03-27 12:47:57 +0200 )editdbus
so as to pipe it tosed
orgrep
and further process the${/proceeds/}
?