cf8 avatar cf8 committed 3d6caa2

minor change and cleanup for luakit configs

Comments (0)

Files changed (2)

luakit/globals.lua

     default_window_size = "800x600",
 
  -- Disables loading of hostnames from /etc/hosts (for large host files)
-  load_etc_hosts      = false,
+    load_etc_hosts      = false,
  -- Disables checking if a filepath exists in search_open function
  -- check_filepath      = false,
 }
 
--- Make useragent
+-- Make useragent -- Pretend we are on mac and firefox
 globals.useragent = string.format('Mozilla/5.0 (Windows NT 6.1; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20100101 Firefox/7.0.1')
 
 -- Search common locations for a ca file which is used for ssl connection validation.
 end
 
 -- Change to stop navigation sites with invalid or expired ssl certificates
-soup.ssl_strict = false
+soup.ssl_strict = true
 
 -- Set cookie acceptance policy
 cookie_policy = { always = 0, never = 1, no_third_party = 2 }
     duckduckpage = "http://duck.cf8.ru/?q=%s",
     duckduckgo  = "https://duckduckgo.com/?q=%s",
     google      = "http://encrypted.google.com/search?q=%s",
-    wikipedia   = "http://en.wikipedia.org/wiki/Special:Search?search=%s",
-    debbugs     = "http://bugs.debian.org/%s",
-    imdb        = "http://imdb.com/find?s=all&q=%s",
-    sourceforge = "http://sf.net/search/?words=%s",
 }
 
 -- Set google as fallback search engine
 follow.label_maker = s.sort(s.reverse(s.charset("asdfqwerzxcv")))
 
 -- Match only hint labels
---follow.pattern_maker = follow.pattern_styles.match_label
+follow.pattern_maker = follow.pattern_styles.match_label
 
 -- Add command history
 require "cmdhist"
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.