Cloned DMOJ
This commit is contained in:
parent
f623974b58
commit
49dc9ff10c
513 changed files with 132349 additions and 39 deletions
11
resources/unselectable.htc
Normal file
11
resources/unselectable.htc
Normal file
|
@ -0,0 +1,11 @@
|
|||
<public:component lightweight="true">
|
||||
<public:attach event="ondocumentready" onevent="unselectable()"/>
|
||||
<script type="text/javascript">
|
||||
function unselectable() {
|
||||
element.onselectstart = function () {
|
||||
return false;
|
||||
};
|
||||
element.setAttribute('unselectable', 'on', 0);
|
||||
}
|
||||
</script>
|
||||
</public:component>
|
Loading…
Add table
Add a link
Reference in a new issue