USERTSYLES - TABLES Sorter SIMPLE

Sort Table in Your Profile page

Verze ze dne 04. 05. 2017. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name        USERTSYLES - TABLES Sorter SIMPLE
// @author      decembre
// @namespace   https://greatest.deepsurf.us/fr/users/8-decembre 

// @description Sort Table in Your Profile page

// @include     https://userstyles.org/*

// @version     01
// @grant       none
// @require     https://greatest.deepsurf.us/scripts/12036-mutation-summary/code/Mutation%20Summary.js?version=70722
// @require     https://greatest.deepsurf.us/scripts/5844-tablesorter/code/TableSorter.js?version=21758
// 

// FROM : Metal Archives (discography pages) - Reviews column split and sortable tables
// BY darkred
// https://greatest.deepsurf.us/fr/scripts/5751-metal-archives-discography-pages-reviews-column-split-and-sortable-tables/code

// This userscript uses jQuery UI, the jQuery plugin 'tablesorter' (forked by Rob Garrison (Mottie)) http://mottie.github.io/tablesorter/docs/index.html
// and the JavaScript library 'Mutation Summary' (https://github.com/rafaelw/mutation-summary) (by Rafael Weinstein)
//
// @namespace rikkie
// ==/UserScript==

// TEST for <table class="author-styles">
// TEST SELECTOR
// http://mottie.github.io/tablesorter/docs/example-option-selectorsort.html
$(function() {
  // call the tablesorter plugin
  $("table").tablesorter({
      selectorSort : 'th'
  });
});