您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Shuffles li's in UL's
// ==UserScript== // @name UL Shuffler // @description Shuffles li's in UL's // @author ShareDVI // @license MIT // @version 1.0 // @include http://* // @include https://* // @namespace https://greasyfork.org/users/13692 // ==/UserScript== (function (window, undefined) { var w; if (typeof unsafeWindow != undefined) { w = unsafeWindow } else { w = window; } if (w.self != w.top) { return; } var ul = document.querySelectorAll('ul'); for (var j = 0; j<ul.length; j++) { for (var i = ul[j].children.length; i >= 0; i--) { ul[j].appendChild(ul[j].children[Math.random() * i | 0]); } } })(window);