Disabling the integrated PDF viewer on my browers and changing for mupdf (with no JS).
Have been researching a bit and this JS blocks seem to be very risky as they can be used to ping some remote asset and get your IP address for example. Also a serious bug was reported regarding this on Firefox 60.