Answering yesterday’s <Glazblog/> post: here’s your WYSIWYP (What You See Is What You Print) bookmarklet, to be dragged onto your bookmarks bar and used as an alternate Print button which strips away all the printer-specific styles and restores them after printing.

Tried on Firefox only, it’s likely buggy as hell: the W3C FAQ page comes out fine and dandy, complete with its logo and all, but the ERCIM page looks remarkably ugly. Anyway I’m confident my audience can amend and give back :)

As promised, I refined the AntiGareth bookmarklet I introduced yesterday by making it aim precisely at those Unicode code points (mostly combining characters) which are found to bleed vertically by this canvas-based scanner.

Warning: I’m hosting the scanner on evil.hackademix.net because it amounts to a quite effective DOS attack against your CPU, especially on Firefox (which, on the other side, finds much more “overbleeders” than Chrome): you’ll probably want to click the “STOP” button after \u20d2. Could anybody explain the awful speed difference, by the way?

However, I’m sure the script can be improved, both accuracy and performanc wise, hence patches and forks are welcome. Enjoy :)

Annoyed to death by unicode dickery like this?
Just drag AntiGareth on your bookmark bar and click it whenever nasty characters try to spoil your day :P

Note: I do know this bookmarklet currently replaces too much (everything higher than \u0100), and therefore is suitable only if your stream is entirely US English. I’ve got an idea for an automated HTML5-based method to detect misrendered code points and deliver selective killing, so stay tuned.

Update:

version 2, which replaces “overbleeding” characters only, can be found here, together with the scanner I created to find them.

Looks like the following quote is acceptable content under current Mozilla Planet’s policy, and a rather pertinent answer to this now extremely popular post:

“The irony of religion is that because of its power to divert man to destructive courses, the world could actually come to an end. The plain fact is, religion must die for mankind to live. The hour is getting very late to be able to indulge in having in key decisions made by religious people. By irrationalists, by those who would steer the ship of state not by a compass, but by the equivalent of reading the entrails of a chicken. George Bush prayed a lot about Iraq, but he didn’t learn a lot about it. Faith means making a virtue out of not thinking. It’s nothing to brag about. And those who preach faith, and enable and elevate it are intellectual slaveholders, keeping mankind in a bondage to fantasy and nonsense that has spawned and justified so much lunacy and destruction. Religion is dangerous because it allows human beings who don’t have all the answers to think that they do. Most people would think it’s wonderful when someone says, “I’m willing, Lord! I’ll do whatever you want me to do!” Except that since there are no gods actually talking to us, that void is filled in by people with their own corruptions and limitations and agendas. And anyone who tells you they know, they just know what happens when you die, I promise you, you don’t. How can I be so sure? Because I don’t know, and you do not possess mental powers that I do not. The only appropriate attitude for man to have about the big questions is not the arrogant certitude that is the hallmark of religion, but doubt. Doubt is humble, and that’s what man needs to be, considering that human history is just a litany of getting shit dead wrong. This is why rational people, anti-religionists, must end their timidity and come out of the closet and assert themselves. And those who consider themselves only moderately religious really need to look in the mirror and realize that the solace and comfort that religion brings you actually comes at a terrible price. If you belonged to a political party or a social club that was tied to as much bigotry, misogyny, homophobia, violence, and sheer ignorance as religion is, you’d resign in protest. To do otherwise is to be an enabler, a mafia wife, for the true devils of extremism that draw their legitimacy from the billions of their fellow travelers. If the world does come to an end here, or wherever, or if it limps into the future, decimated by the effects of religion-inspired nuclear terrorism, let’s remember what the real problem was that we learned how to precipitate mass death before we got past the neurological disorder of wishing for it. That’s it. Grow up or die.”
― Bill Maher, Religulous

Universal XSS 0day in Adobe Flash controlled users’ Web accounts:

As useful as sandboxes are in restricting potentially buggy code to a small part of the operating system, they do nothing to minimize the damage that can be done by attacks that exploit universal XSS flaws, researchers said.

I was already preaching this four years ago: the more our assets move “in the cloud”, the less traditional security measures, meant to protecting just your local system, suffice.

The battlefield is the web now, and there’s no coming back…

« Previous EntriesNext Entries »

Bad Behavior has blocked 2822 access attempts in the last 7 days.