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

Feature: Add the ability to create whitelists and/or blacklists of sites to save (and what to save on them) #1535

Open
spaceman7777 opened this issue Aug 15, 2024 · 3 comments

Comments

@spaceman7777
Copy link

Describe the solution you'd like
I've written these as user stories, to help convey the utility of white listing and black listing.

There are times when I'm doing something where I'd like to save everything, with the exception of certain sites (like, while doing research, save everything except for chatgpt/google docs/etc.). For this, it would be great to be able to enable a blacklist profile.

Also, when I'm generally browsing the web, I'd like to be able to do stuff like save every time I open up wikipedia, certain news sites, etc., but nothing else. For this, it would be great to be able to enable a blacklist profile.

Also, there are some sites, like social media, where saving all of the image content is simply not feasible. So, it'd be great to be able to set in a profile that for certain sites, a certain mode of saving should be used, i.e., stuff like image/no images, video/no video, and so on

This would make SingleFile's "Auto-save" mode much more useful. I rarely find myself able to turn it on, because the sites I visit while browsing the web are open are so disparate.

Would love to have this feature! Great job with everything else to do with this add-on though. It is very much appreciated.

@gildas-lormeau
Copy link
Owner

Thank you for the kind words and the suggestion. This feature already exists for the auto-save actually. This can be done with the auto-settings rules. See for example #1240.

However, you cannot disable SingleFile for one or multiple websites when saving manually one or multiple tabs. It might make sense to add “Disabled” in the select input of the first column (which is not the case today). I'll have to look into it.

@spaceman7777
Copy link
Author

Thank you for your response.

If my understanding is correct, the linked issue is a partial solution to my proposed scenarios, in that it allows for blacklisting in auto-save mode.

One of the cases I was describing would require a white list though. The case I've been considering is turning on "Auto-save", and setting it to always scrape social media sites like twitter/etc., and send the scraped pages to an api via the api feature, to parse out a full history of all tweets that I've seen in my browser. I may be incorrect in my reading of the functionality suggested on that bug though, and this is already present. Anyway, I hope that explanation demonstrates the value of such a feature. Ty again.

@gildas-lormeau
Copy link
Owner

I've added the possibility of blocking a site in the auto-settings rules, without necessarily using auto-save. So it applies if you save several tabs manually, for example. Specifically, I've added the choice “Disabled” in the first column for this purpose. This feature is available in the latest version.

I also confirm that it is possible to whitelist sites by assigning “Disabled” to any URL (i.e. “*”), adding a rule for each whitelisted site on a case-by-case basis and selecting a profile other than “Disabled”.

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

No branches or pull requests

2 participants