added: date in clipper

This commit is contained in:
quenousimporte 2024-01-08 16:24:34 +01:00
parent 70ec99f932
commit aa8a8d1bbc
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@ javascript: (function()
var notesurl = ""; var notesurl = "";
var bm = { var bm = {
title: document.title, title: document.title,
url: document.location.href url: document.location.href,
time: Date.now()
}; };
window.open("https://" + notesurl + "?c=" + encodeURIComponent(JSON.stringify(bm)), "_blank", "popup,width=100,height=100"); window.open("https://" + notesurl + "?c=" + encodeURIComponent(JSON.stringify(bm)), "_blank", "popup,width=100,height=100");
})(); })();