don't ping uso for usw styles
This commit is contained in:
parent
5db1dc7bc4
commit
2076fe32f2
|
@ -411,9 +411,11 @@
|
||||||
saveScrollPosition(entry);
|
saveScrollPosition(entry);
|
||||||
installButton.disabled = true;
|
installButton.disabled = true;
|
||||||
entry.style.setProperty('pointer-events', 'none', 'important');
|
entry.style.setProperty('pointer-events', 'none', 'important');
|
||||||
// FIXME: move this to background page and create an API like installUSOStyle
|
if (!isUsw) {
|
||||||
result.pingbackTimer = setTimeout(download, PINGBACK_DELAY,
|
// FIXME: move this to background page and create an API like installUSOStyle
|
||||||
`${URLS.uso}styles/install/${id}?source=stylish-ch`);
|
result.pingbackTimer = setTimeout(download, PINGBACK_DELAY,
|
||||||
|
`${URLS.uso}styles/install/${id}?source=stylish-ch`);
|
||||||
|
}
|
||||||
|
|
||||||
const updateUrl = isUsw ? URLS.makeUswCodeUrl(id) : URLS.makeUsoArchiveCodeUrl(id);
|
const updateUrl = isUsw ? URLS.makeUswCodeUrl(id) : URLS.makeUsoArchiveCodeUrl(id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user