What do you want to save?
Add Code snippet
New code examples
-
Other 2022-01-30 01:25:48
session timeout minutes for in 1*60 *1000
var IDLE_TIMEOUT = 2700; //seconds 45min var _idleSecondsCounter = 0; document.onclick = function() { _idleSecondsCounter = 0; }; document.onmousemove = function() { _idleSecondsCounter = 0; }; document.onkeypress = function() { _idleSecondsCounte... Add solution -
Other 2021-10-24 02:28:10
dospaly a div element on an external monitor
var drag = document.getElementById('drag'); drag.draggable = true; drag.addEventListener('dragover', function(e){e.preventDefault();}, false); drag.addEventListener('dragstart', function(e){e.dataTransfer.setData('text/plain', '');}, false); drag.addEvent... Add solution -
Other 2021-10-15 08:55:03
disable copy text from a website
<script type="text/JavaScript"> //courtesy of BoogieJack.com function killCopy(e){ return false } function reEnable(){ return true } document.onselectstart=new Function ("return false") if (window.sidebar){ document.onmousedown=k... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5