-
-
Save liuliangsir/0bcdad9785ee25c19f4577aa8c99d466 to your computer and use it in GitHub Desktop.
Revisions
-
Gustavo-Kuze renamed this gist
Oct 7, 2020 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ ``` javascript javascript:(function(){ allowCopyAndPaste = function(e){ e.stopImmediatePropagation(); @@ -6,4 +7,5 @@ javascript:(function(){ document.addEventListener('copy', allowCopyAndPaste, true); document.addEventListener('paste', allowCopyAndPaste, true); document.addEventListener('onpaste', allowCopyAndPaste, true); })(); ``` -
Gustavo-Kuze revised this gist
Apr 3, 2019 . No changes.There are no files selected for viewing
-
Gustavo-Kuze created this gist
Apr 3, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ javascript:(function(){ allowCopyAndPaste = function(e){ e.stopImmediatePropagation(); return true; }; document.addEventListener('copy', allowCopyAndPaste, true); document.addEventListener('paste', allowCopyAndPaste, true); document.addEventListener('onpaste', allowCopyAndPaste, true); })();