Open ItsNickBarry opened 5 years ago
Tabs can be searched by title, but not by content, as far as I know.
I would like to work on this.
I am making good progress, but in the meantime I found an extension that pretty much already does what you want and more: https://chrome.google.com/webstore/detail/tab-master-5000/mippmhcfjhliihkkdobllhpdnmmciaim. Just install it and open a new tab and you can search tabs, history, etc. Is there some different functionality you are looking for?
Repo here: https://github.com/jaszhix/tab-master-5000-extension
@jeffslofish The search function seems to account for only tab titles and URLs. What I'm suggesting is that it be extended to search the full content of the tabs, and that the results be displayed like those of a search engine - with context, not just a filtered list of tabs.
@ItsNickBarry So I have some good news. I have a prototype that demonstrates the feasibility of searching tab content and displaying search results that link to each tab.
You can find the repo here: https://github.com/jeffslofish/tab-search-chrome-extension. I have included some instructions for how to test it out in development mode right now.
I'll take a look. Any chance of a cross-browser version? Is any of your code Chrome-specific?
I imagine each browser might handle loading of restored tabs from a previous session differently.
I developed it in Chrome. Let me see what it would take to make it work in Firefox too.
I just made a fix to the manifest file and it is working in Firefox too now.
@jeffslofish Looks very good so far.
I stumbled upon Memex a few days ago. It can basically do what you want! It can scour through “every word of all websites & PDFs you bookmarked, tagged, listed, or annotated.” It can’t directly search open tabs, but you can add all open tabs to a collection, and from there you can search through them. Check it out!
Project description
A project with two parts:
Many users of tabbed browsing make use of the feature to the extreme, and may find it difficult to locate a particular tag among the multitudes. A full-text search of all open tabs would be useful. This might include fuzzy matching.
Some users, weary of being overwhelmed by their open tabs, close them prematurely. A full-text search of closed tabs would help them to locate lost information. This could be applied to recently-closed tabs, or to a user's entire browsing history, depending on storage restrictions.
Relevant Technology
Javascript, Browser Extensions, Databases (must work with browser local storage), Search (something like Lunr?)
Complexity and required time
Complexity
Required time (ETA)
Categories