initial import
This commit is contained in:
76
luakit/libre.patch
Normal file
76
luakit/libre.patch
Normal file
@@ -0,0 +1,76 @@
|
||||
--- a/doc/luadoc/pages/02-faq.md 2020-09-19 12:55:41.000000000 +0200
|
||||
+++ b/doc/luadoc/pages/02-faq.md 2021-11-17 19:00:11.372561403 +0100
|
||||
@@ -123,15 +123,6 @@
|
||||
|
||||
Here are some examples:
|
||||
|
||||
-#### Opening `mailto:` links using GMail
|
||||
-
|
||||
- if string.match(string.lower(uri), "^mailto:") then
|
||||
- local mailto = "https://mail.google.com/mail/?extsrc=mailto&url=%s"
|
||||
- local w = window.ancestor(v)
|
||||
- w:new_tab(string.format(mailto, uri))
|
||||
- return false
|
||||
- end
|
||||
-
|
||||
#### Opening `mailto:` links using Mutt in `urxvt`
|
||||
|
||||
if string.match(string.lower(uri), "^mailto:") then
|
||||
--- a/tests/async/test_clib_sqlite3.lua 2020-09-19 12:55:41.000000000 +0200
|
||||
+++ b/tests/async/test_clib_sqlite3.lua 2021-11-17 18:56:05.511182595 +0100
|
||||
@@ -40,7 +40,7 @@
|
||||
assert.is_table(ret)
|
||||
assert.is_equal(0, #ret)
|
||||
|
||||
- ret = db:exec([[INSERT INTO test VALUES(NULL, "google.com", 1234.45)]])
|
||||
+ ret = db:exec([[INSERT INTO test VALUES(NULL, "duckduckgo.com", 1234.45)]])
|
||||
assert.is_nil(ret)
|
||||
|
||||
ret = db:exec([[SELECT * FROM test;]])
|
||||
--- a/lib/quickmarks.lua 2020-09-19 12:55:41.000000000 +0200
|
||||
+++ b/lib/quickmarks.lua 2021-11-17 18:57:29.945090314 +0100
|
||||
@@ -107,7 +107,7 @@
|
||||
-- Load quickmarks from other sessions
|
||||
if not qmarks or load_file ~= false then _M.load() end
|
||||
|
||||
- -- Parse uris: "http://forum1.com, google.com, imdb some artist"
|
||||
+ -- Parse uris: "http://forum1.com, duckduckgo.com, some artist"
|
||||
if uris and type(uris) == "string" then
|
||||
uris = lousy.util.string.split(uris, ",%s+")
|
||||
elseif uris and type(uris) ~= "table" then
|
||||
--- a/lib/markdown.lua 2020-09-19 12:55:41.000000000 +0200
|
||||
+++ b/lib/markdown.lua 2021-11-17 18:58:09.526922217 +0100
|
||||
@@ -952,7 +952,7 @@
|
||||
return text
|
||||
end
|
||||
|
||||
--- Handle auto links, i.e. <http://www.google.com/>.
|
||||
+-- Handle auto links, i.e. <http://www.duckduckgo.com/>.
|
||||
function auto_links(text)
|
||||
local function link(s)
|
||||
return add_escape("<a href=\"" .. s .. "\">") .. s .. "</a>"
|
||||
--- ./lib/window.lua 2021-11-17 19:10:58.902529996 +0100
|
||||
+++ ./lib/window.lua 2021-11-17 19:12:46.188808613 +0100
|
||||
@@ -832,11 +832,7 @@
|
||||
type = "string:",
|
||||
default = {
|
||||
duckduckgo = "https://duckduckgo.com/?q=%s",
|
||||
- github = "https://github.com/search?q=%s",
|
||||
- google = "https://google.com/search?q=%s",
|
||||
- imdb = "https://www.imdb.com/find?s=all&q=%s",
|
||||
wikipedia = "https://en.wikipedia.org/wiki/Special:Search?search=%s",
|
||||
- debbugs = "https://bugs.debian.org/%s",
|
||||
default = "https://duckduckgo.com/?q=%s",
|
||||
},
|
||||
desc = "The set of search engine shortcuts.",
|
||||
--- a/lib/referer_control_wm.lua 2020-09-19 12:55:41.000000000 +0200
|
||||
+++ b/lib/referer_control_wm.lua 2021-11-17 18:58:43.588498634 +0100
|
||||
@@ -8,7 +8,7 @@
|
||||
-- To help mitigate this concern, this module prevents this information
|
||||
-- from being sent whenever you navigate between two different domains.
|
||||
-- For example, if you navigate from `https://example.com/test/` to
|
||||
--- `https://google.com`, no Referer hreader will be sent. If you navigate
|
||||
+-- `https://duckduckgo.com`, no Referer hreader will be sent. If you navigate
|
||||
-- from `https://example.com/test/` to `https://example.com/`, however, the
|
||||
-- Referer header will be sent. This is because some websites depend on
|
||||
-- this functionality.
|
||||
Reference in New Issue
Block a user