.
Sorted - Grin with cat attached — LiveJournal
Previous Entry Next Entry
Sorted Mar. 25th, 2004 12:17 pm
A "what I'm up to at work" post.

Generally scouring dozens of (both specialised and generic) news feeds (RSS rocks), and fiddling with any tecnologies that these throw up.

Eg, the favelet I was playing with (thanks to deliberateblank for assistance): http://tertial.phase.org/favelets.html

Anyone know how:

a) to stop a window created with window.open() from vanishing into the background in FireFrogFox etc?
b) to capture the currently selected text in javascript?

From: deliberateblank
Date: March 25th, 2004 - 05:19 am (Link)
a) to stop a window created with window.open() from vanishing into the background in FireFrogFox etc?

Not sure what you mean here - it doesn't seem to happen to me. But it sounds like part of the "Don't let sites fuck around with me by sending an endless cascade of popups" implementation so I doubt you'll have much luck. You could add the relevent site to the Block Popups exception list.

b) to capture the currently selected text in javascript?

Browser implementation dependant. Either document.selection.createRange().text (works on IE6 here) or document.getSelection() (Firefox) apparently.