mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 11:22:38 +01:00
Built-in redirect token none
must be seen as valid
Related feedback:
- 1727585faa (commitcomment-43787843)
This commit is contained in:
parent
f76471f56b
commit
5468b92643
@ -790,7 +790,9 @@ RedirectEngine.prototype.loadBuiltinResources = function() {
|
|||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
RedirectEngine.prototype.getResourceDetails = function() {
|
RedirectEngine.prototype.getResourceDetails = function() {
|
||||||
const out = new Map();
|
const out = new Map([
|
||||||
|
[ 'none', { canInject: false, canRedirect: true, aliasOf: '' } ],
|
||||||
|
]);
|
||||||
for ( const [ name, entry ] of this.resources ) {
|
for ( const [ name, entry ] of this.resources ) {
|
||||||
out.set(name, {
|
out.set(name, {
|
||||||
canInject: typeof entry.data === 'string',
|
canInject: typeof entry.data === 'string',
|
||||||
|
Loading…
Reference in New Issue
Block a user