jae-jae / Userscript-Plus

:monkey: Show current site all UserJS,The easier way to install UserJs for Tampermonkey. 显示当前网站的所有可用Tampermonkey脚本
1.81k stars 274 forks source link

userscript下载到这个脚本,有1400K,3w行代码,你是如何敲到TamperMonkey的编辑器中去的? #12

Closed chapgaga closed 6 years ago

chapgaga commented 6 years ago

那页面编辑器太弱了,能放得进这么多代码么:(

jae-jae commented 6 years ago

在页面动态注入JS,不需要都放到编辑器里面去

chapgaga commented 6 years ago

你这3w行代码,是用什么打包的?不会是一开始就编辑这么个大文件吧? 我一般喜欢用RequireJS划分很多模块,这样代码看起来更清晰,可是TamperMonkey好像不能使用RequireJS

jae-jae commented 6 years ago

webpack