This file contains 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
const eventName = // play, pause, impression | |
const verb = // get verb from widget | |
const video = // data-video-source, Video name or VideoID | |
const container = //Block video is in, for example How To block | |
const eventData = // timestamp on when video was clicked and other metadata | |
const event = { | |
documentUnloading: true, | |
data: { | |
eventType: 'web.webinteraction.linkClicks', |
This file contains 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
<div class="number">1</div> | |
<div class="number">2</div> | |
<div class="number">3</div> | |
<div class="number">4</div> | |
<div class="number">5</div> | |
<div class="number">6</div> | |
<script type="text/javascript"> | |
var numbers = document.querySelectorAll('.number') |
This file contains 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
var totalHeight; | |
var scrollTop; | |
var distance; | |
var windowHight = window.innerHeight; | |
window.addEventListener('scroll', function () { | |
var top = (document.documentElement && document.documentElement.scrollTop) || | |
document.body.scrollTop; | |
totalHeight = document.body.offsetHeight; | |
scrollTop = document.body.scrollTop; |
This file contains 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
easterEgg.BadWorder.list={ | |
"4r5e":1, | |
"5h1t":1, | |
"5hit":1, | |
a55:1, | |
anal:1, | |
anus:1, | |
ar5e:1, | |
arrse:1, | |
arse:1, |