This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="add your URL here" target="_blank"> | |
<input class="myButton" type="button" value="Download Now" /> | |
</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//disable Text Selection and Copying | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script src='demo-to-prevent-copy-paste-on-blogger_files/googleapis.js'> | |
</script> | |
<script type='text/javascript'> | |
if (typeof document.onselectstart!="undefined" ) { | |
document.onselectstart=new Function ("return false" ); | |
} | |
else { | |
document.onmousedown=new Function ("return false" ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//disable F12 Key and Ctrl + shift + I combination | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script> | |
$(document).keydown(function (event) { | |
if (event.keyCode == 123) { // Prevent F12 | |
alert('Content is protected\nYou cannot view the Dev Tools.'); | |
return false; | |
} else if (event.ctrlKey && event.shiftKey && event.keyCode == 73) { // Prevent Ctrl+Shift+I | |
alert('Content is protected\nYou cannot view the Dev Tools.'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// disable viewing page source | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script> | |
document.onkeydown = function(e) { | |
if (e.ctrlKey && | |
(e.keyCode === 67 || | |
e.keyCode === 86 || | |
e.keyCode === 85 || | |
e.keyCode === 117)) { | |
alert('Content is protected\nYou cannot view the page source.'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//disable Text Selection and Copying | |
<script src='demo-to-prevent-copy-paste-on-blogger_files/googleapis.js'> | |
</script> | |
<script type='text/javascript'> | |
if (typeof document.onselectstart!="undefined" ) { | |
document.onselectstart=new Function ("return false" ); | |
} | |
else { | |
document.onmousedown=new Function ("return false" ); | |
document.onmouseup=new Function ("return true" ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function onOpen() { | |
// Add a menu with some items, some separators, and a sub-menu. | |
DocumentApp.getUi().createMenu('Utilities') | |
.addItem('Insert Date', 'insertAtCursor') | |
.addItem('Insert Time', 'insertTimeAtCursor') | |
.addItem('Insert Long Date', 'insertLDateAtCursor') | |
.addItem('Insert Date and Time', 'insertDTAtCursor') | |
.addToUi(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p class="love">Made with <i class="icon ion-heart"></i> Input custom text here</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Enqueue Ionicons | |
add_action( 'wp_enqueue_scripts', 'bg_enqueue_ionicons' ); | |
function bg_enqueue_ionicons() { | |
wp_enqueue_style( 'ionicons', '//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css', array(), CHILD_THEME_VERSION ); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Made with <span style="color: #e25555;">♥</span> in India |
NewerOlder