Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Added:
'<tr><td align="right">Hide No Items To Repair' + Helper.helpLink('Hide No
Items To
Repair', 'Pretty simple ... it hides the Information box that says You have no
items
which require repairs.') +
':</td><td><input name="hideNoItemsToRepair" type="checkbox" value="on"' +
(GM_getValue("hideNoItemsToRepair")?" checked":"") + '></td></tr>' +
to var configData in injectSettings below the hideBanner lines.
added hideRepairBox: function() {
if (!GM_getValue("hideNoItemsToRepair")) return;
var infoText =
System.findNode("//html/body/table/tbody/tr[3]/td[2]/table/tbody/tr[2]/td/font/c
enter");
if (infoText && infoText.innerHTML == "You have no items which require repairs.")
{
var infoBox = System.findNode("//html/body/table/tbody/tr[3]/td[2]/table");
var br1 = System.findNode("//html/body/table/tbody/tr[3]/td[2]/br");
var br2 = System.findNode("//html/body/table/tbody/tr[3]/td[2]/br[2]");
var br3 = System.findNode("//html/body/table/tbody/tr[3]/td[2]/br[3]");
var br4 = System.findNode("//html/body/table/tbody/tr[3]/td[2]/br[4]");
br1.style.display = "none";
br2.style.display = "none";
br3.style.display = "none";
br4.style.display = "none";
infoBox.style.display = "none";
}
},
to fslayout.js below the hideBanner function
Also added Layout.hideRepairBox(); in injectWorld(), can pretty much go
anywhere near
the top.
Also added System.saveValueForm(oForm, "hideNoItemsToRepair");
to saveConfig()
Original comment by Brent.Me...@gmail.com
on 27 Sep 2009 at 9:38
closing multiple issues due to in-activity / not going to implement / no longer
relevant / etc.
Original comment by Vong.H...@gmail.com
on 10 Jan 2012 at 7:05
Original issue reported on code.google.com by
seerofni...@hotmail.co.uk
on 31 Mar 2009 at 8:37