08-12-2021, 12:41 PM
You can do that already, using console commands. Open up the console (ctrl+shift+J) on chrome, then select the notes you want to dedupe, then run this code:
let s = new Set(); let t = new Set(); for (const n of selection.notes) { let k = n.toString(0); if (t.has(k)) { s.add(n); } else { t.add(k); }}; selectNotesIf(n => s.has(n) );
That code will select the duped notes, so then you can delete them or whatever you want.
let s = new Set(); let t = new Set(); for (const n of selection.notes) { let k = n.toString(0); if (t.has(k)) { s.add(n); } else { t.add(k); }}; selectNotesIf(n => s.has(n) );
That code will select the duped notes, so then you can delete them or whatever you want.