diff --git a/popup.html b/popup.html index 44709d2..713e3f0 100644 --- a/popup.html +++ b/popup.html @@ -278,6 +278,11 @@ turning the extension off and on via your browser's extension settings (chrome://extensions/), and/or reinstalling the extension. + + Opera users: By default, Opera will block extensions from running on search engines. + Search engine access can be enabled per-extension by going to "chrome://extensions/" + and selecting the "Allow access to search page results" option under Indie Wiki Buddy. + diff --git a/popup.js b/popup.js index 7916320..f3398b4 100644 --- a/popup.js +++ b/popup.js @@ -229,6 +229,12 @@ document.addEventListener('DOMContentLoaded', function () { document.getElementById('notificationBannerBug').style.display = 'block'; } + // If running Opera, show note about search engine acces + if (navigator.userAgent.match(/OPR\//)) { + notificationBanner.style.display = 'block'; + document.getElementById('notificationBannerOpera').style.display = 'block'; + } + loadBreezeWikiOptions(); // Listener for settings page in new tab: diff --git a/settings.html b/settings.html index aa10525..41b9a3f 100644 --- a/settings.html +++ b/settings.html @@ -310,6 +310,11 @@ turning the extension off and on via your browser's extension settings (chrome://extensions/), and/or reinstalling the extension. + + Opera users: By default, Opera will block extensions from running on search engines. + Search engine access can be enabled per-extension by going to "about:extensions" + and selecting the "Allow access to search page results" option under Indie Wiki Buddy. + Enjoying Indie Wiki Buddy? Please leave a review!
diff --git a/settings.js b/settings.js index 5634fc7..05b9bcf 100644 --- a/settings.js +++ b/settings.js @@ -528,6 +528,12 @@ document.addEventListener('DOMContentLoaded', function () { document.getElementById('notificationBannerBug').style.display = 'block'; } + // If running Opera, show note about search engine acces + if (navigator.userAgent.match(/OPR\//)) { + notificationBanner.style.display = 'block'; + document.getElementById('notificationBannerOpera').style.display = 'block'; + } + // Count number of times settings have been opened // Purposefully using local storage instead of sync chrome.storage.local.get({ 'countSettingsOpened': 0 }, function (item) {