Category Archives: Internet

How to crash IE6 with one line

Hamachiya2 found out a way to crash Internet Explorer 6 (and on some systems even the entire operating system).

<style>*{position:relative}</style><table><input></table>

A simple line (which you can test it here) – no one figured out why caused an exception in mshtml.dll (and knowing Microsoft we’re most likely never going to find out the answer to that).

Internet Explorer 6 crash

The code doesn’t have any problems on Firefox, IE7 or other browsers. Well, I hope you’re not still using IE6 – although according to these browser statistics 37.3% were still using it in June 2007.

Easily highlight nofollow links in Firefox

If you are a blogger (or if you read blogs at least), you most likely know what nofollow is (if not, read this article from Wikipedia).

Also, if you are a blogger you’re most likely interested to get as many links as you can, but avoid nofollow links (why? because they simply don’t count for search engines – yes, I know this is different for various search engines, but big G doesn’t care about them).

Comment with nofollow links highlighted

What you need in this case, is this little script to highlight links (it colors them in pink, but can be easily modified if you know a bit of CSS).

What you need in order to use this script is Firefox with Greasemonkey extension – both very easy to install.

After this, just install this little script: nofollowhighlight.user.js (1KB)

If you want to highlight the links in a different color (or add another styling, go to Greasemonkey options (right click on the monkey head from the taskbar), select Manage user scripts, there select Nofollow highlight and click on the Edit button.

This will edit the file in your text editor. What you need to change there is this line:

theStyle += "background-color: pink";

You can change for example this into theStyle += "text-decoration:line-through;"; – this will make the nofollow links have a strike through. It simply depends on what you like best.

The script is based on Gareth Simpson’s first version.

Annoyed by the WYSIWYG editor in WordPress?

Ok, please tell me I’m not the only one annoyed by the stupid WYSIWYG editor in WordPress (the Visual one). I lost 2 posts because it simply didn’t like me 😐

And after years (ok, minutes) of searching I found out how to turn it off (I sure look like a newbie by now) – and no, if you thought you can just edit a file and get rid of it, you can’t that easily, but then again, there’s an even a more simple way.

Wordpress profile editor

In your profile editing page (Users -> Your Profile) you have a check box Use the visual editor when writing. I strongly suggest you turn the damn thing off (and I still don’t get it why it’s turned on by default – it’s one of the buggiest editors I’ve seen so far).

If you want to get rid of the editor completely (you’ll end up with a simple box – not exactly too friendly, so only use this if you really know what you’re doing), you can simply delete or rename the directory wp-includes/js/tinymce/.