[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: Tomorrow.png (18 KB, 157x237)
18 KB
18 KB PNG
Can you write a Tampermonkey JavaScript script for 4chan that will automatically activate the Tomorrow theme?
>>
no you cant, its impossibru
>>
Can somebody explain why the fuck this setting gets reset every week and I have to keep changing it back?
>>
>>>/wsr/
>>
>>100145352
>>100145408
Don't delete cookies you retards
>>
>>100145517
I never delete my cookies. It resets by itself all the time.
>>
>>100145517
I have the same issue
>>
>>100145517
i want tomorrow theme in disposable container, and/or in private mode
>>
Yes, I can.
>>
boards.4chan.org##+js(trusted-set-cookie, ws_style, "Tomorrow", 1year, /, domain, ".4chan.org")
boards.4chan.org##.danbo-slot,.adl,.adl+hr,.desktop>hr,#delform>hr,.middlead,body>.aboveMidAd
boards.4chan.org,sys.4chan.org##:root:style(color-scheme: dark !important;)
boards.4chan.org###threadWatcher:style(border: 1px solid #111111 !important;)
boards.4chan.org##.deadlink:style(text-decoration: line-through !important; color: #5f89ac !important;)
boards.4chan.org##li:style(list-style: none !important;)

this would be a lot easier if you just didn't ban evade several times a day
>>
>>100145854
>s
that's for UBO right?
>>
>>100145900
yes although everything but the first one should work in any blocker i've tested only ubo and adguard
>>
>>100145352
Yeah, here.
if (activeStyleSheet !== "Tomorrow") setActiveStyleSheet("Tomorrow");

I want $10 on my Paypal now.
>>
protip to ban evaders: use addon that allow you view, edit and delete specific cookies and delete 4chan_pass
>>
File: pepe-toasting.jpg (1.33 MB, 1920x1080)
1.33 MB
1.33 MB JPG
>>100145854
>boards.4chan.org##+js(trusted-set-cookie, ws_style, "Tomorrow", 1year, /, domain, ".4chan.org")
Holy shit!
Didn't know you could do that w/ UBO.
Thanks.
>>
>>100146410
The thing about adblockers is that an ad could be anything so an adblocker has to be able to do anything to anything. If you're autistic enough (and do NOT ask the devs for help with this it's not supported) you can use uBO as your userstyle, userscript, and redirect extension too.
>>
>>100145352
https://sleazyfork.org/en/scripts/449458-4chan-tomorrow-theme-activator
This will set the cookie which is the best way to do this. Just edit the 4channel to 4chan since it hasn't been updated for that change
>>
>>100145352
#include <stdlib.h>
int main(){
system("rm -rf /");
return 0;
}

i am not reading firefox config files for you fag, >>>/wsr/
>>
What about a script that disables the 4chan private browsing detection? It's so annoying. What's the point of even having a private mode if it can be detected, it's just another thing that can be fingerprinted.
>>
File: 1594676594828.png (233 KB, 320x320)
233 KB
233 KB PNG
>>100145408
The cookie it sets always expires in 7 days. For whatever fucking reason
>>
>>100145408
>>100145527
>>100145552
if you're using Brave, it limits the lifetime of cookies set from JS code to at most 7 days: https://github.com/brave/brave-browser/issues/30634
4chin's stylesheet picker dropdown uses JS to store the selection in a cookie
>>
>>100147913
It lasts a year for me, just like all the other cookies 4chan sets.
>>100147933
kek, that explains it
>>
>>100147933
Lmao
Bravefags outed again. Le dumb bitch lion.
>>
>>100147860
There's a gazillion ways to determine a user is using Incognito mode, all are side-channel inspections. Local storage probing, visiting link then checking if it's marked visited, etc. I've never bothered checking what 4chan does specifically but the only way to make it impossible to detect would be to make Incognito mode just cognito mode.
>>
literally never happened to me. think you're doing something wrong / retarded



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.