2024-11-05 00:30:44
$('ul li').not(function (i) {
return $(this).prevAll('li:has(a[title="' + $("a', this).attr('title') + '"])').length < 1;
}).remove();
2024-11-05 00:14:53
jQuery(function($) {
$("ul li a").each(function(i, dom) {
var me = $(dom),
t = me.attr("title");
var ind = me.closest("li").index();
$("ul li:gt(" + ind + "):has(a[title="" + t + "'])").remove();
});
});
2024-11-05 00:15:30