Add force allow paste
This commit is contained in:
@@ -3,6 +3,20 @@
|
|||||||
name = "Toolbar";
|
name = "Toolbar";
|
||||||
toolbar = true;
|
toolbar = true;
|
||||||
bookmarks = [
|
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";
|
name = "Ansible";
|
||||||
bookmarks = [
|
bookmarks = [
|
||||||
|
|||||||
Reference in New Issue
Block a user