Using a Random Mullvad SOCKS5 Proxy for Each Browser Request

Playing around with SOCKS5 Mullvad servers for youtube access, I came across a quite interesting way to have a browser select a new SOCKS5 proxy for each request: Using a Random Mullvad SOCKS5 Proxy for Each Browser Request | K4YT3X

Not sure how useful it is, but given that most advertisements I see are indeed IP/Location-based, I am intrigued to give it a try. I think having a new server for each request may be too much, but if I understand the code correctly, you could adjust that and change it every X request. Would also be great to adjust it per domain.

Also, I don’t have a server to place the PAC file but it seems you can use local PAC files and refer in the Mullvad Browser to it via file:/// .

Any thoughts on this?