Skip to content

Commit 3c7c95e

Browse files
committed
feat: add bookmarklet to load hidden conversations on github
1 parent 2186d18 commit 3c7c95e

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Array.from(document.querySelectorAll('button[type="submit"'))
2+
.filter(b => b.textContent.includes('hidden conversation'))
3+
.forEach(b => b.click())

src/index.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@
6666
}
6767
]
6868
},
69+
{
70+
"name": "Github",
71+
"id": "github",
72+
"content": [
73+
{
74+
"name": "Load all hidden conversations",
75+
"id": "load-hidden-conversations",
76+
"text": "If there’re many comments in Github Pull Request, some of them are hidden under the “Load more” button. This bookmarklet loads all these hidden comments"
77+
}
78+
]
79+
},
6980
{
7081
"name": "Codewars.com",
7182
"id": "codewars",

0 commit comments

Comments
 (0)