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 observer = new ReportingObserver( | |
(reports, observer) => { | |
console.log('ADTECH: reporting observer results:', JSON.stringify(reports)); | |
}, { | |
buffered: true | |
} | |
); | |
// start watching for interventions | |
observer.observe(); |
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
/* | |
This is outdated, for the up to date version see: | |
https://github.com/FikretHassan/report-ads-to-slack-chrome-extension/blob/main/Ad%20Feedback%20Toggle%20Extension/adtech.js | |
*/ | |
window.top.googletag.cmd.push(function() { | |
window.top.adentify = window.top.adentify || {}; | |
window.top.adentify.about = { // deatils about this version of the code | |
version: '0.1', |