Which QR code app are you using?
Turns out that the app's "More" menu contains a upgrade option that will remove the ads for $0.99. Problem solved.
(I'll eventually have to change my BlackBerry won't I?)
Mine (RL Classic) asked me if I wanted to open the webpage and launched Safari.