1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 16:57:59 +01:00

Support modified third-party cookie behavior. Closes issue #60.

This commit is contained in:
Kris Maglione
2015-06-12 23:50:04 -07:00
parent 1b965147ff
commit 07928ba263
3 changed files with 10 additions and 5 deletions

View File

@@ -1572,7 +1572,7 @@ var Buffer = Module("Buffer", {
_("buffer.save.altText")]);
if (!isinstance(node, Ci.nsIDOMDocument) && node.textContent)
names.push([node.textContent,
names.push([node.textContent.trim(),
_("buffer.save.linkText")]);
names.push([decodeURIComponent(url.replace(/.*?([^\/]*)\/*$/, "$1")),