1<!DOCTYPE html> 2<html> 3 <head> 4 <meta charset="utf-8"> 5 <meta name="viewport" content="width=device-width, initial-scale=1"> 6 <title>Welcome to Firebase Hosting</title> 7 8 <!-- update the version number as needed --> 9
9<script defer src="/__/firebase/7.24.0/firebase-app.js"></script>
9 10 <!-- include only the Firebase features as you need --> 11
11<script defer src="/__/firebase/7.24.0/firebase-auth.js"></script>
11 12
12<script defer src="/__/firebase/7.24.0/firebase-database.js"></script>
12 13
13<script defer src="/__/firebase/7.24.0/firebase-messaging.js"></script>
13 14
14<script defer src="/__/firebase/7.24.0/firebase-storage.js"></script>
14 15
15<script defer src="/__/firebase/7.24.0/firebase-analytics.js"></script>
15 16
16<script defer src="/__/firebase/7.24.0/firebase-remote-config.js"></script>
16 17
17<script defer src="/__/firebase/7.24.0/firebase-performance.js"></script>
17 18 <!-- initialize the SDK after all desired features are loaded --> 19
19<script defer src="/__/firebase/init.js"></script>
19 20 21 <style media="screen"> 22 body { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; } 23 #message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px; border-radius: 3px; } 24 #message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; } 25 #message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;} 26 #message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; } 27 #message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; } 28 #message, #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); } 29 #load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; } 30 @media (max-width: 600px) { 31 body, #message { margin-top: 0; background: white; box-shadow: none; } 32 body { border-top: 16px solid #ffa100; } 33 } 34 </style> 35 </head> 36 <body> 37 <div id="message"> 38 <h2>Welcome</h2> 39 <h1>Firebase Hosting Setup Complete</h1> 40 <p>You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!</p> 41 <a target="_blank" href="https://firebase.google.com/docs/hosting/">Open Hosting Documentation</a> 42 </div> 43 <p id="load">Firebase SDK Loading…</p> 44 45
45<script> 46 document.addEventListener('DOMContentLoaded', function() { 47 const loadEl = document.querySelector('#load'); 48 // // ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ 49 // // The Firebase SDK is initialized and available here! 50 // 51 // firebase.auth().onAuthStateChanged(user => { }); 52 // firebase.database().ref('/path/to/ref').on('value', snapshot => { }); 53 // firebase.messaging().requestPermission().then(() => { }); 54 // firebase.storage().ref('/path/to/ref').getDownloadURL().then(() => { }); 55 // firebase.analytics(); // call to activate 56 // firebase.analytics().logEvent('tutorial_completed'); 57 // firebase.performance(); // call to activate 58 // 59 // // ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ 60 61 try { 62 let app = firebase.app(); 63 let features = [ 64 'auth', 65 'database', 66 'messaging', 67 'storage', 68 'analytics', 69 'remoteConfig', 70 'performance', 71 ].filter(feature => typeof app[feature] === 'function'); 72 loadEl.textContent = `Firebase SDK loaded with ${features.join(', ')}`; 73 } catch (e) { 74 console.error(e); 75 loadEl.textContent = 'Error loading the Firebase SDK, check the console.'; 76 } 77 }); 78 </script>
78 79 </body> 80</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.