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
// 'beforescriptexecute' event with loadPayloadSync | |
// original version: https://gist.github.com/jspenguin2017/cd568a50128c71e515738413cd09a890 | |
;(function () { | |
'use strict'; | |
class Event { | |
constructor(script, target) { | |
this.script = script; | |
this.target = target; |