Page MenuHomePhabricator

Tool "raun" loads fonts and analytics from google
Closed, ResolvedPublic

Description

https://tools.wmflabs.org/raun/: https://fonts.googleapis.com/css?family=Ubuntu:400,700
https://tools.wmflabs.org/raun/: https://www.google-analytics.com/analytics.js
https://tools.wmflabs.org/raun/: https://fonts.gstatic.com/s/ubuntu/v10/2Q-AW1e_taO6pHwMXcXW5w.ttf
https://tools.wmflabs.org/raun/: https://www.google-analytics.com/r/collect?v=1&_v=j56&a=1112838832&t=pageview&_s=1&dl=https%3A%2F%2Ftools.wmflabs.org%2Fraun%2F&ul=en-us&de=UTF-8&dt=ra%C2%B7un%3A%20id.wikipedia%20(en)&sd=24-bit&sr=1366x768&vp=400x300&je=0&fl=26.0%20r0&_u=IEBAAAABI~&jid=1390628637&gjid=412269336&cid=1325858158.1501431781&tid=UA-49036729-2&_gid=1457670665.1501431781&_r=1&z=397465614
https://tools.wmflabs.org/raun/: https://stats.g.doubleclick.net/r/collect?v=1&aip=1&t=dc&_r=3&tid=UA-49036729-2&cid=1325858158.1501431781&jid=1390628637&_gid=1457670665.1501431781&gjid=412269336&_v=j56&z=397465614

Loading from external providers are discouraged. Please see parent tasks and J65.

In your case a direct replacement for the fonts would be: https://tools-static.wmflabs.org/fontcdn/css?family=Ubuntu:400,700
As for Google Analytics, is it required for the operation of the tool?

Event Timeline

Hi there, yes I will keep in mind to replace font from Font CDN. And I'll remove usage of Google Analytics, but is there any quick solution to track, simply, how many people visited the tool? Thanks for reporting.

uh you can parse access.log or make php write to a file/database.

Yeah, but both solutions provided are not simple changes from my side.

Anyway, I've replaced/removed the related assets/scripts.