Legoktm added a subscriber: Legoktm. Legoktm added a comment. From `#pywikibot` a few days ago:
[14:02:10] <legoktm> YuviPanda: how good is jupyterhub integration with the browser? pywikibot has a "open in browser" thing which uses webbrowser.open() (I think), does that actually work through jupyterhub? [14:02:20] <YuviPanda> legoktm: no that won't work [14:02:26] <YuviPanda> legoktm: because sandboxing. [14:02:36] <legoktm> ok [14:02:51] <legoktm> is there a way we could monkey patch webbrowser? [14:02:55] <YuviPanda> hmmmm [14:03:03] <YuviPanda> I'm thinking [14:03:12] <YuviPanda> it'll have to deal with security in some way [14:03:20] <YuviPanda> since it'll require executing JS [14:03:27] <legoktm> yeah. [14:03:38] <YuviPanda> legoktm: I think your best bet is to just print the URL and see if it allows clicking URL to open it (which is much easier to do) TASK DETAIL https://phabricator.wikimedia.org/T120632 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Legoktm Cc: Legoktm, Aklapper, StudiesWorld, pywikibot-bugs-list, jayvdb, yuvipanda _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
