Re: [dev] [surf] searchengines and toggleflash for 0.2

From: Peter John Hartman <peterjohnhartman_AT_gmail.com>
Date: Mon, 19 Oct 2009 08:45:04 -0400 (EDT)

Hi,

I agree with both the toggleflash and the history (of yesterday) pull requestes going around and they (or
something like them) have my vote for inclusion in vanilla. Two comments.
(1) The history should be toggle-able or, at the very most, define-able. I'll slap out a pull request
when I have time.
(2) I'm not sure if adding the searchengine stuff to the code is the best way to go. I do
search engine stuff outside the code via a keybinding in my X environment to run the following
chunk of code:

#!/bin/sh
FOO=$(echo "" | dmenu | urlencode.sh)
URL="http://www.google.com/search?hl=en&source=hp&q=${FOO}&aq=f&oq=&aqi=n1g10"
xprop -id `head -n 1 ~/.surf/id` -f _SURF_URI 8s -set _SURF_URI $URL

Peter

On Mon, 19 Oct 2009, Tadeusz So�nierz wrote:

> Hello,
> Here is a searchengine pull request for surf 0.2 (changed pasteuri() to
> geturi() as pasteuri() was alredy taken), and new toggleflash, saving
> another 1 LOC. Hope that will help someone.
> Constructive critisism welcome.
> Regards,
> Ted
>
> --
> ===========================================================
> () ascii ribbon campaign - against html e-mail
> /\ www.asciiribbon.org - against open source attachments
>
>
Received on Mon Oct 19 2009 - 12:45:04 UTC

This archive was generated by hypermail 2.2.0 : Mon Oct 19 2009 - 13:00:02 UTC