greasemonkey - Change a variable in a javascript function with userscript -
i'm trying ikea kitchen planner work on firefox in linux. os/browser detection function uses bunch of if/else statements determine platform user on, , believe can make work changing value of variable "true" or removing lines set "false".
i've learned lot userscripts , greasemonkey since started , here's i've tried far:
- beforescriptexecute event handler
- hijacking scripts guide (this seemed promising)
- other stuff became irrelevant when learned more js
- changing user agent (which how worked out platform detection clever)
it doesn't work in virtual machine because hardware acceleration doesn't seem work well. when that's turned off works, software 3d implementation slow unusable, hence trying work on linux natively.
for try google "ikea kitchen planner" , follow links (i can't post more).
the function determines whether application or "use different os/browser" page in file called ui_all.js (there numbers in there may possibly vary).
Comments
Post a Comment