Title: window.opener should not be readonly · Issue #577 · microsoft/TypeScript-DOM-lib-generator · GitHub
Open Graph Title: window.opener should not be readonly · Issue #577 · microsoft/TypeScript-DOM-lib-generator
X Title: window.opener should not be readonly · Issue #577 · microsoft/TypeScript-DOM-lib-generator
Description: Reposting microsoft/tslint-microsoft-contrib#293 here: https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/ If you use window.open then you must do this: let newWnd = window.open(); newWnd.opener ...
Open Graph Description: Reposting microsoft/tslint-microsoft-contrib#293 here: https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/ If you use window.open then you must do this: le...
X Description: Reposting microsoft/tslint-microsoft-contrib#293 here: https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/ If you use window.open then you must do this: le...
Opengraph URL: https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/577
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"window.opener should not be readonly","articleBody":"Reposting https://github.com/Microsoft/tslint-microsoft-contrib/issues/293 here:\r\n\r\nhttps://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/\r\n\r\nIf you use window.open then you must do this:\r\n\r\n```typescript\r\nlet newWnd = window.open();\r\nnewWnd.opener = null;\r\n```\r\n\r\nFor example, Monaco has to `any` cast around this:\r\n\r\nhttps://github.com/Microsoft/vscode/blob/d01d178b3b7792d8bc91c03493d5be76b9c4eae8/src/vs/base/browser/dom.ts#L1146\r\n\r\nHowever, `opener` is marked as `readonly`. It should not be.","author":{"url":"https://github.com/JoshuaKGoldberg","@type":"Person","name":"JoshuaKGoldberg"},"datePublished":"2018-10-08T17:05:46Z","url":"https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/577"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:4938e8da-bc73-3deb-c22a-19136017e13d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 876C:3DA1E8:18CF15:2113B3:6B0187A4 |
| html-safe-nonce | c7e1c4f6dd8c1bbb62d5806b686ed1e771032f66b940e27a04090f1f17bea2fd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzZDOjNEQTFFODoxOENGMTU6MjExM0IzOjZCMDE4N0E0IiwidmlzaXRvcl9pZCI6IjgwODg2MTY3Mjk1ODE4MTU3MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7fd9c9acf3876b7f2154fd1a98b098a8581156bcd46dd3681564c6696bddc9b8 |
| hovercard-subject-tag | issue:367878255 |
| 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/microsoft/TypeScript-DOM-lib-generator/577/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e303929d5ced496555213be29836adf16e1dec870e064f686f2b93e3779c359b/microsoft/TypeScript-DOM-lib-generator/issues/577 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e303929d5ced496555213be29836adf16e1dec870e064f686f2b93e3779c359b/microsoft/TypeScript-DOM-lib-generator/issues/577 |
| og:image:alt | Reposting microsoft/tslint-microsoft-contrib#293 here: https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/ If you use window.open then you must do this: le... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JoshuaKGoldberg |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript-DOM-lib-generator git https://github.com/microsoft/TypeScript-DOM-lib-generator.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 43449678 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript-DOM-lib-generator |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 43449678 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript-DOM-lib-generator |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width