diff options
Diffstat (limited to 'not_cloudflare/whyrejectme')
-rw-r--r-- | not_cloudflare/whyrejectme/log.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/not_cloudflare/whyrejectme/log.js b/not_cloudflare/whyrejectme/log.js deleted file mode 100644 index 8ea37c78..00000000 --- a/not_cloudflare/whyrejectme/log.js +++ /dev/null @@ -1,22 +0,0 @@ -function newrow(w) { - let tt = document.getElementsByTagName('tbody')[0]; - let tr = tt.insertRow(tt.rows.length); - tr.innerHTML = w; -} - -newrow('<tr><td><b>FQDN</b></td><td><b>Server</b></td><td><b>Where</b></td><td><b>When</b></td></tr>'); - -browser.runtime.sendMessage('get').then(g => { - for (let k in g) { - newrow('<tr><td>' + k + '</td><td>' + g[k][1] + '</td><td><a href="' + g[k][0] + '" target="_blank">Link</a></td><td>' + g[k][2] + '</td></tr>'); - document.getElementById('export').innerHTML += k + "\n"; - } -}); - -document.body.style.display = 'block'; - -document.getElementById('clear').addEventListener('click', () => { - browser.runtime.sendMessage('clear').then(() => { - location.reload(true); - }); -});
\ No newline at end of file |