7 Commits

Author SHA1 Message Date
Justin Chen
e3734c0794
ui element selection (#246643)
* ui element selection window hack

* add background

* target simple browser

* revert to non-simple browser attempt

* some saucy stuff

* saucy cleanup

* some additions:

* add better button, better listening, even saucier

* move to css and also make sure not to block elements during screenshot

* it's even saucier now

* remove browser id lookup

* fix merge conflicts and clean up

* make timeout 3 seconds

* some cleanup

* remove computed css

* use built in button instead

* address many comments :)
2025-04-25 11:19:54 -07:00
Matt Bierner
62d631a165
Add serializer for simple browser
Fixes #119057
2021-10-07 16:49:33 -07:00
Matt Bierner
b8f11107f7
Use @types/vscode-webview 2021-05-27 13:41:38 -07:00
Matt Bierner
043a0ee0d9 Try cache busting on reload in simple browser
Fixes #118389
2021-03-17 17:24:48 -07:00
Matt Bierner
87a3effc79 Try to disable caching in the simple browser's iframes 2021-02-08 21:31:04 -08:00
Matt Bierner
2fed7ba374 Adding settings to control which schemes simple browser is enabled for
Also adds a setting to enable/disable the focus lock indicator
2021-01-06 12:17:36 -08:00
Matt Bierner
3ed300eb9d
Add simple browser extension (#109276)
* Add support for TS's Hierarchical refactorings API

https://github.com/microsoft/TypeScript/pull/41975

* Add simple browser extension

This change adds a new 'simple browser' extension. This extension uses a webview to render webpages directly in VS Code. We plan on using it for optionally previewing local servers in both desktop and codespaces

The browser itself has a number of limitations due to the security around iframes:

- It traps keyboard focus
- We can't detect if a page fails to load
- We can't track the current url of the iframe

* Add experimental alert when the iframe is focused

* Disable events on focus warning

* Hooking up simple browser to opener
2021-01-04 19:06:53 -08:00