This sample shows how to authorize Firebase in a Chrome extension using a Google account.
Firebase Auth in Chrome Extension
Improve your skills on your own, effectively and enjoyably, by watching videos in the language you study.
After installation, you will have additional features for language learning when you watch videos on YouTube.
• Subtitles are shown in two languages, allowing you to compare the original audio and text with a translation in your language.
• The extension allows you to listen to subtitles one at a time, and to change the playback speed.
• There's a pop-up dictionary, and the extension suggest the most important words for you to learn.
Our extension runs on Google Chrome on desktop and laptop computers running Windows and MacOS.
Read more
After installation, you will have additional features for language learning when you watch videos on YouTube.
• Subtitles are shown in two languages, allowing you to compare the original audio and text with a translation in your language.
• The extension allows you to listen to subtitles one at a time, and to change the playback speed.
• There's a pop-up dictionary, and the extension suggest the most important words for you to learn.
Our extension runs on Google Chrome on desktop and laptop computers running Windows and MacOS.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "short_name": "Firebase Auth in Chrome", "name": "Firebase Auth in Chrome", "version": "1.2", "manifest_version": 2, "description": "This sample shows how to authorize Firebase in a Chrome extension using a Google account.", "page_action": { "default_title": "QuickSeek React" }, "oauth2": { "client_id": "1004374848128-s10kj8et61ermm705j8glm1j5vf31g0n.apps.googleusercontent.com", "scopes": [ "https://www.googleapis.com/auth/drive" ] }, "icons": { "128": "rand_t.png", "48": "rand_t.png", "16": "rand_t.png" }, "background": { "scripts": [ "app/background.js" ] }, "content_scripts": [ { "matches": [ "*://www.youtube.com/*" ], "css": [ "/css/root.css" ], "js": [ "/static/js/content.js" ] } ], "web_accessible_resources": [ "/static/css/content.css", "/static/media/*", "oauth2/oauth2.html" ], "content_security_policy": "script-src 'self' 'sha256-GgRxrVOKNdB4LrRsVPDSbzvfdV4UqglmviH9GoBJ5jk='; https://www.gstatic.com/ https://*.firebaseio.com https://www.googleapis.com; object-src 'self' https://apis.google.com", "permissions": [ "tabs", "*://www.youtube.com/*", "identity" ]}
Read more