• Stars
    star
    212
  • Rank 186,122 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 3 years ago
  • Updated 29 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Web pages and apps used to demo various DevTools, PWA, WebView, Extensions, and Web Platform features of Microsoft Edge

Microsoft Edge Demos

This repository contains demo webpages, apps, and sample code to demonstrate various features of Microsoft Edge. The demo directories are grouped into the following sections below:

This page also covers:

Demos

Click a folder from the list above to find out more about a particular demo, or use the tables below.

Microsoft Edge DevTools

Demo name Description Repo directory Live demo page
CSS mirroring sourcemaps Used for Update .css files from within the Styles tab (CSS mirror editing) for the DevTools extension for Visual Studio Code. /css-mirroring-sourcemaps-demo/ n/a
TODO app Simple To Do app with vanilla JavaScript. Used for screenshots in the Microsoft Edge DevTools documentation, and for Opening DevTools and the DevTools browser for the DevTools extension for Visual Studio Code. /demo-to-do/ My tasks
Detached elements Chat-like demo. Used for Debug DOM memory leaks with the Detached Elements tool. /detached-elements/ Simulate traffic
3D View Used for Navigate webpage layers, z-index, and DOM using the 3D View tool. /devtools-3d/ Microsoft Edge DevTools 3D View tool demo
Accessibility testing Used for Overview of accessibility testing using DevTools. /devtools-a11y-testing/ Animal shelter
Console panel demo pages Used for Console overview, Log messages in the Console tool, and Fix JavaScript errors that are reported in the Console. /devtools-console/ DevTools Console panel demo pages
Contrast bug fix Used for Improving contrast in Microsoft Edge DevTools: A bugfix case study. /devtools-contrast-bugfix/ Testing all badges in DevTools for contrast issues
CSS Examples Used for Get started viewing and changing CSS. /devtools-css-get-started/ CSS Examples
DOM Examples Used for Get started viewing and changing the DOM. /devtools-dom-get-started/ DOM Examples
Inspect tool demo Used for Analyze pages using the Inspect tool. /devtools-inspect/ Inspect Demo
Debugging JavaScript that adds two numbers Used for Get started debugging JavaScript. /devtools-js-get-started/ Demo: Debugging JavaScript with Microsoft Edge DevTools
Memory heap snapshot Used for Record heap snapshots using the Memory tool. /devtools-memory-heap-snapshot/ n/a
Performance Activity Tabs Used for View activities in a table, about the Performance tool's Bottom-Up, Call Tree, and Event Log tabs. /devtools-performance-activitytabs/ Activity Tabs Demo
Sluggish Animation Used for Introduction to the Performance tool. /devtools-performance-get-started/ Sluggish Animation
CSS :target pseudo-class Used for Support forcing the :target CSS state. /devtools-target-pseudo/ CSS :target pseudo-class demo
Heap Snapshot Visualizer Source code for the Heap Snapshot Visualizer extension for DevTools. /heap-snapshot-visualizer/ n/a
JSON dummy data Simple JSON files. Used for View formatted JSON. /json-dummy-data/ JSON dummy data
Inspect Network Activity Used for Inspect network activity. /network-tutorial/ Inspect Network Activity Demo
Photo gallery demo Used for The truth about CSS selector performance. /photo-gallery/ Photo Gallery
Workspaces demo Used for Edit files with Workspaces (Filesystem tab), in the Sources tool. /workspaces/ DevTools Workspaces Demo
DevTools issue: animating a CSS property that requires layout A demo used to illustrate the Issues and Elements tools warning when CSS properties that require layout are animated. /devtools-animated-property-issue/ Animated CSS property demo
Explain Console errors and warnings in Bing Chat in the Microsoft Edge sidebar A demo page that generates errors in the Console that can be explained by the AI-powered Bing Chat in the Microsoft Edge sidebar. /devtools-explain-error/ Explaining console errors demo

Microsoft Edge extensions

Demo name Description Repo directory Live demo page
DevTools extension Used for Create an extension that customizes the DevTools UI. /devtools-extension/ n/a
Basic A basic DevTools extension. /devtools-extension/sample 1/ n/a
Panel A basic DevTools extension with a panel. /devtools-extension/sample 2/ n/a
CDP A basic DevTools extension invoking Chrome Developer Protocol (CDP) APIs. /devtools-extension/sample 3/ n/a
Inspect A basic DevTools extension that interacts with the Inspected page. /devtools-extension/sample 4/ n/a

Progressive Web Apps (PWAs)

