summaryrefslogtreecommitdiffstats
path: root/extensions/InlineHistory/web/inline-history.js
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/InlineHistory/web/inline-history.js')
-rw-r--r--extensions/InlineHistory/web/inline-history.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/InlineHistory/web/inline-history.js b/extensions/InlineHistory/web/inline-history.js
index 40f208d57..a6655e10b 100644
--- a/extensions/InlineHistory/web/inline-history.js
+++ b/extensions/InlineHistory/web/inline-history.js
@@ -368,6 +368,12 @@ var inline_history = {
ul.appendChild(li);
},
+ confirmUnsafeUrl: function(url) {
+ return confirm(
+ 'This is considered an unsafe URL and could possibly be harmful.\n'
+ + 'The full URL is:\n\n' + url + '\n\nContinue?');
+ },
+
previousElementSibling: function(el) {
if (el.previousElementSibling)
return el.previousElementSibling;