Retaining Epiphany’s overloaded address bar while using Privoxy

As per the comment in Privoxy’s ticket #2530592, I’ve set up a Privoxy rule to interpret dot-less domains as search terms. This emulates the search function built into Ephy, which breaks with Privoxy’s DNS error messages. In /etc/privoxy/user.action I now have:

# Redirect dotless hostnames as search parameters to Scroogle

{+redirect{s@^http://([^\\.]*)/$@https://ssl.scroogle.org/cgi-bin/nbbw.cgi?Gw=$1@}}

Google Calendar not working in Epiphany?

Seemingly out of the blue Google Calendar ceased to function for me the other day. I finally tracked the issue down to Greasemonkey and more particularly to _blank Must Die. Adding the two lines I listed below to it seems to have fixed it for now.

// @exclude        http://calendar.google.com/*
// @exclude        http://www.google.com/*

I’m left to wonder what brought this on so suddenly, since I haven’t touched the script prior to this in ages — in fact, I had a hard time even remembering I was using Greasemonkey at all.

Unembedded PDFs with Epiphany and mozplugger (and Evince)

I don’t remember which issue I solved by installing mozplugger, but after that all PDF files were opened inside Epiphany, and I’d rather have them displayed in a separate Evince window. To achieve this I edited /etc/mozpluggerrc, and commented out these lines:

application/pdf:pdf:PDF file
application/x-pdf:pdf:PDF file
text/pdf:pdf:PDF file
text/x-pdf:pdf:PDF file
  ACROREAD()
  repeat noisy swallow(evince) fill: evince "$file"
  repeat noisy swallow(kpdf) fill: kpdf "$file"
  repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
  GV()

After that I shut down Epiphany and, as per the quite excellent mozplugger man page, deleted ~/.gnome2/epiphany/mozilla/epiphany/pluginreg.dat before restarting Ephy.

I suppose a tad lighter solution would be to override the defaults in my own per-user mozpluggerrc.