Refresh & No Right click BBCode

Ordinary BBCode Database
BBCodes that need nothing else than installation through ACP
There is no support here! Only Read Access!
User avatar
BBCode Bot
BBCoder IV
BBCoder IV
Posts: 239
Joined: 04 Mar 2010, 13:04
Location: bbcode table

Refresh & No Right click BBCode

Post by BBCode Bot » 06 Mar 2010, 07: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.
Image

BBCode:

Code: Select all

[Refresh][/Refresh]
HTML:

Code: Select all

<script type="text/javascript">
function refresh()
	{
	document.location.reload();
                return false;
	}
document.oncontextmenu = refresh;
</script>
Helpline:

Code: Select all

Refresh: [Refresh][/Refresh]
Example:

Code: Select all

[refresh][/refresh]
Demo:
[refresh][/refresh]
Try to right click in this topic. You will see it is not possible and the page refreshes instead.


Mark1200
BBCoder II
BBCoder II
Posts: 12
Joined: 25 Jul 2010, 15:15

Re: Refresh & No Right click BBCode

Post by Mark1200 » 25 Jul 2010, 16:40

BBCode Bot » 06 Mar 2010, 08:47 wrote: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.
Works also in Google Chrome! :D