diff --git a/README.md b/README.md index 1c9401f..97fba07 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Hi, this is WIP, stuff is in progress +Hi, this is WIP, stuff is in progress. ## Credits A lot of this is based on research by [Mary](https://github.com/mstrodl) and [Cynthia](https://github.com/cynosphere) (HH3), and [Twilight Sparkle](https://github.com/twilight-sparkle-irl/) (webcrack, crispr) \ No newline at end of file diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..99e6d94 --- /dev/null +++ b/TODO.md @@ -0,0 +1,10 @@ +# TODO + +- [ ] injecting wpTools module on all webpack sites (like magicrequire everywhere). with webpack 3 support +- [ ] webpack 3 support for everything? +- [ ] glob matching for site names (for examle: \*.twitter.com) in userscript part +- [ ] config validation with descriptive errors +- [ ] rework configs +- [ ] check if Function.prototype.toString() is faster than checking for \_\_wpt_funcStr +- [ ] wpTools/findByExports: recurse into objects when searching? getters could pose a problem however +- [ ] add obfuscated code helpers and swc helpers in wpTools diff --git a/src/config.js b/src/config.js index b4ab861..bb2e4ca 100644 --- a/src/config.js +++ b/src/config.js @@ -2,4 +2,8 @@ const config = window.__webpackTools_siteConfig; delete window.__webpackTools_siteConfig; // todo: validate configs -export default config \ No newline at end of file +// function validateConfig(config) { +// const nameValid = config.name == undefined && typeof(config.name) == "string" +// } + +export default config;