strip www for greasyfork search
This commit is contained in:
parent
9ed550c882
commit
619f771b4a
|
@ -91,7 +91,7 @@
|
||||||
`${URLS.usw}search?q=${catQ}` ||
|
`${URLS.usw}search?q=${catQ}` ||
|
||||||
where === 'gf' &&
|
where === 'gf' &&
|
||||||
'https://greasyfork.org/' + ($.root.lang.split('-')[0] || 'en') +
|
'https://greasyfork.org/' + ($.root.lang.split('-')[0] || 'en') +
|
||||||
`/scripts/by-site/${tryURL(tabURL).hostname}?language=css${add('&q=', q)}`;
|
`/scripts/by-site/${tryURL(tabURL).hostname.replace(/^www\./, '')}?language=css${add('&q=', q)}`;
|
||||||
Events.openURLandHide.call({href}, event);
|
Events.openURLandHide.call({href}, event);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user