• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

protect my blog content

phpjavascriptajax


PHP Snippet 1:

    * {
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: -moz-none;
        -o-user-select: none;
        user-select: none;
    }

PHP Snippet 2:

<body ondragstart="return false;" ondrop="return false;">

PHP Snippet 3:

@media print { * {display: none !important;} }

Related Snippets

How to add automatically collapse/expand in content wordpress (single.php)?

What is the difference between client-side and server-side programming?

how to sort by a custom appended relation to model

Confirm Leave on External Links in Wordpress

"Mixed content blocked" when running an HTTP AJAX operation in an HTTPS page

Edit XML in HTML form and submit to self

Could not decode a text frame as UTF-8.

Sentry + Laravel: how to log an already catched Exception?

Is there a way to correctly use sanitize_text_field and wp_unslash that doesn't cause psalm to error with "expects string, possibly different type"

Laravel Sanctum CSRF not authenticating

Hide specific products from unlogged users based in product category in WooCommerce

Assets not referencing to public folder (Laravel)

How to get the survey List from surveygizmo API in the Postman?(Trial Version)

What is the function of the (new Date()).getTime() in PHP?

Having trouble with PDO queries (Notice: Undefined index)

About Contact Privacy policy Terms and conditions