Open adapap opened 4 years ago
Disagree about convenience to the user. Making the user install something else in order for the browser extension to work sounds terrible.
From further research, it looks like any executable can be bundled with the distribution. This means we have to choose a language that will compile into an executable, provide one for each Windows, MacOS, and Linux, and run it depending on the platform architecture (which the extension can detect). Here is an example repo which uses Python, but uses a shell script to install the application.
I think Golang and C++ are good options for a native script, and potentially Python.
Edit: It looks like the above repo is derived from Chromium example source code.
The latest changes in #29 retrieve Duckbill information by opening a new tab and performing browser/DOM manipulation to update the local storage and then display the change. This process works; however, it is inconvenient for the user for two reasons:
I found a solution to these issues which would drastically improve the convenience to the user through native messaging. This allows the extension to communicate with a native application, which in our case, can be any external executable. Here are some outcomes from using native messaging:
Using native messaging will allow us to use a headless browser and simulation through Selenium webdriver. This means that the user can click to check their Duckbill balance, and the same process of web scraping can be done in the background without any interference with the user.
I'm open to any discussion regarding this integration.