1
0
Fork 0

mvp: wonky but working selenium firefox version

This commit is contained in:
Arthur K. 2026-03-07 20:18:02 +03:00
parent 061eefdb24
commit a3c843d63c
Signed by: wzray
GPG key ID: B97F30FDC4636357
20 changed files with 738 additions and 407 deletions

9
extras/patch_firefox.py Normal file
View file

@ -0,0 +1,9 @@
with open("/usr/lib/firefox-esr/libxul.so", "rb") as f:
data = bytearray(f.read())
patch = bytes([0x31, 0xC0, 0xC3])
offset = 0x443CAD0
data[offset : offset + len(patch)] = patch
with open("/usr/lib/firefox-esr/libxul.so", "wb") as f:
f.write(data)