Battlelog Friend Requests Auto-Fold

Install the script in Google Chrome with Tampermonkey or in Firefox with Greasemonkey.
If you had a Battlelog tab open prior to installing the script then refresh the page to see the effects.
You can download the script over at userscripts.org

Battlelog Friends Requests Auto-Fold

// ==UserScript==
// @name           Battlelog Friend Requests Auto-Fold
// @namespace      http://techexplored.io
// @version        0.1
// @description    Folds the friend requests list by default
// @include        http://battlelog.battlefield.com/bf3/*
// ==/UserScript==

var div = document.getElementById("comcenter-friendrequests-separator");

if(div.className == "comcenter-separator showing-friendrequests") {
	var arrow = div.getElementsByClassName("dropdownicon")[0];
    arrow.click();
}