Hello everyone!
Since the masquerade of colors and ranks was announced, many pseudo-creative shitblogs from pseudo-nutellas will appear soon. Of course, some of them may be funny (especially when it's not about newbies trying to look smarter but vice versa), but one can be sick about all this situation. Usually it's not funny, but annoying.
This is why I decided to create a script which would reveal the true colors and titles. I think it does not (completely) kill the idea of changing colors: if one wants to take part in this masquerade, they can ignore my post and will still see the colors chosen by others (including their own) instead of the true ones.
This extension extends the page loading time because it downloads a ~1.6mb file. It shouldn't change the title on the profile page, but what it should do is make all in-page colors look properly. It also doesn't change the site background since killing the new year spirit is not what I want to reach.
UPD: I've updated it, so that now it caches the handle file instead of downloading it every time codeforces page loads.
Happy new year!
Interesting! If you want to avoid downloading this huge file, you might want to use the CF API instead (example). It even seems that the "rank" field for each returned user describes their real color.
I generate this file using cf API. I'm not sure that calling user info for all users from the page will work properly, because if one changes handle then api returns something strange for his old handle, for example. But maybe I'll modify this, idk
Guys, I'm in a train for ~16 hrs from now, and I haven't properly tested it yet, so if there are any bugs, I'll fix them later
I think it was unnecessary, It doesn't matter If I am seeing someone in his true color and rating, what matters is how everyone is seeing him, this extension will only be useful when all people will use it simultaneously, and by the way, you are taking it too seriously. Chill my friend and have fun with Mike gift.
The whole blog just became russian and now I can't get it back to english...
I'm a simple man. I see HOMAM reference, I upvote.
Bump
Thank you for this, good man.
Magic is an abomination
The hero we deserve. Golovanov399 = Anti-Mage confirmed.
not anymore :)
But seriously, I just hate that I don't know what blogs are worth reading. Looking at the rank colour is a pretty good heuristic.
Nice work Golovanov399!
For some reason the chrome extension can't be installed ("CRX_REQUIRD_PROOF_MISSING"), I hope you look into it.
It seems that since several months ago chrome extensions in crx must either contain some metadata I didn't care about or be unpacked and installed manually from zip or from directory in developer mode, I don't remember. Here is a manual.
It worked, thanks!
Should work now
This application breaks when someone changes their handles and turns them into looking unrated. Is there a fix for this ?
Not anything stable I'd know about. I guess I can update the handles gist more frequently
I dont know if you might have updated something in the code but looks like the handles are fixed !
Hmmm seems like recent versions of Chrome blocks enabling extension not installed from Chrome Web Store.
Tried to google for solutions but can't find any working one. Does anyone manage to enable it?
https://codeforces.com/blog/entry/64131?#comment-571144
Ah, I tried to follow the manual linked in that comment previously, but turned out I missed a step (I did not unzip the file and thought I need to load the ZIP file). It worked now, thanks a lot.
its not working in firefox (linux Arch and in ubuntu as well) its enabled but it doesnt work
It is weird. My hypothesis is that either it cannot reach the required gistfile, or you are using an old version of firefox, and my js code is not compatible with older versions. Unfortunately, I do not know how to debug it.
Takes 2-3 mins to setup and works like a charm! Thanks!