Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesnt work ... dud addon #16

Open
circuitikzuser opened this issue Nov 24, 2021 · 10 comments
Open

Doesnt work ... dud addon #16

circuitikzuser opened this issue Nov 24, 2021 · 10 comments

Comments

@circuitikzuser
Copy link

circuitikzuser commented Nov 24, 2021

Just to mention my experience.
I needed an addon in firefox that will close a tab containig a certain phrase.
Installed power-close, entered the phrase in the text box from the menu icon created and nothing happens. It does squat and the Tab still remains . I tried putting the phrase in quotation marks and that didnt work either.

@mos3abof
Copy link
Owner

Thank you for your feedback. Just to make sure I understand, was the phrase part of the URL of the tab you are closing? Or was it part of the content of the tab? The addon does not support the latter.

@circuitikzuser
Copy link
Author

Content.

@mos3abof
Copy link
Owner

I see. This is not yet supported. Will try to add support for that in the future.

@circuitikzuser
Copy link
Author

Ok thanks, There is never any purpose for me to close down tabs containing a url so I assumed it was for body text. , but there is a huge need for closing down tabs containing a string of text.

@shmup
Copy link

shmup commented Jul 22, 2022

Ok thanks, There is never any purpose for me to close down tabs containing a url so I assumed it was for body text. , but there is a huge need for closing down tabs containing a string of text.

Is there though? It never occurred to me to close any tabs based on this method. Or any vim buffers. Or, the list goes on.

@mos3abof mos3abof closed this as completed Sep 8, 2024
@circuitikzuser
Copy link
Author

circuitikzuser commented Sep 8, 2024

Of course there is.
If there are sites with explicit text you want to avoid then this will be great to just close all those tabs containing the text as mentioned as it is time consuming closing them all.

One example is is for auction sites which you batch open in tabs for results as items found for a query. It always returns tabs with no results and always state fix text on the return.
It would be nice to batch close all those tabs, as it is time consuming closing them manually.
This is only one case.
Will save a huge amount of time.

@shmup
Copy link

shmup commented Sep 8, 2024

@circuitikzuser I absolutely came around to your idea even when I read it again the other day!

We can do it. Back then I forked this project and made it my own:

image

At the time I wanted to be able to type multiple strings into the input at once, to match many tabs.

I think with your wishes, it'd be best to have this be a preference, such as a toggle in the popup, or a !flag of some sort. What do you think? I just don't want it to be default.

For this, I'd likely just fork/contribute the changes to this repo, and not mine. Mine is too personalized now for anyone lol


@mos3abof can you open this back up? I will contribute the change, once we decide the best way this feature can be utilized

@mos3abof mos3abof reopened this Sep 8, 2024
@mos3abof
Copy link
Owner

mos3abof commented Sep 8, 2024

This is an interesting discussion! Did not expect the conversation to be live after all these years :)

@circuitikzuser
Copy link
Author

This will be great, but wont forking create a lot of problems maintaining it ?
Anyway it would be great.

Just a note: In my case, the text that should trigger the tab close, is usually in the BODY of the page. Just in case we misunderstand each other. I dont know if that would be more difficult, but sure would be nice ?

@circuitikzuser
Copy link
Author

As an example. Pages to be closed will e.g. contain the following text in the body.
"Item not found, please change search terms"
So I want to close all open tabs with that text in the body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants