Title: "This action is restricted" Internet Explorer dialog when opening browser in Windows with no default browser · Issue #102520 · python/cpython · GitHub
Open Graph Title: "This action is restricted" Internet Explorer dialog when opening browser in Windows with no default browser · Issue #102520 · python/cpython
X Title: "This action is restricted" Internet Explorer dialog when opening browser in Windows with no default browser · Issue #102520 · python/cpython
Description: Moved from jupyterlab/jupyterlab#14142, per this comment that suggests that the fault is in this file in CPython. Description On a Windows 10 computer with Firefox set as the default browser, running jupyter lab causes a dialog box to ap...
Open Graph Description: Moved from jupyterlab/jupyterlab#14142, per this comment that suggests that the fault is in this file in CPython. Description On a Windows 10 computer with Firefox set as the default browser, runni...
X Description: Moved from jupyterlab/jupyterlab#14142, per this comment that suggests that the fault is in this file in CPython. Description On a Windows 10 computer with Firefox set as the default browser, runni...
Opengraph URL: https://github.com/python/cpython/issues/102520
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"This action is restricted\" Internet Explorer dialog when opening browser in Windows with no default browser","articleBody":"Moved from https://github.com/jupyterlab/jupyterlab/issues/14142, per [this comment](https://github.com/jupyterlab/jupyterlab/issues/14142#issuecomment-1458872683) that suggests that the fault is in [this file](https://github.com/python/cpython/blob/54060ae91da2df44b3f6e6c698694d40284687e9/Lib/webbrowser.py#L550) in CPython.\r\n\r\n## Description\r\n\r\nOn a Windows 10 computer with Firefox set as the default browser, running `jupyter lab` causes a dialog box to appear: \"Internet Explorer / This action is restricted. For more information, please contact your system administrator.\"\r\n\r\n\r\n\r\nAfter I dismiss the dialog, Microsoft Edge pops up with the JupyterLab URL specified in the terminal.\r\n\r\nOn this Windows machine, there is no default browser set.\r\n\r\n\r\n\r\n## Reproduce\r\n\r\n\u003c!--Describe step-by-step instructions to reproduce the behavior--\u003e\r\n\r\n1. Set up a new Windows 10 machine with no default browser.\r\n2. Install JupyterLab via Conda (`conda install jupyterlab`).\r\n3. Run JupyterLab from the terminal (`jupyter lab`)\r\n4. See behavior shown above.\r\n\r\n\u003c!--Describe how you diagnosed the issue. See the guidelines at\r\n https://jupyterlab.readthedocs.io/en/latest/getting_started/issue.html --\u003e\r\n\r\n## Expected behavior\r\n\r\nIf no default browser is selected, the `jupyter` executable does not attempt to launch any browser, but instead displays the URL to load with no further action. This would be similar behavior to when the user runs `jupyter lab` with the `--no-browser` parameter.\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-103212\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/JasonWeill","@type":"Person","name":"JasonWeill"},"datePublished":"2023-03-08T01:15:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/102520/cpython/issues/102520"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e07e9886-f1f1-f53f-1bc0-be60d727e872 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C986:327857:2684274:3477528:696ACA67 |
| html-safe-nonce | 3a886375c64a21c4865193d3df84b05db44f62b006883eb17271eb304bd78b4e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTg2OjMyNzg1NzoyNjg0Mjc0OjM0Nzc1Mjg6Njk2QUNBNjciLCJ2aXNpdG9yX2lkIjoiNzExMzI1NjU0MzEyODgzMjYxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d7f7096b8a1c0dfdb5fc605facaf67439fd2451da431233f208dbbaba32eb7ee |
| hovercard-subject-tag | issue:1614468139 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/102520/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f835b5db4ace1a729b16ce614aa3f3e20a368e1269886b57dd1addf3865c4002/python/cpython/issues/102520 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f835b5db4ace1a729b16ce614aa3f3e20a368e1269886b57dd1addf3865c4002/python/cpython/issues/102520 |
| og:image:alt | Moved from jupyterlab/jupyterlab#14142, per this comment that suggests that the fault is in this file in CPython. Description On a Windows 10 computer with Firefox set as the default browser, runni... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JasonWeill |
| hostname | github.com |
| expected-hostname | github.com |
| None | c785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c718a376fcf780eb22089171adb84a543f660bf7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width