mirror of
https://github.com/Hopiu/bowser.git
synced 2026-03-25 23:20:23 +00:00
12 lines
297 B
Python
12 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
|