Originally Posted by Phanx
They could also use the same "tab" system they use on individual addon pages, but either way would add another click, which would actually require more effort than pressing the PageDown key 5 times.
|
True. A tab system would be even better. If you're familiar with user-scripts, this should do the trick until they get around to adding it.
https://greasyfork.org/en/scripts/6220-wowi-addon-tabs
If you're using Chrome, get the addon Tampermonkey. If Firefox, use Greasemonkey. It basically allows you to inject your own javascript into the pages you visit. The script I linked above will only become active on the author addons page. Actual script shown below.
Code:
// ==UserScript==
// @name WoWI Addon Tabs
// @namespace digital-utopia.org
// @version 0.2
// @description tab control for author addons
// @match http://www.wowinterface.com/downloads/author*
// @copyright 2014, Digital_Utopia
// @grant unsafeWindow
// ==/UserScript==
var $ = unsafeWindow.jQuery;
var addons = $(".box-title:eq(0)").parent();
var comments = $(".box-title:eq(1)").parent();
$(comments).css("visibility","hidden");
handleClick=function(tar)
{
if($(tar).parent().attr("class")!="current")
{
$(".current").attr("class","nocurr");
$(tar).parent().attr("class","current");
if($(tar).attr("id")=="Addons_tab")
{
$(comments).css("visibility","hidden");
$(addons).css("display","block");
}else{
$(comments).css("visibility","visible");
$(addons).css("display","none");
}
}
}
var parent = $("table:eq(1)",".clearfix").parent();
$(".vbmenu_popup",parent).after("<div class='tabwrapper' id='tabwrapper'><div class='boxtablist' style='background-color:#181818;'></div></div>");
$(".boxtablist").append("<li class='current' onclick='handleClick(this.childNodes[0])'><a id='Addons_tab' href='javascript:;' onclick='handleClick(this)'>Addons</a></li>");
$(".boxtablist").append("<li class='nocurr' onclick='handleClick(this.childNodes[0])'><a id='Comments_tab' href='javascript:;' onclick='handleClick(this)'>Comments</a></li>");
$(".tabwrapper").append("<div id='lvert-effect'></div>");
$(".tabwrapper").append("<div id='lhorz-effect'></div>");
$(".tabwrapper").append("<div style='clear:both;'></div>");