google picker popup --blocker

  I have implement the Google picker on my page. However, on the Iphone and other device the user need to  disable popup blocker on the browser.  Is there any method to bypass this manual setting

Here my code on the button click
 gapi.client.load('drive', 'v2', null);
            gapi.load('auth', { 'callback': onAuthApiLoad });
            function onAuthApiLoad() {
                    'client_id': data.clientID,
                    'immediate': false,
                    'scope': ['']
                }, handleAuthResult);
 var oauthToken;
            function handleAuthResult(authResult) {
                if (authResult && !authResult.error) {
                    oauthToken = authResult.access_token;
            function createPicker() {
                var picker = new google.picker.PickerBuilder()
                    .addView(new google.picker.DocsView())
function pickerCallback(data) {
            //function pickerCallback(data) {
                if (data.action == google.picker.Action.PICKED) {
                    var doc =[0];
                    var fileId =;
                    var request ={
                        'fileId': fileId
                    request.execute(function (resp) {
                        var token = gapi.auth.getToken();
                        var fileData = {
                            name: resp.title,
                            link: resp.downloadUrl,
                            accessToken: token.access_token,
                            tokenType: token.token_type,
                            mimeType: resp.mimeType

Open in new window

Who is Participating?
leakim971Connect With a Mentor PluritechnicianCommented:
Is there any method to bypass this manual setting

No, of course.
Maybe open in a css popup
SiemensSENAuthor Commented:
I see some sites like career that include drop box and they seems to have some method to work-a-round this issue
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.