Demo name Description Repo directory Live demo page
1DIV A CSS sandbox PWA that demonstrates the Window Controls Overlay feature. /1DIV/ 1DIV
Email client A simulated email client PWA that demonstrates how to use PWA protocol handlers. /email-client/ Email inbox
PWAmp A music player PWA demo to play local audio files. /pwamp/ pwamp
wami An image manipulation demo app to crop, resize, or add effects to images. /wami/ wami
Temperature converter A simple PWA demo app that converts temperatures. Used for Get started with Progressive Web Apps. /pwa-getting-started/ Temperature converter

Cross-browser API samples

Demo name Description Repo directory Live demo page
CSS Custom Highlight API How to programmatically create and remove custom highlights on a web page. /custom-highlight-api/ Custom Highlight API
EyeDropper API How to use the EyeDropper API to create a color sampling tool from JavaScript. /eyedropper/ EyeDropper API demos
Reader app An article reader app used to demonstrate how to use various web APIs such as CSS Custom Highlight, <selectlist>, EyeDropper, CSS and JSON modules, Scroll animation timeline, and Async Clipboard. /reader/ Reader
Selectlist demos Demo page showing how the Open UI's <selectlist> element can be used. /selectlist/ Open UI's <selectlist> demos

Adding a new demo

To add a new demo:

  1. Make a copy of the template directory at the root of this repository and give it a name, such as my-demo.

  2. Edit the README.md file in the new directory to clearly explain what your new demo is about.

  3. In the README file, include a GitHub.io link that points to the live demo.

    This repository is set up to be deployed live using GitHub Pages (GitHub.io), so a rendered index.html file in the my-demo directory (for example) will end up being accessible on the web at https://microsoftedge.github.io/demos/my-demo/.

  4. Edit the code (such as index.html or style.css) in the new directory. Add any files you need.

  5. Use the shared CSS, JS, and images from the shared directory.

    The template demo already links to the shared CSS, JS, and images. This avoids having to repeat basic styling and typography CSS code, or having to create your own images.

  6. Add a link to your demo in this README.md file, in a new row in one of the tables.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

More Repositories

1

MSEdge

Microsoft Edge
2,828
star
2

MSEdgeExplainers

Home for explainer documents originated by the Microsoft Edge team
HTML
1,308
star
3

magic-mirror-demo

A ⚡Magic Mirror⚡ powered by a UWP Hosted Web App 🚀
JavaScript
1,231
star
4

static-code-scan

Run this quick static code scan on any URL to check for out-of-date libraries, layout issues and accessibility.
JavaScript
1,047
star
5

WebView2Samples

Microsoft Edge WebView2 samples
C++
868
star
6

JSBrowser

🌲 A web browser built with JavaScript as a Windows app
JavaScript
795
star
7

WebGL

Microsoft Edge WebGL Implementation
C++
714
star
8

Status

This repository tracks the roadmap for the Microsoft Edge web platform. This data is used on https://status.microsoftedge.com/ to provide implementation status and forward-looking plans for web standards in Edge and other browsers.
JavaScript
534
star
9

WebView2Feedback

Feedback and discussions about Microsoft Edge WebView2
449
star
10

Demos-old

Open source and interoperable demos for Microsoft Edge Dev site
JavaScript
438
star
11

WebView2Browser

A web browser built with the Microsoft Edge WebView2 control.
JavaScript
410
star
12

MicrosoftEdge-Documentation

Microsoft Edge documentation
239
star
13

JsDbg

Debugging extensions for Microsoft Edge and other Chromium-based browsers
JavaScript
177
star
14

DevTools

Feedback and discussions about Microsoft Edge Developer Tools
HTML
154
star
15

Sudoku

In this demo we take the well-known game of Sudoku, and demonstrate how developers can use HTML5 and JavaScript to create an efficient algorithm to solve these puzzles. The algorithms draw heavily on the Chakra engine’s support for ECMAScript 5 standard array operations to rapidly solve many Sudoku games. You can also manually solve Sudoku puzzles.
HTML
149
star
16

MicrosoftEdge-Extensions-Demos

JavaScript
134
star
17

pushnotifications-demo

Demo for cross browsers push notifications with server side code
JavaScript
119
star
18

WebView2Announcements

Subscribe to this repo to be notified of Announcements and changes in Microsoft WebView2 controls.
111
star
19

generator-appx

Yeoman generator for building websites and Windows 10 Apps
JavaScript
90
star
20

webauthnsample

JavaScript
85
star
21

