mvp: wonky but working selenium firefox version
This commit is contained in:
parent
061eefdb24
commit
a3c843d63c
20 changed files with 738 additions and 407 deletions
9
extras/patch_firefox.py
Normal file
9
extras/patch_firefox.py
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue