23rd Jul, 2008

GM_getValue 同 GM_setValue

如果睇過 d greasemonkey script, 你就會發現 GM_getValue 同 GM_setValue 依兩個 function 係唔知邊度出黎。其實依兩個 function 係自動將你d script 一齊插入去目標頁面入面, 至於d 數值就儲喺 firefox 入面, 要睇返d 數值, 只要係 url 度打 about:config, 然後你就會見一大堆野, 再打 greasemonkey, 你就會見到:
greasemonkey.editor
greasemonkey.enabled
greasemonkey.lastUpdate
greasemonkey.newscript_namespace
greasemonkey.version

等等… 如果成功執行過我古惑仔Online既script, 就會見到:
greasemonkey.scriptvals.hk.orz/auto_mission.reload
或者
greasemonkey.scriptvals.hk.orz/auto bank-in.reload

希望對大家無論 debug、改 script 又或者想搵出用唔到既原因, 有些少幫助。

相關文章

回應

acebook 古惑仔 Online 寫左個自動做任務同存錢機 ,已經夠50 post 幾時出script?

Dennis on 2008-07-23 22:31

今日neo 出o左好多新post , 請search 下.. ^.^

supertvb on 2008-07-23 22:34

有無得改快速加體力呀~

慧慧 on 2008-07-25 12:07

你的回應






Your response: