Plugins excluded (#999)
This commit is contained in:
parent
0ee602102e
commit
509f2212c6
|
@ -16,6 +16,7 @@ LocalCDN is a fork of Decentraleyes and a web browser extension that emulates Co
|
||||||
* AngularJS, AngularJS-Animate, AngularJS-Sanitize, AngularJS-Cookies and AngularJS-Touch <img width="15px" src="https://www.localcdn.org/img/icon-firefox-25.png"> <img width="15px" src="https://www.localcdn.org/img/icon-chrome-25.png">
|
* AngularJS, AngularJS-Animate, AngularJS-Sanitize, AngularJS-Cookies and AngularJS-Touch <img width="15px" src="https://www.localcdn.org/img/icon-firefox-25.png"> <img width="15px" src="https://www.localcdn.org/img/icon-chrome-25.png">
|
||||||
* React, Vue.js, Chart.js and many other frameworks/libraries <img width="15px" src="https://www.localcdn.org/img/icon-firefox-25.png"> <img width="15px" src="https://www.localcdn.org/img/icon-chrome-25.png">
|
* React, Vue.js, Chart.js and many other frameworks/libraries <img width="15px" src="https://www.localcdn.org/img/icon-firefox-25.png"> <img width="15px" src="https://www.localcdn.org/img/icon-chrome-25.png">
|
||||||
* MathJax (minimal) <img width="15px" src="https://www.localcdn.org/img/icon-firefox-25.png"> <img width="15px" src="https://www.localcdn.org/img/icon-chrome-25.png">
|
* MathJax (minimal) <img width="15px" src="https://www.localcdn.org/img/icon-firefox-25.png"> <img width="15px" src="https://www.localcdn.org/img/icon-chrome-25.png">
|
||||||
|
* TinyMCE (without plugins) <img width="15px" src="https://www.localcdn.org/img/icon-firefox-25.png"> <img width="15px" src="https://www.localcdn.org/img/icon-chrome-25.png">
|
||||||
* Internal statistics about CDNs and frameworks (day, week, month, year) <img width="15px" src="https://www.localcdn.org/img/icon-firefox-25.png"> <img width="15px" src="https://www.localcdn.org/img/icon-chrome-25.png">
|
* Internal statistics about CDNs and frameworks (day, week, month, year) <img width="15px" src="https://www.localcdn.org/img/icon-firefox-25.png"> <img width="15px" src="https://www.localcdn.org/img/icon-chrome-25.png">
|
||||||
* Export/Import your config (day, week, month, year) <img width="15px" src="https://www.localcdn.org/img/icon-firefox-25.png"> <img width="15px" src="https://www.localcdn.org/img/icon-chrome-25.png">
|
* Export/Import your config (day, week, month, year) <img width="15px" src="https://www.localcdn.org/img/icon-firefox-25.png"> <img width="15px" src="https://www.localcdn.org/img/icon-chrome-25.png">
|
||||||
* Prepared rules for uBlock Origin, uMatrix, AdGuard and NoScript <img width="15px" src="https://www.localcdn.org/img/icon-firefox-25.png"> <img width="15px" src="https://www.localcdn.org/img/icon-chrome-25.png">
|
* Prepared rules for uBlock Origin, uMatrix, AdGuard and NoScript <img width="15px" src="https://www.localcdn.org/img/icon-firefox-25.png"> <img width="15px" src="https://www.localcdn.org/img/icon-chrome-25.png">
|
||||||
|
|
|
@ -258,6 +258,13 @@ requestAnalyzer._getPathOfBundle = function (initiator, channelHost, channelPath
|
||||||
}
|
}
|
||||||
if (bundle === 'TinyMCE (Bundle)' && filename !== 'tinymce.min.js') {
|
if (bundle === 'TinyMCE (Bundle)' && filename !== 'tinymce.min.js') {
|
||||||
filename = channelPath.replace(Resource.TINYMCE, '');
|
filename = channelPath.replace(Resource.TINYMCE, '');
|
||||||
|
if (filename.startsWith('plugins/')) {
|
||||||
|
console.warn(`${LogString.PREFIX} ${LogString.MISSING_RESOURCE} ${channelHost + channelPath}`);
|
||||||
|
log.append(initiator, channelHost + channelPath, '-', true);
|
||||||
|
return {
|
||||||
|
'result': false,
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return helpers.formatFilename(filename.endsWith('.js')
|
return helpers.formatFilename(filename.endsWith('.js')
|
||||||
? `${targetPath + filename}m`
|
? `${targetPath + filename}m`
|
||||||
|
|
Loading…
Reference in New Issue