There are 6 previous versions of this script.
// ==UserScript==
// @name GMail Auto-Expand
// @namespace http://userscripts.org/users/63868
// @description Expand conversations automatically
// @include http://mail.google.com*
// @include https://mail.google.com*
// @require http://updater.usotools.co.cc/37943.js
// @require http://userscripts.org/scripts/source/56812.user.js
// ==/UserScript==
GMailAPI({
onViewChange: function() {
if ( this.viewType === 'cv' ) {
var element = this.convRhsElement.ownerDocument.evaluate( ".//u[contains(.,'Expand all')]", this.convRhsElement, null, 9, null );
if ( element = element.singleNodeValue )
this.clickElement( element );
}
}
});
