mirror of
https://github.com/Hopiu/bowser.git
synced 2026-03-17 03:20:24 +00:00
11 lines
297 B
Python
11 lines
297 B
Python
"""JavaScript context integration (stub)."""
|
|
|
|
|
|
class JSContext:
|
|
def __init__(self, tab, url_origin: str):
|
|
self.tab = tab
|
|
self.url_origin = url_origin
|
|
|
|
def run(self, script: str, code: str, window_id=0):
|
|
# Placeholder: wire to QuickJS/NG binding
|
|
return None
|