Skip to content

Commit

Permalink
Number of bookmark lists in which a cache is contained are no longer …
Browse files Browse the repository at this point in the history
…displayed with "Add to List(0)". (#2595)
  • Loading branch information
2Abendsegler committed Apr 15, 2024
2 parents 4e34ec4 + fad68d7 commit 6f5b750
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gc_little_helper_II.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -15438,10 +15438,10 @@ var mainGC = function() {
var list = '';
$(content).find('ul.BookmarkList li').each(function() {
if ( $(this).find('a[href*="/profile/?guid="], a[href*="/p/?guid="]')[0] && $(this).find('a[href*="/profile/?guid="], a[href*="/p/?guid="]')[0].innerHTML.match(global_me) &&
$(this).find('a[href*="/bookmarks/view.aspx?guid="]')[0] && $(this).find('a[href*="/bookmarks/view.aspx?guid="]')[0].innerHTML ) {
if (!ary.includes($(this).find('a[href*="/bookmarks/view.aspx?guid="]')[0].innerHTML)) {
$(this).find('a[href*="/bookmarks/view.aspx?guid="], a[href*="/plan/lists/BM"]')[0] && $(this).find('a[href*="/bookmarks/view.aspx?guid="], a[href*="/plan/lists/BM"]')[0].innerHTML ) {
if (!ary.includes($(this).find('a[href*="/bookmarks/view.aspx?guid="], a[href*="/plan/lists/BM"]')[0].innerHTML)) {
count++;
ary.push($(this).find('a[href*="/bookmarks/view.aspx?guid="]')[0].innerHTML);
ary.push($(this).find('a[href*="/bookmarks/view.aspx?guid="], a[href*="/plan/lists/BM"]')[0].innerHTML);
}
}
});
Expand Down

0 comments on commit 6f5b750

Please sign in to comment.