if you really want to do this in the browser (and you don’t control any of those websites you visit), you probably need to do this from javascript (running inside the browser), not python, which would have to run e.g. on some server.
if you really want to do this in the browser (and you don’t control any of those websites you visit), you probably need to do this from javascript (running inside the browser), not python, which would have to run e.g. on some server.