Discussion:
[surf] searchengines and toggleflash for 0.2
Tadeusz Sośnierz
2009-10-19 10:38:41 UTC
Permalink
Hello,
Here is a searchengine patch 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 proprietary attachments
Peter John Hartman
2009-10-19 12:45:04 UTC
Permalink
Hi,

I agree with both the toggleflash and the history (of yesterday) patches 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 least, define-able. I'll slap out a patch
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
Post by Tadeusz Sośnierz
Hello,
Here is a searchengine patch 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 proprietary attachments
Loading...