Battlelog Mods v1.9 released

Featured changes:

New mod menu (to the right of Forums) now contains settings

Added Auto-Hooah mod.
This basically adds a “hooah all items” link to the top-right of all feed areas.

Added Show Game on map load mod.
If this setting is on the game will auto-maximize/restore when the game starts loading the map.
Toggle it on or off in the new MODS menu.  (default setting is off)

There should no longer be ANY issues with clicking update links.
It was a pain to get this working but I think we finally got it.

Developer log (newest commit first):

changelog now resizes to fit content (width only)
fixed changelog sizing
fixed syntax error in chrome_extension that caused update code to not get reached
fixed changelog styling
fixed mod-menu-item to render properly under all circumstances
fixed menu-item click not working after re-render
added settings and storage via localStorage (mods.settings)
re-styled mod-menu to match Battlelog
added MODS item to the top menu-bar
added view changelog to mod-menu
added styling for custom checkbox(for use later)
added drop-shadow effect to changelog
changed update function namespaces to “mods.”
removed json2.js include from chrome_extension
changed autoHooah link style
builder no longer serializes .js files for code_base include
moved each mod to its own file
autoJoin button message/font changed
showAllGameModeFilters now shows ready message at appropriate place
reworked autoJoin to be more stable when working along side showAllGameModeFilters
added autoHooah mod
auto update now obtains update url from server for extension type
added template to builder for update_base

Quick-Fixes:

9:15 am (EST) – fixed auto-join (re-download if it isn’t working)

Download:

Chrome: http://coderah.com/bf3/battlelog_mods.crx

FireFox/Opera: http://coderah.com/bf3/battlelog_mods.user.js (requires GreaseMonkey or Scriptish)

Project page: http://www.coderah.com/?page_id=389

Source Code (github): https://github.com/Coderah/Coderah-Battlelog-Mods

Google+

Battlelog Mods v1.8 released

1.8 is mostly a bugfix update but it also removes the need for the Mod menu in the upper left corner by fully integrating the Auto Join feature into the Battlelog server browser.

When clicking auto update (will first happen  when going to 1.9)  this version will now show a changelog.

When auto updating there should no longer be the need to clear your cache. (when going to 1.9 once its released)

The bug where clicking the filter checkboxes wouldn’t work sometimes should be fixed.

The Auto Join mod should be more stable now.

Changelog:

  1. added changelog when loading new update
  2. fixed error caused when loading page that prevented showAllGameModeFilters from working
  3. changed auto update links to attempt caching prevention
  4. integrated autojoin buttons into battlelog
  5. hid mod-menu
  6. reworked debug code all mods now show notification on left side when ready
  7. autoJoin clears timeout before setting new one
  8. autoJoin timeout will cancel itself if autoJoin is not in progress

Download:

Chrome: http://coderah.com/bf3/battlelog_mods.crx

FireFox/Opera: http://coderah.com/bf3/battlelog_mods.user.js (requires GreaseMonkey)

Source Code (github): https://github.com/Coderah/Coderah-Battlelog-Mods

Google+

Battlelog Mods v1.7 released

As some of you may have noticed it seems the BF3Beta server files have been leaked! Which means there are all sorts of servers running GameModes like TDM,Conquest, and Squad DM I thought it would be nice if we could properly filter those GameModes, thus 1.7 came about. 1.7 adds every GameMode that a server can run to the filters (they act just like the normal ones and even save too!)

Download:

Chrome: http://coderah.com/bf3/battlelog_mods.crx

FireFox/Opera: http://coderah.com/bf3/battlelog_mods.user.js (requires GreaseMonkey)

Project page: http://www.coderah.com/?page_id=389

Source Code (github): https://github.com/Coderah/Coderah-Battlelog-Mods

Google+

Battlelog Mods v1.6 released

I set out to make this version have a simple “Auto Join selected server” function to replace the queue system that DICE temporarily removed from Battlelog, it ended up being fairly complicated (lots of digging around in their code) there was a lot of trying to figure out the best way to add the button, which was surprisingly complicated before I settled on an easier method. This version also includes a “Mod Menu” in the top left (will probably be moved and styled differently later) which will house all the settings and such, it is currently home to the new auto join function as well as some status information.

If you are sick of clicking the join button over and over this version is for you!

Download:

Chrome: http://coderah.com/bf3/battlelog_mods.crx

FireFox/Opera: http://coderah.com/bf3/battlelog_mods.user.js (requires GreaseMonkey)

Project page: http://www.coderah.com/?page_id=389

Source Code (github): https://github.com/Coderah/Coderah-Battlelog-Mods

Google+

Battlelog Mods v1 released

Battlelog Mods is a chrome extension that adds in features to Battlelog (bf3 open beta)

The main feature of this first release is a work-around for servers running the Caspian Border map (password protected) there is no server side password verification on connection to a server, so once I found the client-side (Battlelog) function for verifying a password it was a simple rewrite (a hook in a sense).

you can easily test this by opening the chrome console (or firebug in firefox) and running this line:

launcher.verifyPassword = function(game, gameServerGuid, plaintextPassword, callback) { callback(true); }

Project page (download link): http://www.coderah.com/?page_id=389

Source Code (github): https://github.com/Demia/Coderah-Battlelog-Mods

Google+

Sporcle nearly universal hack.

A friend showed me “http://sporcle.com/” recently and I thought “great yet another site I am going to get addicted to”, so I decided to remedy that problem with a little bit of javascript this code will automatically complete nearly all the games on Sporcle:

First open a game on Sporcle (ex: http://www.sporcle.com/games/world.php) and then:
either drop this in your URL bar and hit enter

?View Code JAVASCRIPT
1
javascript:startGame(1); for (var i=0;i<answers.length;i++) { document.getElementById("gameinput").value = getAnswer(i);checkGameInput(document.getElementById("gameinput")); }

or drag this onto your bookmark bar for quick hacking! (goto a game on Sporcle and click the bookmark): Sporcle Hack

Google+