Bodman Posted September 19, 2018 Share Posted September 19, 2018 Hi, I'm having trouble with browsers blocking popups. I know the rule is that it needs to be in response to a user action. Is this a bug with phaser? this.input.on('pointerdown', (pointer, targets) => { window.open('https://fb.gg/play/freeriderjumps', '_blank'); }); Thanks Link to comment Share on other sites More sharing options...
Bodman Posted September 19, 2018 Author Share Posted September 19, 2018 Never mind, I figured it out. this.input.on('pointerdown', (pointer, targets) => { this.input.addUpCallback(()=>{ window.open('https://fb.gg/play/freeriderjumps', '_blank'); },true) }); blackhawx 1 Link to comment Share on other sites More sharing options...
Recommended Posts