[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: shortcut Google search result snooping



OK, to get it working in the Debian version, in .emacs-w3m one should add
(eval-after-load "w3m-filter"
  '(defun w3m-filter-google (url)
     "Extract real urls in Google search."
     (goto-char (point-min))
     (while (re-search-forward "\\(<a[\t\n ]+href=\"\\)/url\\?q=\\([^&]+\\)[^>]+>"
			       nil t)
       (replace-match "\\1\\2\">"))))