| 79 | } |
| 80 | |
| 81 | function init(signal: AbortSignal): void { |
| 82 | observe( |
| 83 | [ |
| 84 | '.js-issue-title code', // `isPRConversation`, Old view `isIssue` |
| 85 | 'h1[class^="prc-PageHeader-Title"] code', // `isPRFiles`, |
| 86 | '[data-testid="issue-title"] code', // `isIssue` |
| 87 | '.js-comment-body code', // Old view `hasComments` |
| 88 | '.markdown-body code', // `hasComments`, `isReleasesOrTags` |
| 89 | '[class^="CommitHeader-module__commitMessageContainer"] code', // `isSingleCommit`, |
| 90 | `${is(commitTitleInLists)} code`, // `isCommitList`, `isCompare` |
| 91 | '.react-directory-commit-message code', // `isRepoTree` |
| 92 | ], |
| 93 | linkifyFeature, |
| 94 | {signal}, |
| 95 | ); |
| 96 | } |
| 97 | |
| 98 | void features.add(import.meta.url, { |
| 99 | asLongAs: [ |