spacebarchat / client

Open source, themeable and extendable discord-compatible native Spacebar client
GNU Affero General Public License v3.0
449 stars 88 forks source link

Warnings for messages containing links based on categories (ex. Adware, malware, gambling, fake news, etc.) #20

Open ChunkyProgrammer opened 3 years ago

ChunkyProgrammer commented 3 years ago

I think it'd be a useful feature to have links flagged with a warning message if it belongs to a certain category. I think that StevenBlack's hosts is a good starting point for the categories that should be included (adware+malware, fakenews, gambling, porn, social)

I created a rough mockup: IMG_20210516_002000 Links that are matched with a category display a warning with the category they are matched with.

I think the user should have the option to disable/enable the warning based on categories (ex. Some people might want to be warned about social media links while most people probably won't) as well as the ability to create custom lists

ChunkyProgrammer commented 3 years ago

I don't think this is the best way to display the warning because messages can multiple links

qwertykid commented 2 months ago

Idea: discord already has a popup for links outside of discord, so just add the warding to that.