mingyaulee / Blazor.BrowserExtension.Samples

Sample projects using Blazor to build browser extensions
MIT License
21 stars 5 forks source link

Extension gets installed but is grayed out on the Extensions menu #2

Closed squideyes closed 1 year ago

squideyes commented 1 year ago

Hi!

I installed your SidebarUsingContentScripts extension following your instructions in your README.md file (for Chrome) but the extension is grayed out. And yes, it is both enabled and I did reload the browser before testing.

Any help in this regard would be greatly appreciated...

mingyaulee commented 1 year ago

Hi there! I don't think I understand what you are referring to, can you provide a screenshot to show the what's grayed out?

squideyes commented 1 year ago

Thanks for the quick reply. As shown below, the "Sidebar with ContextScripts" menu item is grayed out:

Sidebar Extension Grayed Out

mingyaulee commented 1 year ago

This menu item is only available if there is any action registered in the manifest, which will show a popup when clicked. The sidebar example is showing how you can have Blazor injected into a page when using content script. You can see this if you navigate to Google's home page, there is a button that is injected and will show the sidebar when clicked.

squideyes commented 1 year ago

I understand. That worked perfectly. Thanks….

From: mingyaulee @.> Sent: Sunday, January 22, 2023 3:30 AM To: mingyaulee/Blazor.BrowserExtension.Samples @.> Cc: Louis S. Berman @.>; Author @.> Subject: Re: [mingyaulee/Blazor.BrowserExtension.Samples] Extension gets installed but is grayed out on the Extensions menu (Issue #2)

This menu item is only available if there is any action registered in the manifest, which will show a popup when clicked. The sidebar example is showing how you can have Blazor injected into a page when using content script. You can see this if you navigate to Google's home page, there is a button that is injected and will show the sidebar when clicked.

— Reply to this email directly, view it on GitHubhttps://github.com/mingyaulee/Blazor.BrowserExtension.Samples/issues/2#issuecomment-1399429665, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABACOHF37G3MYWR6WVCOFDDWTTVYVANCNFSM6AAAAAAUCQOLZE. You are receiving this because you authored the thread.Message ID: @.**@.>>