blob: 38874c0345ff2bb595ba16aec62efaedd4002121 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import './hide-watch-and-fork-count.css';
import * as pageDetect from 'github-url-detection';
import features from '../libs/features';
function init(): void {
document.body.classList.add('rgh-hide-watch-and-fork-count');
}
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,
repeatOnAjax: false,
init
});
|