help....

128 views
Skip to first unread message

Vito LEPINE [07WL]

unread,
May 14, 2024, 5:00:09 AMMay 14
to Chromium Extensions
i need some body  help, not just any body


anyways, i was wondering  how this is failing and burning up in flames

making a chrome extenstion  where there are 2 buttons that goes to docs and google classroom


manifest.json

{
    "manifest_version": 3,
    "name": "i am trying",
    "description": "Base Level Extension",
    "version": "1.0",
    "action": {
      "default_popup": "untitled-1.hmtl",
      "default_icon": "hello_extensions.png"
    }
  }



//next (not the same file)

untitled-1.html

<!DOCTYPE html>>
    <head>
        <h1> IM TRYING PLEASE  </h1>
        <body>

       
<button> google classroom </button>
 </a>  

       
 <button> google docs </button>
  </a>  




        </body>




//next (not the same file)




untitled-2.css


{
    text-align: center;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: heavy;
}




// please help :(

     



wOxxOm

unread,
May 14, 2024, 6:02:04 AMMay 14
to Chromium Extensions, Vito LEPINE [07WL]
1. Typo: hmtl in manifest.json should be html
2. Add target=_blank to the links e.g. <a href="https://www.classroom.google.com"  target=_blank
3. Use devtools to inspect the popup by right-clicking inside the popup to show the context menu, then click "Inspect"

Reply all
Reply to author
Forward
0 new messages