akaMrNagar / Mindful

Your Ultimate Companion for Focus and Well-being.
https://bemindful.vercel.app/
GNU General Public License v2.0
161 stars 4 forks source link

Nsfw blocker not working in some browsers/apps #54

Closed akaMrNagar closed 1 month ago

akaMrNagar commented 1 month ago

Nsfw blocker is not working in following browsers/apps

akaMrNagar commented 1 month ago

Working on it

akaMrNagar commented 1 month ago

I would like to clarify how mindful detect and blocks adult content

Detecting

Mindful detects URL of what user is searching and where from the url bar of the browser.

Blocking

1. Search Result Filtering

Mindful mostly depends on the search engines to filter out adult content while showing search result. It initially checks if the SAFE mode is ACTIVE or not, if it is inactive then it redirect user to safe search.

2. Domain Blocking

Even if after filtering or by direct mean the user reaches the adult website then it is blocked on the basis of DOMAIN name. The list of blocked domain is already shipped with the app. The Domains can be found here

The problem

Some browsers like 'Samsung Internet' does not show the full ADDRESS in url bar which makes impossible to detect if SAFE search is ACTIVE or NOT. Mindful can retrieve what user sees beside that it can't fetch app's internal data.

Now comes the solution

To get rid of this issue i honestly recommend you to switch to different browser like Chromium, Chrome, Brave, DuckDuckGo etc. If you can't change the browser then consider blocking the adult website by adding it into the distracting sites like in the Wellbeing tab in Mindful. This way the site gets blocked on the basis of domain if it is already not included in the above mentioned predefined Domains.

Another way is to block the main browser and have supported secondary browser which can be used instead for the whole period or the time when you get the urge to watch adult content.