hermescenter / monitorapa

Lo sviluppo continua su https://github.com/MonitoraPA/monitorapa/
https://monitora-pa.it
Other
27 stars 21 forks source link

Drafted Point1 and Point2 #1

Closed Shamar closed 2 years ago

Shamar commented 2 years ago

Hi, I'm not on telegram, but here you can find a working draft.

MANUAL.md contains a brief explaination of the scripts, named (without much creativity) point1.py and point2.py.

Maybe it doesn't catch every GA installation (in some cases I've found Google Analytics mentioned in the Privacy Policy of the website, but no trace in the code; I suspect it's somehow disabled serverside at least for unauthenticated users), but I was unable to find a false positive.

In any case, you can improve it easily by modifying the code in google_analytics.js that is executed by the selenium driver (chromium, in current implementation).

You can implement more tests (eg for Google Fonts) by simply implementing the proper js.

The scripts are pretty simple, anyway.