piercefreeman / popdown

Isolate and remove marketing and GDPR popups from websites

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

popdown (WIP)

Isolate and remove marketing and GDPR popups from websites

Data Collection

Wait for the page to fully load. If you notice scroll has been hijacked this can usually be dealt with via a javascript override.

npm run crawl

Dataset Storage

For now I'm storing the dataset mainly on my local with backups to S3 through rclone. Once this dataset is large enough and there's a shipping experimentation flow I'll release this into the commons.

rclone sync -i /local/path remote:path

Debugging

If your websites aren't rendering in the recording tool like you see in your other browsers, it might be because of request mismatch. We can debug the outbound requests at the host networking level through any local proxying tool. If you're on a Mac, Proxyman is recommended.

The fetch requests that node issues won't display by default. To address this, export the following environment variables before your debugging session.

export http_proxy=http://127.0.01:9090
export https_proxy=http://127.0.01:9090

//"http-mitm-proxy": "github:joeferner/node-http-mitm-proxy#master",

About

Isolate and remove marketing and GDPR popups from websites


Languages

Language:TypeScript 100.0%