updated another way to install the script for windows user.
please take a look at the script page for more info.
Great thanks to Fanha.
Follow your instruction here:
http://userscripts.org/scripts/show/42934
I got stuck at step 8: when I press "Test" button and nothing happen.
I spent my time to try to use your useful script. And found a way to fix the messing-problem:
a-
Besure close Firefox first, before open the "prefs.js" file. That file should be in somewhere like this:
"C:\Documents and Settings\Administrator\Application Data\Mozilla\Firefox\Profiles\8vedu32s.default"
b- Edit the "prefs.js" file, just paste these code at the end of the file:
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "http://s1.ikariam.vn http://s3.ikariam.vn");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
[*] Notice the RED text, it is your server address! Just open your browser, log into the Ikariam game with your account, and you will see your server address in the address bar. Copy and replace your server address into the RED text in the above code.
c- Save the file "prefs.js" and run Firefox, log in the game, go to "options", and now when you paste the local address and press "Test", it should work well.
If you really want to understand about this mess, here are some stupid-technology explanations about 3 codes that pasted into "prefs.js":
- By default, Firefox browser prevent all the accesses to local files for securities-reasons. If you want to use LocalGFX script, you have to request a permission for specific addresses that use local files.
- So, the first code means "I want to talk about LocalFileLinks policy":
user_pref("capability.policy.policynames", "localfilelinks");
- The second code is the list of trusted addresses that want to have permission: here we have 2 addresses (Red text).
user_pref("capability.policy.localfilelinks.sites", "http://s1.ikariam.vn http://s3.ikariam.vn");
- The last code tells "how to use LocalFileLinks permission", here we want an "AllAccess" permission:
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
Good luck to you, and forgive me about my bad english.
(*) @fanha: did you ever work for Gameloft SaiGon?
This post has been edited 1 times, last edit by "pocollo" (Jun 15th 2009, 5:27pm)