Prevent Google picker popup from blocking by browser
问题 I have implemented Google Picker in my website using javascript. But Whenever a button to initialize picker is pressed, it gets blocked by browser. I have searched and tried few solutions here like: Adding client.js instead of api.js Setting 'immediate' = false; But they are not working for me. Please help ! 回答1: I have found a solution for this, if the popup is fired from click event then browsers will not block it, so the main idea is to initiate once and afterward trigger the picker