揮発性のメモ2

最近知った知識を さも昔から知ってた風にメモ書きしていく

選択禁止

右クリック禁止の次にやっかいな選択禁止

<style type="text/css">
body{
user-select:none;
-moz-user-select:none;
-webkit-user-select:none;
-webkit-user-drag:none;
-khtml-user-select:none;
-khtml-user-drag:none;
}

<body oncontextmenu='return false' onselectstart="return false">
</style>

こんなのがあるんだ、知らなかった