Body

Body - Prevent right click in browser

Disable right click on your webpage.
1. Custom code | footer code

var message="Function Disabled!"; function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false")

Body - Disable zoom on mobile device

Disable zoom on webpages in mobile devices
1. Custom code | footer code

meta name=”viewport” content=”width=device-width, initial-scale=1, user-scalable=no”

Body – Make phone number non-clickable on mobile

Disable phonenumbers to be clicked on mobile devices
1. Custom code | footer code

meta name=”format-detection” content=”telephone=no”

JavaScript – Document Write-In

An error message will be shown when pasting  some codes starting with script. That makes the Custom Code unsavable after changes, so a document Write-in needs to be inserted instead.

1. This needs to be done

You’ll get a error message when pasting this code. Once pasted in the Custom code area, be sure to replace all quote marks. The quotation marks in the designer are not the same as in the Custom Code-area.

1. Custom code | Footer code

1. Paste code

<script language="JavaScript”>
<!--
document.writeln("<script src='https://maps.googleapis.com/maps/api/js?key=AIzaSyA4y1ZR_U6_ZfDdPpH1eBV5zAWGzczmaus&sensor&sensor=false&extension=.js'></script>”);
//-->
</script>

Text – Disable copy and paste of text

This protects your content from being copied and/or saved.
1. Custom code | Head code

1. Paste code

ondragstart=”return false” onselectstart=”return false”

Text – Prevent flashing text in Safari

When using interactions the text will sometimes flash for 1/2 second in Safari. This prevent the flashing.
1. Custom code | Head code

1. Paste code

/* Safari & Webkit blinking fix */
.class, .class1, .class2 {
-webkit-backface-visibility: hidden;
-webkit-font-smoothing: antialiased !important;
font-smoothing: antialiased !important;
-webkit-transform: translateZ(0) scale(1.0, 1.0); transform: translateZ(0); }

Text – Change text highlight color

This code customizes the highlight color shown when you select text in the browser.
1. Custom code | Head code

1. Paste code

::-moz-selection { /* Firefox */  color: #ffffff;       
 background: #fa5bd3;    }   

 ::selection {color: #ffffff;        
background: #fa5bd3;    }

Viewport – 1200 px Viewport

A wider viewport than the default 960px desktop media query in Webflow
1. Custom code | Head code

1. Paste code

@media screen and (min-width: 1200px) {
.w-container {
max-width: 1170px; }
}

c
o
n
t
a
c
t

THANK YOU!
I’ll try to get back to you as soon as I can. Cheers!

Oops!
Please fill all required fields, bitte!