lawrencehook / remove-youtube-suggestions

A browser extension that removes YouTube suggestions, comments, shorts, and more
https://lawrencehook.com/rys/
Mozilla Public License 2.0
368 stars 32 forks source link

Lockdown functionality #87

Open DavidGreeg opened 1 year ago

DavidGreeg commented 1 year ago

It would be nice if you could lockdown the current configuration with a timer, like for periods of study/concentration. The current schedule functionality is nice, but I feel that the button to turn-off the extension for a while is a little too accessible so it's quite easy/tempting to slack off while working.

lawrencehook commented 1 year ago

image

It exists! If I'm understanding you right.

lawrencehook commented 1 year ago

@DavidGreeg Does the "menu timer" do what you were thinking of or did you have something else in mind?

DavidGreeg commented 1 year ago

Hi, sorry for the delay, didn't think you'd reply so soon. Well yeah, while that's kinda what I'm talking about (although I don't know how it slipped right through me the first time I explored the functionalities of the extension), I thought of it as a configurable timer; like "Lockdown menu for N hours".

DavidGreeg commented 1 year ago

I meant it as a way to make it less accessible for the user to turn-off the extension for 10 minutes and clicking on a 30 minute anime review... the user is me lmao. PS: I edited the comment because the button I was talking about it's the "turn-off" button (formerly speaking), not the "enable/disable extension" button

DavidGreeg commented 1 year ago

So that's a no-no?

lawrencehook commented 1 year ago

Hi David, sorry for the delay. I'm still not quite sure what you're asking for!

0xatulpatil commented 1 year ago

What @DavidGreeg is trying to say is, is there any way to completely restrict a user from turning off/disabling the RYS extension?

He's saying that it's very easy for him to slack and turn off the extension, so is there any way that would prevent him from disabling the extension for a certain amount of time?

coldenate commented 2 months ago

I wanted to chime in on this discussion about adding a lockdown feature to Remove YouTube Suggestions. I completely understand the idea behind this feature - to prevent users from easily disabling the extension and getting distracted.

I truly believe this feature would "complete" this extension. (at least for me) I find the extension works great, but I regrettably just built a path in my mind that runs like a habit whenever I want to circumvent the extension.

I've actually been thinking about implementing this feature myself, and I've even forked the repository to take a stab at it. However, I've run into some issues integrating my changes with the settings UI logic. I think what David is getting at is that having a timer-based lockdown would be incredibly helpful. This would allow users to lock themselves out of disabling the extension for a set period of time, making it easier to stay focused. To expand on this idea, I think it would be great if we could have an option to prevent users from pausing the extension for a specified time period. In this, I believe the psuedo-logic would be: CleanShot 2024-05-26 at 18 53 58@2x

(pretend we are looking at the UI to *turn off* the extensison)

if (lockdown) {
 do not show options to turn off extension
}

What I struggled with: how to implement that into the preexisting settings UI. I think as the initial dev, you would understand this best. @lawrencehook

lawrencehook commented 2 months ago

What if the turn-off button is automatically disabled/hidden when the schedule feature is active?

lawrencehook commented 2 months ago

I'm also thinking of adding a 'password' feature which would make it harder to quickly disable.

coldenate commented 2 months ago

What if the turn-off button is automatically disabled/hidden when the schedule feature is active?

This seems brilliant! I like this one.

I'm also thinking of adding a 'password' feature which would make it harder to quickly disable.

Also a good idea! JOMO has a good idea for this where they make you type out a 25 character randomly generated password. It takes a long time to make sure you aren't just following an impulse.

lawrencehook commented 2 months ago

As of version 4.3.59:

Thanks for all the feedback!

Up next I'll add a password feature.