Skip to main content

No Right Click

If you want to prevent a reader to right click on a photo you own and download it here you have a simple trick.

On your post you have to add the following code onContextMenu="return false;" before finishing the HTML tag <img>
Here you have an example:
<img src="yourImageFileSource.gif" height="100" width="100" onContextMenu="return false;" />

In case you want, you can add an optional message as an alert
<img src="yourImageFileSource.gif" height="100" width="100" onContextMenu="alert('This is the optional message');return false;" />

Comments

Popular posts from this blog

Section Cut Face

If you are looking for a plugin to create your section slices in sketchup you are in the right place. This plugin will create a group of the section cut you select and fill it up automatically. Installation This instructions are listed to match Mac OS X steps, it may vary a bit on Windows, but the extension works for both operating systems. Download the file to your computer Open SketchUp and go to   Menu › Preferences... › Extensions › Install Extension... Select the file you just downloaded It will ask you if you trust this extension and if you want to install it, press " Yes " and the " Ok " That's it, the extension it's installed in your computer. Usage Open the SketchUp file you want to create a section cut on Turn Off all layers you don't want to be cutted Right-Click Section Cut In the context menu, Select  Add Section-Cut Face . Wait (it could take a while).. Be happy, that was easy.. Download  ›  SectionCutFace.rbz...

Get Dimensions

This extension is very useful when you are drafting your model and you quickly need the XYZ dimensions of anything (blocks, components, etc) in your SketchUp model. Download  ›  GetDimensions.rbz Install Preferences › Extensions › Install extension › Select the file you just downloaded › Follow the prompts and steps Usage  › Menu › Extension › Get Dimensions Shortcut › Alt + D

xLine

Convert selected lines or edges to construction lines. on Mac OS X Installation Download  xLine.rbz  to your computer Open SketchUp and go to   Menu › Preferences... › Extensions › Install Extension... Select the file you just downloaded ( xLine.rbz ) It will ask you if you trust this extension and if you want to install it, press " Yes " and the " Ok " That's it, the extension it's installed in your computer. Usage  ›  Select Object(s) › Context Menu › Convert to xLine