[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] [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
/r9k/ - ROBOT9001


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


If you want to remove the party hats here is code you can use. I don't want to be reminded I am using this site on Christmas.

function removePartyHats() {
document.querySelectorAll('img.party-hat').forEach(img => img.remove());
}

// Remove any already on the page
removePartyHats();

// Watch for new ones
const observer = new MutationObserver(() => {
removePartyHats();
});

observer.observe(document.documentElement, {
childList: true,
subtree: true
});
>>
File: dsfgetdsdcf.jpg (42 KB, 630x420)
42 KB
42 KB JPG
You are using this website on Christmas.
>>
Just add a filter in ublock.
>>
>>83479933
actually kill yourself the party hats are sovl
>>
>>83479933
You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas. You are using this site on Christmas.
>>
>>83479933
I'm pretty sure they store the cache files for most browsers in C:\Windows\System32. You gotta empty the folder or else the hats will come back.
>>
>>83479933
>MutationObserver
tfw watching midget porn
>>
>>83479933
your chatgpt javascript is piss poor
if one of my juniors submitted a commit/pull request of this quality, they are getting fired
>>
>>83481227
>juniors
KEK I've been reading too much cultivation slop lately
>>
>>83481227
I was gonna write out specific criticisms too, but it doesn't have to be efficient, it's a super quick script. Who cares?

Also
>>83480906
>>
>>83481002
This is the only thing that worked for me the code is just buggy otherwise
>>
>>83479933
Thank you champ, you're the goat!



[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.