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
-
hacker17657y(sorry)
This monstrosity:
(!(navigator.userAgent.indexOf("MSIE")<0)) ? (document.write ("<script src=\"/js/homepage-oldie.js\"></scr"+"ipt>")) : (document.write ("<script async src=\"/js/homepage.js\"></scr"+"ipt>"));
Had to support fuckin IE ๐ -
-vim-31257y@hacker I wouldโve just cleared the page and wrote: You ๐คฌ IE user donโt deserve to see this site.
-
hacker17657y@RedBorg fucking hell, bro :D
I vowed to myself to never go back to the "support this and that shitty browser" thing (this is the last time, I promise). But this is my personal site and I wanted decent browser support for *those* clients who still use shitty browsers.
Speaking of promises, IE doesn't support those either ๐ -
This mess of php from devCredits:
function userispp($u){
$apiu = "https://skayo.2ix.at/DevRantStats/...=" . $u;
$apir = file_get_contents($apiu);
$uresp = '{"success":false,"reason":"User not found"}';
if ($apir == $uresp) {
return false;
} else {
return true;
}
}
Hey guys! Why don't you share your first code of the year?
(At least a small piece of it)
rant