Block Youtube Users

Hide videos of blacklisted users/channels and comments

< Feedback on Block Youtube Users

Review: Good - script works

Deleted user 25884
§
Posted: 2018-03-26
Edited: 2018-03-27

The dismiss update message is out of control

Your red update warning box about greasemonkey settings loss is showing every single time, no matter if I dismiss it or not.

Relevant data: Tampermonkey/Firefox v60 dev

No settings lost since update.

ScheggeAuthor
§
Posted: 2018-03-26
Edited: 2018-03-26

Can you go to your local storage (F12 > Storage > Local Storage > https://www.youtube.com) and tell me what's your value of byuver? It should be 2.3.3 with no blank spaces.

Deleted user 25884
§
Posted: 2018-03-26
Edited: 2018-03-26

You are correct, but the error occurs regardless:
https://i.imgur.com/LI0KOiu.png

ScheggeAuthor
§
Posted: 2018-03-26

I'm sorry but I have no idea, I've also tried Firefox v60 and it still works fine for me. Have you tried to delete the value and refresh the page twice?
For now I've updated the code, if the error persists you can hide the updates, in the beginning of the code set 'showUpdates' to false instead of true.

Deleted user 25884
§
Posted: 2018-03-26
Edited: 2018-03-26

I'm curious why localstorage to keep user settings? It can be used for tracking:
https://github.com/h5bp/html5-boilerplate/issues/1444

There are extensions to purge said storage for privacy, they have many users:
https://addons.mozilla.org/en-US/firefox/addon/cookie-autodelete/

You might notice this issue on Chrome as well if you purge your cache fully.

I used Greasemonkey for years, the poor decisions of the author forced me to Tampermonkey when his addon fully broke with the FF57 release, it has since been a shadow of its former glory.

Deleted user 25884
§
Posted: 2018-03-26

No can definitely reproduce the issue on 2.3.4 if I clear cache with CTRL+SHIFT+DEL
localstorage is a bad place to store settings

ScheggeAuthor
§
Posted: 2018-03-26

I've decided to change to localStorage after a user told me that the script didn't work for them because the GM functions that I previously used to store values aren't supported anymore by Greasemonkey, they were changed to async functions, something unfortunately that I've some trouble with, so in the meantime to make it work for everyone I use localStorage, but I'm already working on it. I've actually already made it work with the new functions, on both Chrome and Firefox either using Greasemonkey or Tampermonkey, so hopefully I'm going to releasing it soon. Just making sure it's all correct and that I've actually understood what I did since I still kind of not get promises, really.

Deleted user 25884
§
Posted: 2018-03-27

I'm leaving this at a green rating and hope for the best. Else I must downgrade to the previous versions or disable the red box manually in my copy inside Firefox.

Thanks Greasemonkey users :(

Deleted user 25884
§
Posted: 2018-07-12
Edited: 2018-07-12

Ah I see you removed the localstorage references. I can finally upgrade and it is working good!

Post reply

Sign in to post a reply.