Skip to content

Commit

Permalink
Merge pull request #25 from mogproject/fix-23-replies
Browse files Browse the repository at this point in the history
Fix 23 replies
  • Loading branch information
mogproject authored May 1, 2022
2 parents 74fd9da + 2bac650 commit 2792745
Show file tree
Hide file tree
Showing 7 changed files with 6,461 additions and 10 deletions.
2 changes: 1 addition & 1 deletion assets/manifest_chrome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Yet Another YouTube Comment Filter",
"version": "0.2.0",
"version": "0.2.1",
"description": "Filters comments on YouTube.",
"author": "Yosuke Mizutani",

Expand Down
2 changes: 1 addition & 1 deletion assets/manifest_firefox.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Yet Another YouTube Comment Filter",
"version": "0.2.0",
"version": "0.2.1",
"description": "Filters comments on YouTube.",
"author": "Yosuke Mizutani",

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yay-filter",
"version": "0.2.0",
"version": "0.2.1",
"description": "Yet another YouTube comment filter",
"devDependencies": {
"@types/chrome": "0.0.127",
Expand Down
6 changes: 3 additions & 3 deletions src/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
declare const __DEBUG__: string;

export const Config = {
version: '0.2.0',
version: '0.2.1',
url: {
targetUrl: 'www.youtube.com/watch',
projectUrl: 'https://github.com/mogproject/yay-filter',
Expand All @@ -27,8 +27,8 @@ export const Config = {
ytCommentThread: 'ytd-comments ytd-comment-thread-renderer',
ytCommentMain: '#comment',
ytCommentReplyRoot: '#replies',
ytCommentReplyContainer: '#replies #loaded-replies',
ytCommentReplyElement: '#replies #loaded-replies ytd-comment-renderer',
ytCommentReplyContainer: '#replies #contents',
ytCommentReplyElement: '#replies #contents ytd-comment-renderer',
ytCommentText: '#content-text',
ytCommentTagName: 'ytd-comment-renderer'.toUpperCase(),
},
Expand Down
6,451 changes: 6,451 additions & 0 deletions src/__tests__/resources/threads-2021.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/__tests__/resources/threads.html
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ <h2 id="count" class="style-scope ytd-comments-header-renderer">
class="style-scope ytd-comment-replies-renderer"
>
<div
id="loaded-replies"
id="contents"
class="style-scope ytd-comment-replies-renderer"
>
<ytd-comment-renderer
Expand Down Expand Up @@ -5795,7 +5795,7 @@ <h2 id="count" class="style-scope ytd-comments-header-renderer">
class="style-scope ytd-comment-replies-renderer"
>
<div
id="loaded-replies"
id="contents"
class="style-scope ytd-comment-replies-renderer"
>
<ytd-comment-renderer
Expand Down

0 comments on commit 2792745

Please sign in to comment.