Comments (4)
As far as I know, you can use runtime.sendMessage
from popup and listen to messages from the background worker through runtime.onMessage
event.
from blazor.browserextension.
Hi, Thanks for getting back so quickly,
This allows me to pass value from popup to background worker, but I need it to work the other way round, as I am only able to get the activeTab within backgroundworker.js if that makes sense?
Any ideas? I feel this is close!
Thanks
from blazor.browserextension.
Just returned a promise and it worked fine! Thanks @mingyaulee
from blazor.browserextension.
No worries, good to hear you got it!
from blazor.browserextension.
Related Issues (20)
- Is it possible to call blazor code from BacgroundWorker.js? HOT 9
- Is it possible to call .NET code when a specific function is being hooked?
- Cannot load extension with file or directory name _content. Filenames starting with "_" are reserved for use by the system HOT 2
- InjectionResults returning ValueKind instead of Content Script return value HOT 2
- how to establish connection,is there any examples? HOT 1
- Receiving Message from BackgroundWorker HOT 2
- how to interope dom? HOT 1
- how to get current active tab via WebExtensions.Net.Tabs.Tab ? HOT 1
- About inject code in OnInitializedAsync does not work HOT 2
- Unable to reference Javascript files in build HOT 7
- Add support for non-async APIs like chrome.i18n? HOT 1
- .NET 8 Support HOT 2
- Not able to read local file in WASM .NET Core layer HOT 3
- Errors and questions when it is published from visual studio HOT 2
- RCL CSS path is still wrong (due to "_content" folder) HOT 2
- Blazor.BrowserExtension.Template could not be installed, the package does not exist. HOT 2
- Rejection from Chrome Web Store HOT 7
- Use the .Net browser extension Apis in a zero UI plugin HOT 8
- Error in invoke.js HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blazor.browserextension.