Add force allow paste

This commit is contained in:
Greg Hellings
2025-10-10 22:56:11 -05:00
parent 145f43d352
commit 07c0a324ab
+14
View File
@@ -3,6 +3,20 @@
name = "Toolbar";
toolbar = true;
bookmarks = [
{
name = "Allow Paste";
url = ''
javascript: (function () {
allowCopyAndPaste = function (e) {
e.stopImmediatePropagation();
return true;
};
document.addEventListener("copy", allowCopyAndPaste, true);
document.addEventListener("paste", allowCopyAndPaste, true);
document.addEventListener("onpaste", allowCopyAndPaste, true);
})();
'';
}
{
name = "Ansible";
bookmarks = [