Use https://github.com/fiatjaf/module-linker instead.
This userscript inserts direct repository links for modules used in source code on github. Currently only JS & npm are supported.
Repo URLs are being fetched from npmjs registry. Relative imports are also linkified.
Check the source code for configurable options.
Follow the userscript installation instructions.
The file is located here.
- DONE
find more elegant way to listen for page content changes thansetInterval
with checker function (defeat that ugly AJAX navigation) - DONE
add support forimport something from 'some-module'
notation - DONE
replace system modules with links to their sources instead of security-holder module - process repository URLs more carefully (consider rare cases when
repository.type
is notgit
, etc.) - consider adding more programming languages and package registries
- add links to the main files of the modules instead of the repositories