Skip to content

Instantly share code, notes, and snippets.

View fabi6ferreira's full-sized avatar

Fábio Ferreira fabi6ferreira

  • Porto, Portugal
View GitHub Profile
window.addEventListener('beforeunload', (event) => {
// Cancel the event as stated by the standard.
event.preventDefault();
// Chrome requires returnValue to be set.
event.returnValue = '';
});
section.hero-wrap h2.live-description {
position: relative !important;
display: block !important;
width: 100% !important;
max-width: 816px !important;
margin: 0 auto !important;
text-align: center!important;
font-family: Arial !important;
font-style: normal !important;
font-weight: 400 !important;