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) });