This WebRTC screen capturing extension can be used within any WebRTC library/application! Use getScreenId.js!
Experiment Screen Capturing Extension
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name" : "Experiment Screen Capturing", "author": "Setup", "version" : "3.7", "manifest_version" : 2, "minimum_chrome_version": "34", "description" : "This WebRTC screen capturing extension can be used within any WebRTC library/application! Use getScreenId.js!", "homepage_url": "https://experiment.school", "background": { "scripts": ["background-script.js"], "persistent": false }, "content_scripts": [ { "js": [ "content-script.js" ], "all_frames": true, "run_at": "document_end", "matches": ["https://experiment.net.au/*", "*://experiment.school/*", "*://au.experiment.school/*", "*://127.0.0.1/*", "*://localhost/*", "*://192.168.1.35/*", "*://192.168.1.42/*"] }], "icons" : { "48" : "icon.png" }, "permissions": [ "desktopCapture" ], "web_accessible_resources": [ "icon.png" ]}
Read more