diff --git a/README.md b/README.md index 4a7afd4..2ca1c49 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,9 @@ If English isn't your main language, it's easy to change the language Wikipedia __Wikipedia is a trademark of the Wikimedia Foundation.__ --------------------------------------------------------- +__New in Wikipedia Search 7.0.2:__ +* Added warning when using Wikipedia Search over HTTP connection. + __New in Wikipedia Search 7.0.1:__ * Added settings button to Wikipedia pages when side panel is disabled. @@ -16,74 +19,6 @@ __New in Wikipedia Search 7.0:__ * Code cleanup: Wikipedia Search 7.0's codebase has been improved, especially with content scripts being adjusted to work much better. * Slightly updated icon -__New in Wikipedia Search 6.4:__ -* Shiny new icon :) -* Improvements to the Wikipedia Search widget for Awesome New Tab Page (ANTP) -* Continued clean-up of overall codebase - -__New in Wikipedia Search 6.3.1:__ -* Fixed search bar on articles becoming disabled and not completely being removed. -* Minor bug fixes - -__New in Wikipedia Search 6.3:__ -* __Wikipedia Integration:__ Wikipedia Search now integrates more deeply with Wikipedia, with options to show a panel of options on Wikipedia article pages for quick access to settings, and even hiding the search bar. -* __Reset options:__ There is now a reset button in the settings, to...well...reset the settings. -* __Under-the-hood improvements:__ Wikipedia Search 6.3 continues a clean-up of the overall codebase. -* And a secret easter egg hidden in the code ;) - -__New in Wikipedia Search 6.2:__ -* __Opera support:__ Opera browser is now officially supported by Wikipedia Search! -* __Context menu:__ Minor tweaks to the right-click context menu. -* __Settings:__ You can now turn the settings shortcut in search results on or off. -* __Under-the-hood improvements:__ Most of Wikipedia Search 6.2 has been re-written to clean up the overall codebase. There's also less bugs! - -__New in Wikipedia Search 6.1.1:__ -* Fix for the settings page not working correctly. - -__New in Wikipedia Search 6.1:__ -* __HTTPS by default:__ Wikipedia Search added support for HTTPS search in version 6.0, but now it's default. -* __New Language:__ Wikipedia Search now supports Ellīniká as a language. -* __Easier options access:__ You can now get to the extensions options straight from the OmniBar while searching!. -* __Bug fixes:__ This release contains various bug fixes. - -__New in Wikipedia Search 6.0:__ -* __ANTP Widget:__ Wikipedia Search now includes a widget for the popular New Tab Page replacement, Awesome New Tab Page. If you have ANTP installed, just drag the Wikipedia Search widget to an empty slot. -* __HTTPS Search:__ You can now enable searching with HTTPS from the options, which makes your searches more secure and private. -* __New Icon:__ Wikipedia Search now has a new icon from the Faenza icon pack. -* __New Language:__ Wikipedia Search now supports Azərbaycanca as a language. -* Minor bug fixes and code cleanup - -__New in Wikipedia Search 5.0.3:__ -* Fixes default language not generating on extension update/install - -__New in Wikipedia Search 5.0.2:__ -* Bug fixes - -__New in Wikipedia Search 5.0.1:__ -* Fixed bug where searches would try to load 'undefined.wikipedia.org' - -__New in Wikipedia Search 5.0:__ -* Search from the Chrome Omnibar by selecting it, typing 'wiki', pressing space, and start typing (Based on [OmniWiki](https://github.com/hamczu/OmniWiki)) -* Removal of the old search button -* Right-click a word or phrase inside any web page and select 'Wikipedia Search' to lookup -* Added new languages (Hayeren, Latina, Saxa Tyla, Cebuano, Srpskohrvatski) -* New options screen with clean interface -* Various bug fixes - -__New in Wikipedia Search 4.1.1:__ -* Fixed bug where the drop down box would not be the size of the text field - -__New in Wikipedia Search 4.1:__ -* Now using Roboto as main font (Arial as fallback) -* Added new languages (Cebuano, Eesti, Minangkabau, and Simple English) -* Minor UI changes - -__New in Wikipedia Search 4.0:__ -* Major code cleanup -* UI refresh -* Code now available on Github -* One-time alert that it is open source - --------------------------------------------------------- This program is free software: you can redistribute it and/or modify diff --git a/js/wikipedia.js b/js/wikipedia.js index fd13422..9e93a42 100644 --- a/js/wikipedia.js +++ b/js/wikipedia.js @@ -10,6 +10,9 @@ function save_options() { if (document.getElementById("language")) { localStorage["language"] = document.getElementById("language").value; localStorage["protocol"] = document.getElementById("protocol").value; + if (document.getElementById("protocol").value === "http://") { + document.getElementById("protocolalert").style.display = 'block'; + } if (document.getElementById("shortcut").checked === true) { localStorage["shortcut"] = "on"; } else { @@ -62,6 +65,7 @@ function reset_options() { window.addEventListener('load',function() { if (document.getElementById("language")) { + document.getElementById("protocolalert").style.display = 'none'; document.getElementById("language").value = localStorage["language"]; document.getElementById("protocol").value = localStorage["protocol"]; if (localStorage.getItem("shortcut") === "on") { diff --git a/manifest.json b/manifest.json index 8656a15..d8d1d06 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Wikipedia Search", - "version": "7.0.1", + "version": "7.0.2", "author": "Corbin Davenport", "homepage_url": "https://github.com/corbindavenport/wikipedia-search", "description": "Search Wikipedia in every language from the address bar.", diff --git a/settings.html b/settings.html index 2f06269..a921990 100644 --- a/settings.html +++ b/settings.html @@ -26,6 +26,7 @@

How to use

Settings

+

Using HTTP is not recommended.

diff --git a/welcome.html b/welcome.html index 4ffcdbc..32d388c 100644 --- a/welcome.html +++ b/welcome.html @@ -22,7 +22,7 @@

What's New?

New language: Added support for the Estonian, Georgian, Chechen, and Bulgarian Wikipedias.

Code cleanup: Wikipedia Search 7.0's codebase has been improved, especially with content scripts being adjusted to work much better.

And lots of minor bug fixes!

-

New in Wikipedia Search 7.0.1: Added settings button to Wikipedia pages when side panel is disabled.

+

New in Wikipedia Search 7.0.2: Added warning when using Wikipedia Search over HTTP connection.

Getting Started

@@ -98,8 +99,8 @@

Settings