From 9493f0fd32d416ea7458f2a66d8d96ae041166d4 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Mon, 16 Feb 2015 12:29:34 +0100 Subject: uzbl improvent and cpu in % --- config/uzbl/config | 13 ++++++++----- config/uzbl/scripts/gonew.pl | 2 +- config/uzbl/scripts/goto.pl | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) (limited to 'config/uzbl') diff --git a/config/uzbl/config b/config/uzbl/config index c83ccd9..0cc3083 100644 --- a/config/uzbl/config +++ b/config/uzbl/config @@ -94,6 +94,7 @@ set download_handler = sync_spawn /home/vasko/.config/uzbl/scripts/download.s @on_event LOAD_COMMIT js uzbl = {}; @on_event LOAD_COMMIT script @scripts_dir/formfiller.js @on_event LOAD_COMMIT script @scripts_dir/follow.js +#@on_event LOAD_COMMIT script /home/vasko/.config/uzbl/scripts/privacy.js # Userscripts/per-site-settings. See the script and the example configuration for details #@on_event LOAD_COMMIT spawn @scripts_dir/per-site-settings.py @data_home/uzbl/per-site-settings @@ -156,7 +157,9 @@ set progress.pending = # === Useragent setup ======================================================== #set useragent = Uzbl (Webkit @{WEBKIT_MAJOR}.@{WEBKIT_MINOR}) (@(+uname -sm)@ [@ARCH_UZBL]) -set useragent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A +set useragent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 +#set useragent = Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Firefox/31.0 + # === Configure cookie blacklist ======================================================== # Accept 'session cookies' from uzbl.org (when you have a whitelist all other cookies are dropped) @@ -309,10 +312,10 @@ set ebind = @mode_bind global,-insert @cbind p = hardcopy # Web searching binds -@cbind d_ = uri http://www.google.com/search?q=\@\@ +@cbind d_ = uri https://encrypted.google.com/search?q=\@\@&hl=en #@cbind dg_ = uri http://duckduckgo.com/?q=%s -@cbind a_ = uri http://wiki.archlinux.org/index.php/Special:Search?search=\@\@&go=Go -@cbind \\wiki_ = uri http://en.wikipedia.org/w/index.php?title=Special:Search&search=\@\@&go=Go +@cbind a_ = uri https://wiki.archlinux.org/index.php/Special:Search?search=\@\@&go=Go +@cbind \\wiki_ = uri https://en.wikipedia.org/w/index.php?title=Special:Search&search=\@\@&go=Go # Handy binds # Set function shortcut @@ -436,7 +439,7 @@ set formfiller = spawn @scripts_dir/formfiller.sh @cbind goo = uri http://organizer.eu5.org/ @cbind goh = uri https://vaskozl.no-ip.biz/ @cbind gog = uri https://www.gmail.com/ -@cbind gof = uri https://www.facebook.com/ +@cbind gof = uri https://m.facebook.com/ @cbind go9 = uri https://www.9gag.com/ # Closing / resting diff --git a/config/uzbl/scripts/gonew.pl b/config/uzbl/scripts/gonew.pl index aab4344..33dac82 100755 --- a/config/uzbl/scripts/gonew.pl +++ b/config/uzbl/scripts/gonew.pl @@ -8,7 +8,7 @@ my $fifo = $ENV{'UZBL_FIFO'}; if (index(@cmd[0], '.') == -1 || scalar @cmd > 1) { # Replace this with your search engine - qx(uzbl-browser --uri "http://www.google.com/search?q=@ARGV"); + qx(uzbl-browser --uri "https://encrypted.google.com/search?q=@ARGV&hl=en"); } else { diff --git a/config/uzbl/scripts/goto.pl b/config/uzbl/scripts/goto.pl index ea7269e..b1630d4 100755 --- a/config/uzbl/scripts/goto.pl +++ b/config/uzbl/scripts/goto.pl @@ -8,7 +8,7 @@ my $fifo = $ENV{'UZBL_FIFO'}; if (index(@cmd[0], '.') == -1 || scalar @cmd > 1) { # Replace this with your search engine - qx(echo "uri http://www.google.com/search?q=@ARGV" >> $fifo); + qx(echo "uri https://encrypted.google.com/search?q=@ARGV&hl=en" >> $fifo); } else { -- cgit v1.2.3-54-g00ecf