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/6.6.0/firebase-app.js"></script>
9 10 <!-- include only the Firebase features as you need --> 11
11<script defer src="/__/firebase/6.6.0/firebase-auth.js"></script>
11 12
12<script defer src="/__/firebase/6.6.0/firebase-database.js"></script>
12 13
13<script defer src="/__/firebase/6.6.0/firebase-messaging.js"></script>
13 14
14<script defer src="/__/firebase/6.6.0/firebase-storage.js"></script>
14 15 <!-- initialize the SDK after all desired features are loaded --> 16
16<script defer src="/__/firebase/init.js"></script>
16 17 18 <style media="screen"> 19 body { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; } 20 #message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px; border-radius: 3px; } 21 #message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; } 22 #message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;} 23 #message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; } 24 #message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; } 25 #message, #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); } 26 #load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; } 27 @media (max-width: 600px) { 28 body, #message { margin-top: 0; background: white; box-shadow: none; } 29 body { border-top: 16px solid #ffa100; } 30 } 31 </style> 32 </head> 33 <body> 34 <div id="message"> 35 <h2>Welcome</h2> 36 <h1>Firebase Hosting Setup Complete</h1> 37 <p>You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!</p> 38 <a target="_blank" href="https://firebase.google.com/docs/hosting/">Open Hosting Documentation</a> 39 </div> 40 <p id="load">Firebase SDK Loading…</p> 41 42
42<script> 43 document.addEventListener('DOMContentLoaded', function() { 44 // // ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ 45 // // The Firebase SDK is initialized and available here! 46 // 47 // firebase.auth().onAuthStateChanged(user => { }); 48 // firebase.database().ref('/path/to/ref').on('value', snapshot => { }); 49 // firebase.messaging().requestPermission().then(() => { }); 50 // firebase.storage().ref('/path/to/ref').getDownloadURL().then(() => { }); 51 // 52 // // ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ð¥ 53 54 try { 55 let app = firebase.app(); 56 let features = ['auth', 'database', 'messaging', 'storage'].filter(feature => typeof app[feature] === 'function'); 57 document.getElementById('load').innerHTML = `Firebase SDK loaded with ${features.join(', ')}`; 58 } catch (e) { 59 console.error(e); 60 document.getElementById('load').innerHTML = 'Error loading the Firebase SDK, check the console.'; 61 } 62 }); 63 </script>
63 64 </body> 65</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.