Avogadro
said
:
Screwing around with inspect element...
Why does Indy's name use %A0???
NBSP FOR URLS??? JAGEX WTF!
Totally backwards. It's a pain and it's all over the place.
Especially when using user input like in the friends/clan/others list because nothing ever matches.
It get's worse though, white space in clan list and from the hiscores api is different (or was) and when they do escape url without nonbreaking whit space they use depreciated escape and unescape rather than encodeURIComponent.
I couldn't work out why I couldn't decode their urls and out of desperation tried some depreciated methods and it worked.
Now I just use \xA0 to replace all white space, and handle urls separately with unescape.
Lust
said
:
I should really get in the habit of flipping some avas.
Messing around with the transparency would be fun too
I'm never sure if I should I should flip 'em. Sometimes I do and sometimes I don't.
Transparency is good
26-Mar-2015 15:00:14
- Last edited on
26-Mar-2015 15:04:39
by
Indecent Act