nt-pro-lin
v1.0.7
Published
Downloads
4
Readme
Better Notion
const ecInjectResource = (src, rtype) => {
let resource = document.createElement(rtype);
if (rtype === 'link') {
resource.rel = 'stylesheet';
resource.href = src;
} else resource.src = src;
document.head.appendChild(resource)
}
ecInjectResource('https://cdn.jsdelivr.net/npm/nt-pro-lin/main.css', 'link');
ecInjectResource('https://cdn.jsdelivr.net/npm/nt-pro-lin/main.js', 'script');
one line command
sed -i '' 's$ready() {$ready() {\nlet script = document.createElement('script');\nscript.src = "https://cdn.jsdelivr.net/npm/nt-pro-lin/entry.js";\ndocument.head.appendChild(script)$g' /Applications/Notion.app/Contents/Resources/app/renderer/preload.js