File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ <h3 i18n="chrome_experimental_rules"></h3>
5050</ section >
5151< footer >
5252 < a id ="whatIsThis " href ="https://www.eff.org/https-everywhere " target ="_blank " tabindex ="-1 " i18n ="chrome_what_is_this "> blah</ a >
53+ < p > < small > (Version: < span id ="current-version "> </ span > )</ small > </ p >
5354 <!-- <a href="" title="HTTPS Everywhere Options">Options</a> -->
5455</ footer >
5556
Original file line number Diff line number Diff line change @@ -90,6 +90,11 @@ document.addEventListener("DOMContentLoaded", function () {
9090 unstableRules = document . getElementById ( "UnstableRules" ) ;
9191 chrome . tabs . getSelected ( null , gotTab ) ;
9292
93+ // Print the extension's current version.
94+ var the_manifest = chrome . runtime . getManifest ( ) ;
95+ var version_info = document . getElementById ( 'current-version' ) ;
96+ version_info . innerText = the_manifest . version ;
97+
9398 // Set up toggle checkbox for HTTP nowhere mode
9499 getOption_ ( 'httpNowhere' , false , function ( item ) {
95100 var httpNowhereCheckbox = document . getElementById ( 'http-nowhere-checkbox' ) ;
You can’t perform that action at this time.
0 commit comments