Permalink
Browse files

Last Key Fixes

Fixed the last key so that pages such as events, profile, mail and
trade post work
  • Loading branch information...
1 parent 06783d3 commit 4c68b83c8407af03b6e6f62d7b305eea5e90fbde @Bnolin Bnolin committed May 2, 2012
Showing with 10 additions and 6 deletions.
  1. +6 −2 saf.safariextension/Info.plist
  2. +4 −4 saf.safariextension/javascript/Main.js
@@ -2,10 +2,12 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
+ <key>Author</key>
+ <string>Team 404</string>
<key>Builder Version</key>
- <string>7534.55.3</string>
+ <string>7534.53.10</string>
<key>CFBundleDisplayName</key>
- <string>nova-initia-test</string>
+ <string>Nova Initia</string>
<key>CFBundleIdentifier</key>
<string>com.nova-initia</string>
<key>CFBundleInfoDictionaryVersion</key>
@@ -33,6 +35,8 @@
<key>Scripts</key>
<dict/>
</dict>
+ <key>Description</key>
+ <string>The Nova Initia Safari Extension</string>
<key>ExtensionInfoDictionaryVersion</key>
<string>1.0</string>
<key>Permissions</key>
@@ -75,19 +75,19 @@ function niClientApp_getURL() {
function niClientApp_loadURL(wndId) {
switch (wndId.id) {
case "nova_initia_tool_events":
- safari.application.activeBrowserWindow.openTab().url = "http://www.nova-initia.com/remog/events/";
+ safari.application.activeBrowserWindow.openTab().url = "http://www.nova-initia.com/remog/events?LASTKEY="+NovaInitia.Toolbar.getKey();
break;
case "nova_initia_tool_resgister":
safari.application.activeBrowserWindow.openTab().url = "http://www.nova-initia.com/register.php";
break;
case "nova_initia_tool_mail":
- safari.application.activeBrowserWindow.openTab().url = "http://www.nova-initia.com/remog/mail";
+ safari.application.activeBrowserWindow.openTab().url = "http://www.nova-initia.com/remog/mail?LASTKEY="+NovaInitia.Toolbar.getKey();
break;
case "nova_initia_tool_profile":
- safari.application.activeBrowserWindow.openTab().url = "http://www.nova-initia.com/remog/user/"+_username;
+ safari.application.activeBrowserWindow.openTab().url = "http://www.nova-initia.com/remog/user/"+_username+"?LASTKEY="+NovaInitia.Toolbar.getKey();
break;
case "nova_initia_tool_sg":
- safari.application.activeBrowserWindow.openTab().url = "http://www.nova-initia.com/remog/trade";
+ safari.application.activeBrowserWindow.openTab().url = "http://www.nova-initia.com/remog/trade?LASTKEY="+NovaInitia.Toolbar.getKey();
break;
default:
safari.application.activeBrowserWindow.openTab().url = wndId;

0 comments on commit 4c68b83

Please sign in to comment.