Explorar el Código

anti click droit

ouidade hace 9 meses
padre
commit
105533fb2d

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
web/themes/custom/popsu/assets/js/main.js


+ 2 - 16
web/themes/custom/popsu/assets/js/main.js.LICENSE.txt

@@ -1,24 +1,10 @@
 /*!
- * Sizzle CSS Selector Engine v2.3.6
- * https://sizzlejs.com/
- *
- * Copyright JS Foundation and other contributors
- * Released under the MIT license
- * https://js.foundation/
- *
- * Date: 2021-02-16
- */
-
-/*!
- * jQuery JavaScript Library v3.6.0
+ * jQuery JavaScript Library v3.7.1
  * https://jquery.com/
  *
- * Includes Sizzle.js
- * https://sizzlejs.com/
- *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license
  * https://jquery.org/license
  *
- * Date: 2021-03-02T17:08Z
+ * Date: 2023-08-28T13:37Z
  */

+ 24 - 0
web/themes/custom/popsu/lib/script.js

@@ -571,4 +571,28 @@ if($(".programme-878").length > 0){
 	});
 }
 
+
+
+
 });
+
+
+jQuery(document).ready(function () {
+
+	//Disable cut copy paste
+	
+	jQuery('body').bind('cut copy paste', function (e) {
+	
+	e.preventDefault();
+	
+	});
+	
+	//Disable mouse right click
+	
+	jQuery("body").on("contextmenu",function(e){
+	
+	return false;
+	
+	});
+	
+});

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 240 - 140
web/themes/custom/popsu/package-lock.json


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio