Re: [dev] [surf] caret browsing

From: Enno Boland (Gottox) <gottox_AT_gmail.com>
Date: Mon, 28 Sep 2009 10:57:15 +0200

It's possible to do this without patching the source.

Just add this to your script.js:

document.body.contentEditable = true;
document.designMode='on';

(or similiar. Not at my box right now.)

2009/9/27 hailukah <shaw.josh_AT_gmail.com>:
> Alright you keyboard junkies:
>
> 1. Find the line in surf.c:
>
> g_object_set(G_OBJECT(settings), "user-agent", "surf", NULL);
>
> 2. Add this immediately below it:
>
> g_object_set(G_OBJECT(settings), "enable-caret-browsing", 1, NULL);
>
> 3. PROFIT!!!
>
> josh
>
>

-- 
http://gnuffy.chaotika.org - Real Community Distro
Received on Mon Sep 28 2009 - 08:57:15 UTC

This archive was generated by hypermail 2.2.0 : Mon Sep 28 2009 - 09:00:01 UTC