You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -232,14 +232,15 @@ or the mouse is not showing up:
232
232
- Collects and returns the text content (whitespace-trimmed).
233
233
- Visually highlights the region by overlaying a semi-transparent blue box.
234
234
- The highlight box automatically disappears after 2 seconds.
235
-
235
+
-
236
+
**Although, all our core functionality and logic are in python**<br><br>
236
237
***You may have noticed that a significant part of our project is shown as JavaScript. This is because the Python runtime in the browser extension relies on JavaScript to bootstrap and interact with WebAssembly.
237
238
It mainly involves two key files:***
238
239
239
240
- **`pyodide.asm.js`** – Emscripten-generated “glue code” that initializes the WebAssembly (`.wasm`) binary and connects it to the browser’s JavaScript environment.
240
241
- **`pyscript.js`** – JavaScript glue for PyScript. It integrates Pyodide with HTML elements like `<py-script>` and `<py-repl>`, enabling inline Python execution inside web pages or extensions.
241
242
242
-
***Since extensions cannot load executable code directly from the internet (for security reasons), we had to package these files locally instead of relying on CDNs.***
243
+
***Since extensions cannot load executable code directly from the internet (for security reasons), we had to package these files locally instead of relying on CDNs.***<br>
243
244
244
245
## Limitations
245
246
Sometimes the extension could not be used inside sites and restricts script injection, it will throw an error
0 commit comments