Closed KOLANICH closed 10 years ago
Personally never liked adding resource files to my userscript.
One of the issues I have is while developing a script, both @require
and @resource
require the files to be hosted before it can be used.
I do have used the feature before for libraries like jQuery as they are already hosted and to large to add as text.
For now there's no real advantage to move the HTML to a resource file.
Thanks for using this userscript!
The real advantage is that it makes code better readable: you can open html part and enjoy syntax highlighting and you can open js part and enjoy syntax highlighting.
Will keep that in mind for the next script.
Don't you think that it is better to store HTML part into resource file?