Chitty, which browser are you using?
Try this in your browser.
Tap the 3 vertical dots in the top right hand side of the screen, then tap
Samsung Browser:
Settings > Internet Settings > Advanced > Confirm Downloads (show a confirmation pop up before downloading files)
Chrome:
Settings > Site Settings > Automatic downloads (ask first) ON