aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-11-27 00:36:16 -0500
committerAjay <[email protected]>2023-11-27 00:36:16 -0500
commit2c67db44a016c8792f3f5e6cfe3a4b31d528ccb3 (patch)
tree2d98c946b2b2011883c790892a5a3496ab19ee72
parent3ae0429043325c29b0572815f4452af05de5e724 (diff)
downloadSponsorBlock-2c67db44a016c8792f3f5e6cfe3a4b31d528ccb3.tar.gz
SponsorBlock-2c67db44a016c8792f3f5e6cfe3a4b31d528ccb3.zip
Add button in dearrow prompt to quickly disable future prompts
m---------maze-utils0
-rw-r--r--src/dearrowPromotion.ts1
2 files changed, 1 insertions, 0 deletions
diff --git a/maze-utils b/maze-utils
-Subproject 6bdc9402c6cf2a8c97e53e1c360744e12afd919
+Subproject 2aa3c0bc23c2100ef7eb4963aa116e4182a7f16
diff --git a/src/dearrowPromotion.ts b/src/dearrowPromotion.ts
index 208c627f..13fa8288 100644
--- a/src/dearrowPromotion.ts
+++ b/src/dearrowPromotion.ts
@@ -37,6 +37,7 @@ export async function tryShowingDeArrowPromotion() {
window.open("https://dearrow.ajay.app");
Config.config.shownDeArrowPromotion = true;
},
+ secondButtonText: chrome.i18n.getMessage("hideNewFeatureUpdates"),
referenceNode: element,
prependElement: element.firstElementChild as HTMLElement,
timeout: 15000,