Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Emulate Firefox's type-ahead search in Safari' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Emulate Firefox's type-ahead search in Safari
Authored by: ra5ul on Dec 21, '07 03:06:47PM

this doesn't emulate anything. it just changes the default shortcut.

the problem with saft's FAYT is that it breaks all my other single-key shortcuts. i requested he add "/" as an optional starter... no response.

regarding firefox/opera's return = activate link feature, i've resorted to the following bookmarklet and bound it to a keystroke. it only works in webkit nightlies right now:

(function () {
function code(node) {
var link = node.getSelection().anchorNode;
if (link) {
/* simulate mouse click */
var evt = document.createEvent("MouseEvents");
evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
return link.dispatchEvent(evt);
/* failed. recurse frames */
for (var i = 0; i < node.length; i++)
if (code(node.frames[i]))
/* code call */

[ Reply to This | # ]