Skip to content

Commit d05e5e5

Browse files
committed
fix: minor fix for extraction
1 parent de72cf0 commit d05e5e5

File tree

11 files changed

+12
-7
lines changed

11 files changed

+12
-7
lines changed

demo/dist/demo.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/chrome/hovercard.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/edge/hovercard.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/firefox/hovercard.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/github-hovercard.safariextension/hovercard.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
13 Bytes
Binary file not shown.
13 Bytes
Binary file not shown.
13 Bytes
Binary file not shown.
9 Bytes
Binary file not shown.

src/hovercard.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ $(() => {
109109
'.team-left-column:last-child h4 ~ div a': EXTRACTOR.SLUG,
110110

111111
// News feeds
112+
'img[alt^="@"]': EXTRACTOR.ALT_USER,
113+
'[data-hydro-click*="\\"action_target\\":\\"actor\\""]': EXTRACTOR.TEXT_USER,
112114
'[data-hydro-click*="\\"action_target\\":\\"issue\\""]': EXTRACTOR.URL,
113115
'[data-hydro-click*="\\"action_target\\":\\"followee\\""]': EXTRACTOR.URL,
114116
'[data-hydro-click*="\\"action_target\\":\\"repo\\""]': EXTRACTOR.SLUG,
@@ -118,7 +120,6 @@ $(() => {
118120
'[data-hydro-click*="\\"target\\":\\"ISSUE\\""]': EXTRACTOR.URL,
119121
'[data-hydro-click*="\\"target\\":\\"PULL_REQUEST\\""]': EXTRACTOR.URL,
120122
'.js-recent-activity-container [data-hovercard-type="repository"]': EXTRACTOR.SLUG,
121-
'img[alt^="@"]': EXTRACTOR.ALT_USER,
122123

123124
// Sidebar
124125
'.dashboard-sidebar [data-hydro-click*="\\"target\\":\\"REPOSITORY\\""] [title]:first-of-type': EXTRACTOR.TEXT_USER,

0 commit comments

Comments
 (0)