quote:
Originally posted by Hobbes
quote:
Originally posted by Ddunk
quote:
Originally posted by Odium696
I instaled it, and it truly makes it faster....
Anyone knows what this patch do?
What it changes that makes the browser go faster?
quote:
Originally posted by may73alliance
OMG IN THAT OTHER THREAD:
IT REALLY WORKS!!! type about:config in the address bar and change them things to as it is shown. im really quite surprised at how much faster it is
THANKS!!
It just does what's in that screenshot
No it doesnt. Last time i patched it i typed about:config and nothing happended to the about:config
Maybe because you have no idea what you're talking about?
The patch is coded in Microsoft Visual Basic 6.0.
After disassembling, you can see here it concatenates "defaults\\profile\\user.js" onto the Firefox dir:
code:
00409C79 . 68 3C904000 PUSH Firefox_.0040903C ; UNICODE "defaults\\profile\\user.js"
00409C7E . FF15 30104000 CALL DWORD PTR DS:[<&MSVBVM60.__vbaStrCa>; MSVBVM60.__vbaStrCat
Interesting string reference:
code:
Text strings referenced in Firefox_:.text, item 513
Address=0040A113
Disassembly=MOV DWORD PTR SS:[EBP-64],Firefox_.00409398
Text string=UNICODE "C:\\Program Files\\Mozilla Firefox\\defaults\\profile\\user.js"
Anyway, all the patch does is create the file:
C:\Program Files\Mozilla Firefox\defaults\profile\user.js
Shall we take a guess at what it writes to the file?
From the disassembly we can see
code:
00407785 . 2F 2F 20 45 6E>ASCII "// Enable pipeli"
00407795 . 6E 69 6E 67 3A>ASCII "ning:
user_pref"
004077A5 . 28 22 6E 65 74>ASCII "("network.http.p"
004077B5 . 69 70 65 6C 69>ASCII "ipelining", true"
004077C5 . 29 3B 0D 0A 75>ASCII ");
user_pref("n"
004077D5 . 65 74 77 6F 72>ASCII "etwork.http.prox"
004077E5 . 79 2E 70 69 70>ASCII "y.pipe lining", "
004077F5 . 74 72 75 65 29>ASCII "true);
user_pre"
00407805 . 66 28 22 6E 65>ASCII "f("network.http."
00407815 . 70 69 70 65 6C>ASCII "pipelining.maxre"
00407825 . 71 75 65 73 74>ASCII "quests", 100)
",0
Which is
// Enable pipelining:
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipe lining", true);
user_pref("network.http.pipelining.maxrequests", 100)
* segosa coughs
If the file already exists, then it assumes that it's already patched and allows you to unpatch, which simply deletes the file. We can see this here:
Correction. When the patch patches, it creates an empty directory at
C:\Program Files\Mozilla Firefox\
named "i386".
If this exists when the patch's exe is run, it knows firefox has been previously patched, and will allow you to unpatch, deleting the user.js file and i386 directory.
You can see this here:
code:
0040A0E7 . 68 BC904000 PUSH Firefox_.004090BC ; UNICODE "C:\\Program Files\\Mozilla Firefox\\i386"
[...]
0040A113 . C745 9C 989340>MOV DWORD PTR SS:[EBP-64],Firefox_.00409>; UNICODE "C:\\Program Files\\Mozilla Firefox\\defaults\\profile\\user.js"
0040A11A . C745 94 080000>MOV DWORD PTR SS:[EBP-6C],8
0040A121 . FFD6 CALL ESI ; <&MSVBVM60.__vbaVarDup>
0040A123 . 8D55 D4 LEA EDX,DWORD PTR SS:[EBP-2C]
0040A126 . 52 PUSH EDX
0040A127 . FF15 78104000 CALL DWORD PTR DS:[<&MSVBVM60.#529>] ; MSVBVM60.rtcKillFiles
[...]
0040A14E . C745 9C 549540>MOV DWORD PTR SS:[EBP-64],Firefox_.00409>; UNICODE "Tweak Removed. Thankyou for trying out the patch."
EDIT: Also, applying these tweaks makes your browser non-rfc compliant and may get you banned from some servers which monitor the amount of connections a single IP makes.