Fix browser warnings on PDF plugin detection (#1489118)