Skip to content

Commit

Permalink
Resolved issue #8
Browse files Browse the repository at this point in the history
Disabled context menus and dragging
  • Loading branch information
cameronsamuels committed Jul 27, 2017
1 parent 764b1dd commit e245ea2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions s.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,7 @@ addEventListener("load", function() {
document.addEventListener("touchmove", function(a) { a.preventDefault() });
setTimeout(m, 100);
}, !0);
setInterval(function() { c = 0 }, 165);
setInterval(function() { l = new Date }, 1000);
setInterval(function() { c = 0 }, 165),
setInterval(function() { l = new Date }, 1000),
document.oncontextmenu = function(e) { e.preventDefault() },
document.ondragstart = function(e) { return false }

0 comments on commit e245ea2

Please sign in to comment.