1.2 KiB
1.2 KiB
Microsoft Edge DevTools 3D View
This is sample code of a very early prototype for the 3D View feature of Microsoft Edge Developer Tools. This code helped as a proof of concept.
You can learn more about the real feature with this explainer, or reading the blog.
Setup
Get the code
- Clone this repo
- Get the latest version of Babylon.js from https://cdn.babylonjs.com/babylon.js. Copy that file and paste into
/browser_extension/src/babylon.js
Install the extension
- Open Edge browser
- Navigate to
edge://extensions
- Enable developer mode
- Click on 'Load unpacked'
- Select the folder
browser_extension
This will load the extension in your browser, you should see an icon appear in the right side of the toolbar. Clicking on it won't display any UI since this is a devtools extension.
To use it
- Navigate to any website you want to inspect.
- Launch the DevTools by pressing
F12
or by right clicking the page and selecting "Inspect". - DevTools will launch with a new tab called "3D View (Prototype)"
- Select the tab and reload the website.