From 48919ef36ba11738803ab3bd8e178d69e6a17131 Mon Sep 17 00:00:00 2001 From: Ronald Troyer Date: Wed, 4 Dec 2019 15:42:24 -0500 Subject: [PATCH] Update dialog when bookmark version has a mismatch --- powerdeletesuite.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/powerdeletesuite.js b/powerdeletesuite.js index 4a3d6af..f3adafd 100644 --- a/powerdeletesuite.js +++ b/powerdeletesuite.js @@ -21,7 +21,8 @@ var pd = { function checkBookmarkletVersion() { if (typeof window.bookmarkver === 'undefined' || window.bookmarkver !== pd.bookmarkver) { if (confirm('There\'s been an update to the bookmarklet. Would you like to go to the Github repo in order to get the latest version?')) { - document.location.href = 'https://github.com/j0be/PowerDeleteSuite'; + alert('Scroll down to the "Install PowerDeleteSuite" button on the github page. Replace your CURRENT bookmark with the one found there to upgrade.'); + document.location.href = 'https://github.com/j0be/PowerDeleteSuite'; return false; } }