ソースを参照

Properly display current version in popup

master
Said Achmiz 6年前
コミット
a0322b1174
2個のファイルの変更4行の追加1行の削除
  1. 1
    1
      popup.html
  2. 3
    0
      popup.js

+ 1
- 1
popup.html ファイルの表示

</head> </head>
<body> <body>
<div class='info-header'> <div class='info-header'>
AlwaysKillSticky <span class='version'>0.6</span>
AlwaysKillSticky <span class='version'>0.0</span>
</div> </div>
<div class='main-button-container'> <div class='main-button-container'>
<button type='button' class='main-button'></button> <button type='button' class='main-button'></button>

+ 3
- 0
popup.js ファイルの表示



function initialize() { function initialize() {
window.ASK = { }; window.ASK = { };
// Update version.
document.querySelector(".info-header .version").innerHTML = chrome.runtime.getManifest().version;


// Retrieve saved settings. // Retrieve saved settings.
chrome.tabs.query({currentWindow: true, active: true}, (tabs) => { chrome.tabs.query({currentWindow: true, active: true}, (tabs) => {

読み込み中…
キャンセル
保存