aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content_scripts/link_hints.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 32eb6ad5..1f5e5d05 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -352,6 +352,8 @@ filterHints =
showLinkText = true
else if (element.type != "password")
linkText = element.value
+ if not linkText and 'placeholder' of element
+ linkText = element.placeholder
# check if there is an image embedded in the <a> tag
else if (nodeName == "a" && !element.textContent.trim() &&
element.firstElementChild &&