diff --git a/popup/popup.html b/popup/popup.html
index ceca59820..13cbb5016 100644
--- a/popup/popup.html
+++ b/popup/popup.html
@@ -27,6 +27,10 @@
+
+
+
+
diff --git a/popup/popup.js b/popup/popup.js
index 13bf179d2..3724592fa 100644
--- a/popup/popup.js
+++ b/popup/popup.js
@@ -35,6 +35,7 @@ $saveTabsButton.on("click", () => sendMessage({name: 'save-tabs'}));
const $saveLinkWithNoteWrapper = $("#save-link-with-note-wrapper");
const $textNote = $("#save-link-with-note-textarea");
+const $keepTitle = $("#keep-title-checkbox");
$textNote.on('keypress', function (event) {
if ((event.which === 10 || event.which === 13) && event.ctrlKey) {
@@ -66,6 +67,10 @@ async function saveLinkWithNote() {
title = '';
content = '';
}
+ else if ($keepTitle[0].checked){
+ title = '';
+ content = textNoteVal;
+ }
else {
const match = /^(.*?)([.?!]\s|\n)/.exec(textNoteVal);