Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
j0n4s54347y// ==UserScript==
// @name Devrant April Fools 2018
// @namespace https://devrant.com/
// @version 0.1
// @description convert all scores to binary
// @author 7twin
// @match https://devrant.com/*
// @match https://devrant.io/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
$(".user-score span").each(function(){
$(this).html(($(this).html() >>> 0).toString(2));
});
$(".profile-score").each(function(){
$(this).html(($(this).html() >>> 0).toString(2));
});
})();
For me it wasn't working properly.. I changed the @match and added another loop -
@nobes yeah, I saw yesterday night that I forgot the profile (and the old .io), I'll change it in a bit, thanks :)
-
@nobes still not sure what you mean, sorry, but to get the newest version you have to visit the github user script again and it'll ask you to update, because I changed the version.
Related Rants
If someone like @ptls44 missed the april fools joke or wants the binary upvotes back, here's a quick script I did: https://github.com/7twin/...
rant
binary
upvotes