NFOHump Cookies Fixer Tampermonkey Script
Page 1 of 2 Goto page 1, 2  Next
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
PostPosted: Thu, 5th Dec 2019 21:05    Post subject: NFOHump Cookies Fixer Tampermonkey Script
Hi,

Together with garus, we each implemented cookie fixer scripts. I am guessing he will add it to his extension.

Here is mine:
https://raw.githubusercontent.com/LeoNatan/NFOHump/master/NFOCookies/NFOCookies.user.js

Add this to Tampermonkey and it should just work to fix the bug where threads are not getting marked as read.


My IMDb Ratings | Fix NFOHump Cookies | Hide Users / Threads | Embedded Content (Videos/GIFs/Twitter/Reddit) | The Derps Collection

Death smiles at us all; all we can do is smile back.


Last edited by LeoNatan on Thu, 26th Dec 2019 16:03; edited 2 times in total
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Thu, 5th Dec 2019 21:06    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:24; edited 1 time in total
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
PostPosted: Thu, 5th Dec 2019 21:06    Post subject:
@garus Look at mine too pls, JS =
Back to top
sabin1981
Mostly Cursed



Posts: 87805

PostPosted: Thu, 5th Dec 2019 21:11    Post subject:
Fantastic work!! Thanks Leo & Garus \o/
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
PostPosted: Thu, 5th Dec 2019 21:57    Post subject:
Also added a prompt to "Mark all forums read" links.
Back to top
ixigia
[Moderator] Consigliere



Posts: 64926
Location: Italy
PostPosted: Thu, 5th Dec 2019 22:24    Post subject:
Finally, the pesky Humpy Cookie Monster will no longer pester us. Thanks a lot!! Very Happy
Back to top
M4trix




Posts: 9018

PostPosted: Thu, 5th Dec 2019 22:50    Post subject:
*Cleaned


Last edited by M4trix on Thu, 2nd Apr 2020 04:06; edited 1 time in total
Back to top
Morphineus
VIP Member



Posts: 24883
Location: Sweden
PostPosted: Thu, 5th Dec 2019 23:03    Post subject:
M4trix wrote:
What's wrong with ze Humps cookies anyway ? Scratch Head


They aren't glazed with VIP cum. We're adjusting that!


Back to top
garus
VIP Member



Posts: 34200

PostPosted: Fri, 6th Dec 2019 16:37    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:24; edited 1 time in total
Back to top
Newty182




Posts: 10797
Location: UK
PostPosted: Fri, 6th Dec 2019 20:15    Post subject:
Speaking of new forums, hows the work coming along for the Humps? Laughing


Ryzen 5 5600, ASUS ROG STRIX B550-F GAMING WIFI II, Corsair Vengeance RGB RT 32GB 3600MHz C16, Zotac RTX 3060 Ti, Corsair RMx Series RM750x. AOC AGON AG324UX - 4K 144Hz 1ms GTG IPS FreeSync KVM
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
PostPosted: Fri, 6th Dec 2019 20:21    Post subject:
Newty182 wrote:
Speaking of new forums, hows the work coming along for the Humps? Laughing

Laughing Laughing
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Fri, 6th Dec 2019 21:14    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:24; edited 1 time in total
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
PostPosted: Fri, 6th Dec 2019 21:37    Post subject:
Troll Face

As I recall, there were more people up in arms about that crap. Wink Laughing
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Fri, 6th Dec 2019 21:53    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:24; edited 1 time in total
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
PostPosted: Fri, 6th Dec 2019 21:55    Post subject:
There shall be no JS in my hump!
Back to top
Morphineus
VIP Member



Posts: 24883
Location: Sweden
PostPosted: Fri, 6th Dec 2019 21:55    Post subject:
Can't trust those Poles. You Suspicious Be


Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
PostPosted: Fri, 6th Dec 2019 22:34    Post subject:
I thrust my pole! Laughing
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
PostPosted: Fri, 6th Dec 2019 22:55    Post subject:
Pushed another version. Cookie is reset when clicking "Mark all as read". It isnโ€™t being reset by default.
Back to top
sabin1981
Mostly Cursed