dev.microsoftedge.com-vms

Scripts used to generate the free VMs available at https://dev.microsoftedge.com
PowerShell
81
star
22

edge-launcher

A simple command line exe to launch Microsoft Edge at a URL.
C++
78
star
23

BrowserEfficiencyTest

BrowserEfficiencyTest is a Selenium WebDriver based web browser test automation project.
C#
65
star
24

css-usage

This script is used within our Bing and Interop crawlers to determine the properties used on a page and generalized values that could have been used.
JavaScript
65
star
25

EdgeWebDriver

Feedback and discussions about WebDriver for Microsoft Edge
57
star
26

enterprise-mode-site-list-portal

C#
52
star
27

Gamepad-Sample

A basic sample on how to use the W3C GamePad API across browsers.
JavaScript
52
star
28

pushnotifications-demo-aspnetcore

Demo for cross-browser push notifications with ASP.NET Core server side code
C#
46
star
29

A11y

Automated testing for HTML5Accessibility.com
C#
39
star
30

hwa-cli

Command-Line Interface for converting Windows Hosted Web Apps locally and remotely
TypeScript
31
star
31

webauthn-polyfill

Polyfill that maps the Web Authentication API on top of Edge preliminary implementation.
JavaScript
30
star
32

WebAppsDocs

Windows 10 web apps and frameworks documentation
HTML
30
star
33

Elevator

Elevator is a utility that allows other programs to collect traces through Windows Performance Recorder.
C#
28
star
34

DevToolsSamples

A collection of samples from Edge Developer Tools
JavaScript
22
star
35

webpayments

Polyfill to map Apple Pay APIs to the latest spec for Web Payments.
22
star
36

APICatalogData

This project contains the data for https://aka.ms/apicatalog, a tool to visualize and analyze the API overlap between standards specifications and support across browsers.
15
star
37

edgevr

Edge
HTML
15
star
38

appx-starter

JavaScript
15
star
39

fps-emitter

Measure the FPS of a page and emit it whenever it updates. Designed for the browser.
JavaScript
15
star
40

videotest

Video streaming battery rundown test methodology
CSS
14
star
41

pan-tool

A tool that injects touch input on the screen. It sends pointerdown, pointerupdate and pointerup to simulate pan, scrolling and fling gestures.
C++
14
star
42

wptest

JavaScript
14
star
43

serviceworker-demo

Service Worker demos
JavaScript
13
star
44

hwa-starter

Everything you need to get started building a Windows Universal Hosted Web App.
HTML
13
star
45

WebOnPi

Home application that comes pre-loaded on the #WebOnPi project
C++
13
star
46

hwa-server

Server for deploying HWAs in conjunction with the HWA-CLI tool.
TypeScript
12
star
47

hwa

PowerShell
12
star
48

edge-launch

Launcher for Microsoft Edge
JavaScript
12
star
49

CloudAppX

Cloudy with a chance of AppX
JavaScript
11
star
50

noin

Takes inline scripts and puts them into separate files
JavaScript
11
star
51

DevToolsDeviceList

Repo that contains the list of devices displayed in the emulation tool of the developer tools in Edge.
10
star
52

MicrosoftWebDriver-chocolatey

Microsoft WebDriver chocolatey package so installation is easier
PowerShell
9
star
53

SurfacePresenter

ISurfacePresenter API with D3D9 and D3D10/11, and contrasts with GDI
C++
8
star
54

css-usage-for-crawlers

This is where we will store our crawler specific code.
JavaScript
8
star
55

Sprache

A NuGet package for managing and using the Accept-Language header in C#
C#
7
star
56

generator-lasagnajs

Generator for the LasagnaJS architecture
JavaScript
6
star
57

A11yDevTool

This repo contains a mapping of UIA properties to ARIA properties that is used by the F12 developer tools in Edge.
6
star
58

CloudAppX-cli

JavaScript
6
star
59

timing-allow-origin-test

Demo of Timing-Allow-Origin with multiple origins
JavaScript
5
star
60

microsoftedge.github.io

4
star
61

edge-devtools-crash-analyzer-support

Enables un-minification of call stacks in the Microsoft Edge DevTools Crash Analyzer tool
TypeScript
4
star
62

.github

Default Community Health Files for the Microsoft Edge organization on GitHub
3
star
63

action-issue-to-workitem

GitHub Action that creates a Azure DevOps work item when an Issue is created
JavaScript
2
star
64

TopDeveloperNeeds

Web platform top developer needs dashboard
JavaScript
1
star