Version Description
Download this release
Release Info
Developer | cchetanonline |
Plugin | WP-CopyProtect [Protect your blog posts] |
Version | 1.7 |
Comparing to | |
See all releases |
Code changes from version 1.6 to 1.7
- readme.txt +4 -4
- screenshot-1.jpeg +0 -0
- wp-copyprotect.php +14 -18
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== WP-CopyProtect ===
|
2 |
Contributors: cchetanonline
|
3 |
Donate link: http://www.thechetan.com/wp-copyprotect/#donate
|
4 |
-
Tags: post, posts, copy, protect, right, click, disable, copyprotect, Google, SEO, page, plugin
|
5 |
Requires at least: 2
|
6 |
-
Tested up to: 2.
|
7 |
-
Stable tag: 1.
|
8 |
|
9 |
Protect your blog content from getting copied. A simple plug-in developed to stop the Copy cats
|
10 |
|
@@ -20,7 +20,7 @@ So that no one can simply copy and paste the content of your blog in there blog
|
|
20 |
NOTE: Both *disable right click* and *disable selection of text* can be switch ON or OFF through *Settings* menu.
|
21 |
You must enable the options from settings page after installing it to enable the protection.
|
22 |
|
23 |
-
*Latest* release 1.
|
24 |
|
25 |
By [Chetan Gole](http://www.thechetan.com/).
|
26 |
|
1 |
=== WP-CopyProtect ===
|
2 |
Contributors: cchetanonline
|
3 |
Donate link: http://www.thechetan.com/wp-copyprotect/#donate
|
4 |
+
Tags: post, posts, copy, protect, right, click, disable, copyprotect, Google, SEO, page, plugin, access, content, javascript, security, wp-copyprotect
|
5 |
Requires at least: 2
|
6 |
+
Tested up to: 2.8
|
7 |
+
Stable tag: 1.8
|
8 |
|
9 |
Protect your blog content from getting copied. A simple plug-in developed to stop the Copy cats
|
10 |
|
20 |
NOTE: Both *disable right click* and *disable selection of text* can be switch ON or OFF through *Settings* menu.
|
21 |
You must enable the options from settings page after installing it to enable the protection.
|
22 |
|
23 |
+
*Latest* release 1.8 : Optimised for WP 2.8
|
24 |
|
25 |
By [Chetan Gole](http://www.thechetan.com/).
|
26 |
|
screenshot-1.jpeg
CHANGED
Binary file
|
wp-copyprotect.php
CHANGED
@@ -3,13 +3,13 @@
|
|
3 |
Plugin Name: WP-CopyProtect
|
4 |
Plugin URI: http://www.thechetan.com/wp-copyprotect/
|
5 |
Description: This plug-in will protect your blog content from being copied. A simple plug-in developed to stop the Copy cats.
|
6 |
-
Version: 1.
|
7 |
Author: Chetan Gole
|
8 |
Author URI: http://www.thechetan.com/
|
9 |
*/
|
10 |
|
11 |
/*
|
12 |
-
Copyright 2008 Chetan Gole, IN (http://www.thechetan.com)
|
13 |
|
14 |
This program is free software; you can redistribute it and/or modify
|
15 |
it under the terms of the GNU General Public License as published by
|
@@ -32,7 +32,7 @@ function CopyProtect_no_right_click($CopyProtect_click_message)
|
|
32 |
<!--
|
33 |
|
34 |
/***************************************************************************************************************
|
35 |
-
*Copyprotection for this site is provided by WP-CopyProtect v1.
|
36 |
*RightClick Disabled, Please DO NOT COPY.
|
37 |
***************************************************************************************************************/
|
38 |
|
@@ -71,36 +71,30 @@ document.oncontextmenu=new Function("alert(message);return false")
|
|
71 |
<?php
|
72 |
}
|
73 |
|
74 |
-
|
75 |
-
|
76 |
// No selection header - Now your content is protected from copy and paste guys
|
77 |
function CopyProtect_no_select()
|
78 |
{
|
79 |
?>
|
80 |
<script type="text/javascript">
|
81 |
-
|
82 |
/***************************************************************************************************************
|
83 |
-
*Copyprotection for this site is provided by WP-CopyProtect v1.
|
84 |
*Selection Disabled, Please DO NOT COPY.
|
85 |
-
|
86 |
-
|
87 |
function disableSelection(target){
|
88 |
-
if (typeof target.onselectstart!="undefined") //IE
|
89 |
target.onselectstart=function(){return false}
|
90 |
-
else if (typeof target.style.MozUserSelect!="undefined") //Firefox
|
91 |
target.style.MozUserSelect="none"
|
92 |
-
else //All other route (
|
93 |
target.onmousedown=function(){return false}
|
94 |
target.style.cursor = "default"
|
95 |
}
|
96 |
|
97 |
</script>
|
98 |
|
99 |
-
|
100 |
<?php
|
101 |
}
|
102 |
|
103 |
-
|
104 |
// No selection footer
|
105 |
// Yes, You can remove this link from footer, but why ?, This plugin is protecting your content, so just donate me a backlink.
|
106 |
// If you are removing this link please consider adding me in your blogroll or write a post about this plugin.
|
@@ -108,9 +102,9 @@ function CopyProtect_no_select_footer()
|
|
108 |
{
|
109 |
?>
|
110 |
<script type="text/javascript">
|
111 |
-
disableSelection(document.body)
|
112 |
</script>
|
113 |
-
<small>Copy Protected by <a href="http://www.thechetan.com/
|
114 |
<?php
|
115 |
}
|
116 |
|
@@ -129,7 +123,8 @@ function CopyProtect_options_page()
|
|
129 |
$wp_CopyProtect_nts = get_option('CopyProtect_nts');
|
130 |
?>
|
131 |
<div class="wrap">
|
132 |
-
|
|
|
133 |
<h2>WP-CopyProtect Options</h2>
|
134 |
<form method="post" id="CopyProtect_options">
|
135 |
<fieldset class="options">
|
@@ -181,7 +176,8 @@ Most copy cats use your blogs <a href="/feed/" target="_blank">RSS feeds</a> to
|
|
181 |
</tr>
|
182 |
</table>
|
183 |
<h3>Thank you</h3>
|
184 |
-
Plug in developed by <a href="http://www.thechetan.com/" target="_blank">Chetan Gole</a>.
|
|
|
185 |
</fieldset>
|
186 |
</form>
|
187 |
</table>
|
3 |
Plugin Name: WP-CopyProtect
|
4 |
Plugin URI: http://www.thechetan.com/wp-copyprotect/
|
5 |
Description: This plug-in will protect your blog content from being copied. A simple plug-in developed to stop the Copy cats.
|
6 |
+
Version: 1.8
|
7 |
Author: Chetan Gole
|
8 |
Author URI: http://www.thechetan.com/
|
9 |
*/
|
10 |
|
11 |
/*
|
12 |
+
Copyright 2008 Chetan Gole, IN (http://www.thechetan.com/)
|
13 |
|
14 |
This program is free software; you can redistribute it and/or modify
|
15 |
it under the terms of the GNU General Public License as published by
|
32 |
<!--
|
33 |
|
34 |
/***************************************************************************************************************
|
35 |
+
*Copyprotection for this site is provided by WP-CopyProtect v1.8 visit www.TheChetan.com/wp-copyprotect/ for more details
|
36 |
*RightClick Disabled, Please DO NOT COPY.
|
37 |
***************************************************************************************************************/
|
38 |
|
71 |
<?php
|
72 |
}
|
73 |
|
|
|
|
|
74 |
// No selection header - Now your content is protected from copy and paste guys
|
75 |
function CopyProtect_no_select()
|
76 |
{
|
77 |
?>
|
78 |
<script type="text/javascript">
|
|
|
79 |
/***************************************************************************************************************
|
80 |
+
*Copyprotection for this site is provided by WP-CopyProtect v1.8 visit www.TheChetan.com/wp-copyprotect/ for more details
|
81 |
*Selection Disabled, Please DO NOT COPY.
|
82 |
+
**************************************************************************************************************/
|
|
|
83 |
function disableSelection(target){
|
84 |
+
if (typeof target.onselectstart!="undefined") //For IE
|
85 |
target.onselectstart=function(){return false}
|
86 |
+
else if (typeof target.style.MozUserSelect!="undefined") //For Firefox
|
87 |
target.style.MozUserSelect="none"
|
88 |
+
else //All other route (For Opera)
|
89 |
target.onmousedown=function(){return false}
|
90 |
target.style.cursor = "default"
|
91 |
}
|
92 |
|
93 |
</script>
|
94 |
|
|
|
95 |
<?php
|
96 |
}
|
97 |
|
|
|
98 |
// No selection footer
|
99 |
// Yes, You can remove this link from footer, but why ?, This plugin is protecting your content, so just donate me a backlink.
|
100 |
// If you are removing this link please consider adding me in your blogroll or write a post about this plugin.
|
102 |
{
|
103 |
?>
|
104 |
<script type="text/javascript">
|
105 |
+
disableSelection(document.body)
|
106 |
</script>
|
107 |
+
<small>Copy Protected by <a href="http://www.thechetan.com/" target="_blank">Chetan</a>'s <a href="http://www.thechetan.com/wp-copyprotect/" target="_blank">WP-CopyProtect</a>.</small>
|
108 |
<?php
|
109 |
}
|
110 |
|
123 |
$wp_CopyProtect_nts = get_option('CopyProtect_nts');
|
124 |
?>
|
125 |
<div class="wrap">
|
126 |
+
<h1>WP-CopyProtect</h1> ver. 1.8
|
127 |
+
| <a href="http://www.thechetan.com/wp-copyprotect/" target="_blank" title="Visit homepage of wordpress plugin WP-CopyProtect">Visit Plugin page</a> | <a href="http://www.thechetan.com/wp-copyprotect/#donate" target="_blank" title="Donate some amount to WP-CopyProtect plugin developer to help him to develope more such plugins">Donate</a> | <a href="http://www.thechetan.com/wp-copyprotect/#donors" target="_blank" title="Few power donors,special thanks to them">Power Donors</a> |
|
128 |
<h2>WP-CopyProtect Options</h2>
|
129 |
<form method="post" id="CopyProtect_options">
|
130 |
<fieldset class="options">
|
176 |
</tr>
|
177 |
</table>
|
178 |
<h3>Thank you</h3>
|
179 |
+
Plug in developed by <a href="http://www.thechetan.com/" target="_blank">Chetan Gole</a>. <br />
|
180 |
+
<small>Follow me on Twitter <a href="http://twitter.com/cchetanonline" target="_blank">@cchetanonline</a></small>
|
181 |
</fieldset>
|
182 |
</form>
|
183 |
</table>
|