diff --git a/bookmarklet.js b/bookmarklet.js index 4e4d56f..facae53 100644 --- a/bookmarklet.js +++ b/bookmarklet.js @@ -1,7 +1,8 @@ javascript: (function() { window.bookmarkver = '1.4'; var isReddit = document.location.hostname.split('.').slice(-2).join('.') === 'reddit.com'; - var isOverview = document.location.href.match('/overview\b'); + var isOverview = document.location.href.match(/\/overview\b/); + debugger; if (isReddit && isOverview) { var cachBustUrl = 'https://raw.githubusercontent.com/j0be/PowerDeleteSuite/master/powerdeletesuite.js?' + (new Date().getDate()); fetch(cachBustUrl).then(function(response) {