Advertisement
Allstar3k-Fan

Wow

Dec 15th, 2020
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. <!doctype html>
  3. <html dir="ltr" lang="en">
  4.   <head>
  5.     <meta charset="utf-8">
  6.     <title>New Tab</title>
  7.     <style>
  8.       body {
  9.         background: #FFFFFF;
  10.         margin: 0;
  11.       }
  12.  
  13.       #oneGoogleBar {
  14.         height: 56px;
  15.       }
  16.  
  17.       #backgroundImage {
  18.         border: none;
  19.         height: 100%;
  20.         pointer-events: none;
  21.         position: fixed;
  22.         top: 0;
  23.         visibility: hidden;
  24.         width: 100%;
  25.       }
  26.  
  27.       [show-background-image] #backgroundImage {
  28.         visibility: visible;
  29.       }
  30.     </style>
  31.   </head>
  32.   <body>
  33.     <div id="oneGoogleBar"></div>
  34.     <iframe id="backgroundImage"
  35.         src="chrome-untrusted://new-tab-page/custom_background_image?url=chrome-search%3A%2F%2Flocal-ntp%2Fbackground.jpg%3Fts%3D1608066776">
  36.     </iframe>
  37.     <ntp-app></ntp-app>
  38.     <script type="module" src="new_tab_page.js"></script>
  39.     <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
  40.     <link rel="stylesheet" href="shared_vars.css">
  41.     <div id="oneGoogleBarEndOfBody"></div>
  42.   </body>
  43. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement