[
[
    [ Secure copy protection solutions
  [
line
[
Copy protect web pages and online images from all copy and save
[
Code Snippets Resources and code snippets to enhance your web pages and security.

Free code snippets for web pages

A combination of these scripts can be used to detect browser type and better optimize page layout, detect and limit access to certain platforms and browser types, and even add limited copy protection to a web page.

Disable right click

The No-Right-Click snippet (disable right click) is written in JavaScript and supported in all web browsers. It can be used to obscure links, source code and hamper the saving of  images by disabling the right mouse button option. No-Right-Click can be a deterrent to most web sites visitors however it will only provide a mild annoyance to the more proficient web surfer who can either disable JavaScript support in their browser settings or simply save the whole web page. Click to download the No Right Click script.

Disable drag & drop

Code snippet to disable drag & drop. Drag'n'drop which describes the action of selecting an image on a web page with the mouse, and then click dragging it to desk top is one of the many methods available for copying images from web pages. This code will prevent mouse dragging of images from a web page onto the desk top. Click to download the No Drag'n'drop script.

Disable printing

Preventing print is most difficult because there are many different print options such as sending to a connected printer, a virtual printer or network printer. However it is possible to hamper printing. In most cases the site visitor will get a blank page. Click to download the Disable Print script.

Disable Printscreen

JavaScript code snippet for disabling Printscreen. This JavaScript will clear the clipboard repeatedly so that any attempts to copy'n'paste or use the Printscreen will be thwarted by replacing the clipboard with emptiness. Click to download the Disable Printscreen script.

Disable screen capture

A code snippet on a web page cannot prevent screen capture. There is absolutely nothing that JavaScript can do and nothing that be used within Flash to prevent screen capture software from taking screen shots. The only solution for the prevention of screen capture is the CopySafe Runtime provided by ArtistScope!

Detect web browser and platform

Detecting what type of computer and browser is being used can be most useful for redirections and it can be quite easy when simplified. Generally detection scripts run into extensive detail, most of which is rarely needed and if anything, needless confusion. Broken down into the basic requirements these scripts will be versatile and easy to use. Click to download the Detect Browser script.

Detect cookies

If cookies aren't enabled then any sort of password/login system will more than likely fail. Cookies can be detected simply be setting a cookie and then trying to read it. If a cookie for the site cannot be found then cookies are probably not enabled. Click to download the Detect Cookies script.

Detect JavaScript

Code snippet to detect if JavaScript is disabled. This code will trigger an error if the browser doesn't support JavaScript and then redirect to another web page. Click to download the Detect JavaScript script.

Detect Java

Code snippet to detect if Java is installed/enabled and its version. The Java Version Applet will detect the version and if it's not at least the version that you specify, the JavaScript will redirect for a more recent download. Click to download the Detect Java script.

Detect plug-in

Retrieving a list of plugins is one thing, but checking if a certain plugin is in fact installed is another. This script detects the platform and browser type and then uses the appropriate code for either an ActiveX or Mozilla plug-in to create an embedded object. Click to download the Detect Plugin script.

Detect search engines

ASP code snippet to detect search engines. This script checks the visitor requesting the page against a list of known strings to identify popular search engines by name. It can also be used to detect and redirect if search engines are not permitted. Click to download the Detect Search Engines script.

Detect visitors

ASP code snippet to detect visitors and monitor their current activity. Monitor and display which visitors are currently visiting which web page, IP number, user-agent, language preference, page referrer and more. Click to download the Detect Visitors script.


Return to top
[
Products:

ArtistScope CD
ArtistScope DRM
ArtistScope Site Protection
CopySafe PDF Protector
CopySafe Web
Link Protection
Scroll Image
Secure Image Pro
Zoom Image


Secure web browser for copy protected web sites

Related Links:

Affiliates
Developers
News & Releases
Solutions
Site map
White Papers & Videos
[
[
[
   For further information or advice in selecting the best solution for your project - click for free consultation.
[
[ Copyright © 1998-2012 ArtistScope. All Rights Reserved. [