Disable Mouse Right Click, Cut, Copy & Paste? Full JavaScript code for disabling mouse right click and disable cut (CTRL+X), copy (CTRL+C) and paste (CTRL+V) …
Read MoreJavaScript
DISABLE MOUSE RIGHT CLICK
WANT TO DISABLE MOUSE RIGHT CLICK?? Disable mouse right click will prevent visitors from choosing the cut, copy and paste options. If you want to disable …
Read MoreHow To Disable Copying Text On Blogger Blogs?
Want to Disable Copying Text On Blogger Blogs?? Steps to for Blogger (Disable Copying Text): Go to Dashboard > Select the blog where you would …
Read MoreHow to Change the Current Browser URL
For Update the Current Browser URL, <script> ChangeUrl = function(page, url) { if (typeof (history.pushState) != “undefined”) { var obj = …
Read MoreCopy Container Text in JavaScript
Copy Container Text in JavaScript <script type=”text/javascript”> function myFunction() { /* Get the text field */ var copyText = document.getElementById(“myInput”); /* Select …
Read MoreOn Click Copy the text in javascript
On Click Copy the text in javascript $(“.copy-mediaUrl”).on(‘click’ , function(){ var b = $(this); var media_id = ‘mediaurl-‘+ b.data(‘id’); …
Read MoreTinyMCE URL Conversion Example
relative_urls : false, remove_script_host : false, convert_urls : true, LIKE:: <script> tinymce.init({ selector: ‘.rte’, height: 500, …
Read MoreTrim in Javascript
Trim in Javascript:: function myTrim(x) { return x.replace(/^\s+|\s+$/gm,”); } function myFunction() { var str = myTrim(” Hello World! …
Read MoreSelect all Checkbox in Javascript
Select all Checkbox in Javascript:: <script type=”text/javascript”> $(document).ready(function(){ $(“#checkbx_selectall”).on(‘change’, function() { if(this.checked){ $(‘.__chckbx_select’).each(function(){ …
Read More