Version Description
Download this release
Release Info
Developer | willjenkins |
Plugin | No Right Click Images Plugin |
Version | 3.3 |
Comparing to | |
See all releases |
Code changes from version 3.2 to 3.3
- no-right-click-images-plugin.php +3 -3
- no-right-click-images.css +2 -5
- no-right-click-images.js +1 -1
- readme.txt +5 -1
no-right-click-images-plugin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: No Right Click Images Plugin
|
4 |
Plugin URI: http://www.BlogsEye.com/
|
5 |
Description: Uses Javascript to prevent right clicking of images to help keep leaches from copying images
|
6 |
-
Version: 3.
|
7 |
Author: Keith P. Graham
|
8 |
Author URI: http://www.BlogsEye.com/
|
9 |
|
@@ -72,12 +72,12 @@ function kpg_nrci_get_options() {
|
|
72 |
$opts['drag']='Y';
|
73 |
$opts['touch']='Y';
|
74 |
$opts['allowforlogged']='N';
|
75 |
-
$opts['ios']='
|
76 |
}
|
77 |
if (!array_key_exists('gesture',$opts)||empty($opts['gesture'])) $opts['gesture']='Y';
|
78 |
if (!array_key_exists('drag',$opts)||empty($opts['drag'])) $opts['drag']='Y';
|
79 |
if (!array_key_exists('touch',$opts)||empty($opts['touch'])) $opts['touch']='Y';
|
80 |
-
if (!array_key_exists('ios',$opts)||empty($opts['ios'])) $opts['ios']='
|
81 |
if (!array_key_exists('allowforlogged',$opts)||empty($opts['allowforlogged'])) $opts['allowforlogged']='N';
|
82 |
|
83 |
if ($opts['gesture']!='Y') $opts['gesture']='N';
|
3 |
Plugin Name: No Right Click Images Plugin
|
4 |
Plugin URI: http://www.BlogsEye.com/
|
5 |
Description: Uses Javascript to prevent right clicking of images to help keep leaches from copying images
|
6 |
+
Version: 3.3
|
7 |
Author: Keith P. Graham
|
8 |
Author URI: http://www.BlogsEye.com/
|
9 |
|
72 |
$opts['drag']='Y';
|
73 |
$opts['touch']='Y';
|
74 |
$opts['allowforlogged']='N';
|
75 |
+
$opts['ios']='N';
|
76 |
}
|
77 |
if (!array_key_exists('gesture',$opts)||empty($opts['gesture'])) $opts['gesture']='Y';
|
78 |
if (!array_key_exists('drag',$opts)||empty($opts['drag'])) $opts['drag']='Y';
|
79 |
if (!array_key_exists('touch',$opts)||empty($opts['touch'])) $opts['touch']='Y';
|
80 |
+
if (!array_key_exists('ios',$opts)||empty($opts['ios'])) $opts['ios']='N';
|
81 |
if (!array_key_exists('allowforlogged',$opts)||empty($opts['allowforlogged'])) $opts['allowforlogged']='N';
|
82 |
|
83 |
if ($opts['gesture']!='Y') $opts['gesture']='N';
|
no-right-click-images.css
CHANGED
@@ -5,7 +5,7 @@ by Keith P. Graham
|
|
5 |
|
6 |
Plugin URI: http://www.BlogsEye.com/
|
7 |
Description: Uses Javascript to prevent right clicking of images to help keep leaches from copying images
|
8 |
-
Version: 3.
|
9 |
Author: Keith P. Graham
|
10 |
Author URI: http://www.BlogsEye.com/
|
11 |
|
@@ -20,8 +20,5 @@ img {
|
|
20 |
-webkit-touch-callout: none;
|
21 |
-webkit-user-select: none;
|
22 |
}
|
23 |
-
|
24 |
-
-webkit-touch-callout: none;
|
25 |
-
-webkit-user-select: none;
|
26 |
-
}
|
27 |
|
5 |
|
6 |
Plugin URI: http://www.BlogsEye.com/
|
7 |
Description: Uses Javascript to prevent right clicking of images to help keep leaches from copying images
|
8 |
+
Version: 3.3
|
9 |
Author: Keith P. Graham
|
10 |
Author URI: http://www.BlogsEye.com/
|
11 |
|
20 |
-webkit-touch-callout: none;
|
21 |
-webkit-user-select: none;
|
22 |
}
|
23 |
+
|
|
|
|
|
|
|
24 |
|
no-right-click-images.js
CHANGED
@@ -5,7 +5,7 @@ by Keith P. Graham
|
|
5 |
|
6 |
Plugin URI: http://www.BlogsEye.com/
|
7 |
Description: Uses Javascript to prevent right clicking of images to help keep leaches from copying images
|
8 |
-
Version: 3.
|
9 |
Author: Keith P. Graham
|
10 |
Author URI: http://www.BlogsEye.com/
|
11 |
|
5 |
|
6 |
Plugin URI: http://www.BlogsEye.com/
|
7 |
Description: Uses Javascript to prevent right clicking of images to help keep leaches from copying images
|
8 |
+
Version: 3.3
|
9 |
Author: Keith P. Graham
|
10 |
Author URI: http://www.BlogsEye.com/
|
11 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.blogseye.com/buy-the-book/
|
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.0
|
6 |
Contributors: Keith Graham
|
7 |
-
Stable tag: 3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -34,6 +34,10 @@ The plugin no longer tries to replace images with a dummy image. This method har
|
|
34 |
|
35 |
== Changelog ==
|
36 |
|
|
|
|
|
|
|
|
|
37 |
= 3.2 =
|
38 |
* Added a CSS option for IOS to suppress the context menu on long presses and selects.
|
39 |
* Reworked the get_options method to remove redundancies.
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.0
|
6 |
Contributors: Keith Graham
|
7 |
+
Stable tag: 3.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
34 |
|
35 |
== Changelog ==
|
36 |
|
37 |
+
= 3.2 =
|
38 |
+
* Removed background image checking for IOS. Seems to break everything.
|
39 |
+
* made IOS processing default to off for new installations.
|
40 |
+
|
41 |
= 3.2 =
|
42 |
* Added a CSS option for IOS to suppress the context menu on long presses and selects.
|
43 |
* Reworked the get_options method to remove redundancies.
|