Nativefier: Google Books is broken due to being unable to set cookies for books.googleusercontent.com

Created on 17 Nov 2016  路  7Comments  路  Source: jiahaog/nativefier

Description

To read books on Google Play, set your web browser to allow cookies for books.googleusercontent.com.

How to do that?

bug

Most helpful comment

I saw that this was still open and thought I'd comment in case it was still unsolved. In addition to books.googleusercontent.com, play books requires cookies from [.*]googleusercontent.com and [.*]gstatic.com

All 7 comments

Hi @rahulakrishna, thanks for the feedback! Using the latest nativefier/electron, I just tried nativefying Play Books and was able to upload and open an EPUB.

Give a try to nativefier --electron-version 1.6.6 --name "playbooks" "https://play.google.com/books". Closing for now, please do chime in if this is still broken for you!

The URL I was trying to nativefy was https://books.google.com/ebooks/app. It works perfectly on the first run. The second time I open the app and then a book. It shows the error message.

You get offline functionality if you access books in this URL.

The URL I was trying to nativefy was https://books.google.com/ebooks/app. It works perfectly on the first run. The second time I open the app and then a book. It shows the error message.

@rahulakrishna thanks for the precisions 馃憤, bug confirmed. Note: for me I got the message at the third run of the nativefied app, the second run was functional.

I saw that this was still open and thought I'd comment in case it was still unsolved. In addition to books.googleusercontent.com, play books requires cookies from [.*]googleusercontent.com and [.*]gstatic.com

I saw that this was still open and thought I'd comment in case it was still unsolved. In addition to books.googleusercontent.com, play books requires cookies from [.*]googleusercontent.com and [.*]gstatic.com

It works for me but the https://books.google.com/ebooks/app still in have a blank web page so I open my book vie https://books.google.com/books?uid=sencorted&source=gbs_lp_bookshelf_list

I'm reproducing this, or something similar, when trying to nativefy Slack. I'm able to nativefy other apps, including google apps like Google Calendar.

The slack instance I'm using using corporate SAML for login backed by Google as identify provider.

Here's the nativefy command I'm running:

nativefier --name Slack --internal-urls '.*?' https://MYSLACK.slack.com/ /target/

Interestingly, I'm able to open the developer tools console and watch the cookie setting change. On the slack login page navigator.cookieEnabled is true, but after I try to login it is false, even if I return to the slack login page or other pages.

I imagine this is somehow related to the multiple hops involved with auth, but it seems like cookies are being disabled somehow in that workflow.

Was this page helpful?
0 / 5 - 0 ratings