JSS - Edit Buttons & No Category On Top

Put edit links next to app names and move the no category category to the top of the page

Verze ze dne 08. 01. 2016. Zobrazit nejnovější verzi.

// ==UserScript==
// @name         JSS - Edit Buttons & No Category On Top
// @namespace    http://your.homepage/
// @version      0.2
// @description  Put edit links next to app names and move the no category category to the top of the page
// @author       Ryan Meyers
// @match        https://serenity.local:8443/mobileDeviceApps.html*
// @grant        none
// ==/UserScript==

$.each($('.group-item > td > a'), function(i,v){$(v).parent().append("<a href=\""+$(v).attr("href").replace("o=r","o=u")+"\" style=\"font-size:7pt\">edit</a>");});
$.each($('tr.group-item-no-category-assigned'), function(i,v){$('tbody').prepend($(v))});
$('tbody').prepend($('tr.no-category-assigned'));