@cliqz/autoconsent
Version:
This is a library of rules for navigating through common consent popups on the web. These rules can be run in a Firefox webextension, or in a puppeteer orchestrated headless browser. Using these rules, opt-in and opt-out options can be selected automatica
57 lines (54 loc) • 1.58 kB
HTML
<html>
<head>
<title>Autoconsent testing</title>
<link rel="stylesheet" href="../node_modules/bulma/css/bulma.min.css">
<style>
td {
border: solid 1px;
padding: 4px;
max-width: 300px;
}
.failed>td {
border-color: red;
border-width: 2px;
}
</style>
<script src="./sidebar.js" type="module"></script>
</head>
<body>
<section class="section">
<div class="container">
<p id="url">Site</p>
<table>
<tbody>
<tr>
<td>CMP</td>
<td id="cmp"></td>
</tr>
<tr>
<td>Popup Shown</td>
<td id="popup_shown"></td>
</tr>
<tr>
<td>Run opt out</td>
<td id="optout"></td>
</tr>
<tr>
<td>Opt out test</td>
<td id="optout_test"></td>
</tr>
<tr>
<td>Cosmetics</td>
<td id="cosmetics"></td>
</tr>
<tr>
<td>Suggested</td>
<td id="cosmetics2"></td>
</tr>
</tbody>
</table>
<button class="button" id="run">Run Test</button>
</div>
</section>
</body>