Refresh & No Right click BBCode
Posted: 06 Mar 2010, 09:47
Refresh & No Right click BBCode
Author: djgalix
Description: The Refresh & No Right click BBCode protect your pictures with a "no right click". The page refresh when You right click.
Working in Internet Explorer and Firefox.
Not working in Opera.
BBCode:
HTML:
Helpline:
Example:
Demo:
[refresh][/refresh]
Try to right click in this topic. You will see it is not possible and the page refreshes instead.
Author: djgalix
Description: The Refresh & No Right click BBCode protect your pictures with a "no right click". The page refresh when You right click.
Working in Internet Explorer and Firefox.
Not working in Opera.
BBCode:
Code: Select all
[Refresh][/Refresh]
Code: Select all
<script type="text/javascript">
function refresh()
{
document.location.reload();
return false;
}
document.oncontextmenu = refresh;
</script>
Code: Select all
Refresh: [Refresh][/Refresh]
Code: Select all
[refresh][/refresh]
[refresh][/refresh]
Try to right click in this topic. You will see it is not possible and the page refreshes instead.