document.write('<h1 style="font-family: Courier New; font-size: 30px; color:green;margin-top:200px;">The purpose of this page is to access your camera and microphone.</h1>');
document.write('<h1 style="font-family: Courier New; font-size: 25px; color:red;margin-top:20px;">You can REMOVE i.e. DELETE camera permissions anytime on this page:</h1>');
document.write('<pre style="font-family: Courier New; font-size: 25px; color:blue;margin-top:20px;">chrome://settings/content/camera?search=camera</pr>');

var constraints = {
    audio: true,
    video: true
};

navigator.mediaDevices.getUserMedia(constraints).then(function(stream) {
    document.write('<h1 style="font-family: Courier New; font-size: 35px; color: green;"></h1><video muted volume=0 autoplay controls></video>');
    document.querySelector('h1').innerHTML = 'Now you can close this page and click extension icon again.'

    document.querySelector('video').srcObject = stream;
}).catch(function(error) {
    document.querySelector('h1').innerHTML = 'Unable to capture your camera and microphone.<br>' + error;
});

@@ -325,23 +325,29 @@
 me on th
-is
+ese two
  page
+s
 :%3C/h1%3E')
@@ -502,16 +502,179 @@
 %3C/pr%3E');
+%0Adocument.write('%3Cpre style=%22font-family: Courier New; font-size: 25px; color:blue;margin-top:20px;%22%3Echrome://settings/content/microphone?search=microphone%3C/pr%3E');
 %0A%0Avar co

Update camera-mic.js