blob: 8fc4a625cba83417f5634643dd768d4e31656d62 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import './hide-watch-and-fork-count.css';
import onetime from 'onetime';
import * as pageDetect from 'github-url-detection';
import features from '.';
function init(): void {
document.body.classList.add('rgh-hide-watch-and-fork-count');
}
void features.add({
id: __filebasename,
description: 'Hides forks and watchers counters.',
screenshot: 'https://user-images.githubusercontent.com/1402241/53681077-f3328b80-3d1e-11e9-9e29-2cb017141769.png'
}, {
include: [
pageDetect.isRepo
],
waitForDomReady: false,
init: onetime(init)
});
|