Posts: 87805

PostPosted: Sat, 7th Dec 2019 11:06    Post subject:
By the way, what's that increasing number on the left control panel? The one that replaces "FAQ" and is above "Search"? It was on 45 yesterday, now it's 60 Very Happy

Scratch that.. 61 now Laughing
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
PostPosted: Sat, 7th Dec 2019 12:22    Post subject:
It's the number of visited threads. This was the problem. It is now limited to 95, and will start clipping once you reach that number, whereas in the past it would reach ~136-137 and grow above 4KB, which wouldn't be accepted by server.
Back to top
Nui
VIP Member



Posts: 5720
Location: in a place with fluffy towels
PostPosted: Sat, 7th Dec 2019 12:23    Post subject:
Its the number of threads, that are currently marked as read by the forum_t cookie. If it were to reach 137 or thereabouts the cookie stops working. Now you can keep watch and wonder if leos script actually works . Enjoy Very Happy

edit: sniped by the author. What pointless existence I have created here. Sad Except it fulfills my quota for today Laughing


kogel mogel
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
PostPosted: Sat, 7th Dec 2019 12:29    Post subject:


Nui wrote:
Now you can keep watch and wonder if leos script actually works .

Now that's surprisingly accurate. I still haven't been able to reach anywhere near 90. And now that mask as read resets the forum_t cookie, there is little chance. Laughing

Sabin, let us know how it goes. Very Happy
Back to top
sabin1981
Mostly Cursed



Posts: 87805

PostPosted: Sat, 7th Dec 2019 13:07    Post subject:
Nice one guys, thanks! I'll keep you updated if works over 95+ Smile

~edit~

Incidentally, do you think this script will fix the (highly annoying) issue where threads end up marking themselves as read if you don't visit them quick enough after opening the page/tab?
Back to top
Nui
VIP Member



Posts: 5720
Location: in a place with fluffy towels
PostPosted: Sun, 8th Dec 2019 10:37    Post subject:
So I went to 95 and beyond. It showed 96 and my cookie was ultimately erased. So everything became unread again. I will limit number to 3 and repeat the test Smile

edit: think i have a fix. Will talk to leo Smile

sabin1981 wrote:
Incidentally, do you think this script will fix the (highly annoying) issue where threads end up marking themselves as read if you don't visit them quick enough after opening the page/tab?

I doubt it Sad

Some part of the read thread tracking happens server side and I think that is faulty as well. I would often avoid reading the forum from different machines because that seemed to mark everything as read as well.
Back to top
sabin1981
Mostly Cursed



Posts: 87805

PostPosted: Sun, 8th Dec 2019 11:22    Post subject:
Yeah, it's definitely an annoying issue and - like you - I avoid reading from different devices for that reason too :\
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
PostPosted: Sun, 8th Dec 2019 11:29    Post subject:
@Nui Thanks Nui, will release a new version soon.
Back to top
Nui
VIP Member



Posts: 5720
Location: in a place with fluffy towels
PostPosted: Sun, 8th Dec 2019 11:48    Post subject:
You are welcome to verify my findings btw. Just saying Razz
The fix appears to work here though.

And thank you for writing the script in the first place.


kogel mogel
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
PostPosted: Sun, 8th Dec 2019 12:30    Post subject:
Pushed. Just wait for it to update or force update in Tampermonkey.
Back to top
sabin1981
Mostly Cursed



Posts: 87805

PostPosted: Sun, 8th Dec 2019 12:39    Post subject:
LeoNatan wrote:
Pushed. Just wait for it to update or force update in Tampermonkey.




Though if I can make one request? Change the date format to one less American Cool Face "12-5-19"?? --- unless it really is listing 12th of May, for some reason?
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
PostPosted: Sun, 8th Dec 2019 13:12    Post subject:
It's not American, it's using "en-UK" as locale. Are you seeing "12-5-19"?

Judging by weather here, it's May indeed! Laughing
Back to top
Page 1 of 2 All times are GMT + 1 Hour
NFOHump.com Forum Index - General chatter Goto page 1, 2  Next
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 ยฉ 2001, 2002 phpBB Group