How to Disable Right-click with JavaScript/jQuery

To disable right-click on your page, you need to add the oncontextmenu event and “return false” in the event handler. It will block all access to the context menu from the mouse right-click. Example Use the bind() jQuery function to disable the right-click feature. This method disables the right-click (context menu) feature on a text field and also alerts… Continue reading How to Disable Right-click with JavaScript/jQuery

How to Disable Copy, Cut, and Paste with JavaScript/jQuery.

You can allow text selection, but prevent copy and cut functions using the oncopy, oncut and onpaste event attributes. By adding these attributes to a textbox’s tag, you can disable cut, copy and paste features. The user is left with the option to enter the field manually with these attributes set. Example The same effect… Continue reading How to Disable Copy, Cut, and Paste with JavaScript/jQuery.

How to Submit a DMCA Takedown Notice on Google?

Under the legislation governing intellectual property in the United States, the term “DMCA” refers to the Digital Millennium Copyright Act. It protects the rights and responsibilities of those who have the copyright to works that have had their rights violated by others (usually online). The laws of the DMCA also apply to the rights and… Continue reading How to Submit a DMCA Takedown Notice on Google?

Tracking Web form submissions in Google Tag Manager using CSS Selectors

First, let’s try GTM’s built-in form listener. Open a list of Variables in your Google Tag Manager account. By default, form variables are disabled, therefore, you need to enable them. Under built-in variables, click Configure, and in the right sidebar enable all Form variables (all changes are automatically saved). Then open a list of all your triggers (by clicking Triggers in the… Continue reading Tracking Web form submissions in Google Tag Manager using CSS Selectors