Skip to content

Commit

Permalink
Version 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Soushi-Atsumi committed Jul 30, 2022
1 parent 81a2299 commit 9b6cfa7
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 171 deletions.
1 change: 0 additions & 1 deletion CreatePackage.ps1

This file was deleted.

14 changes: 0 additions & 14 deletions SearchInSidebar.sln
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "options", "options", "{6617
options\options.js = options\options.js
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sidebar", "sidebar", "{E3D4831D-0D4D-4DA5-A889-F025BA6EE8CD}"
ProjectSection(SolutionItems) = preProject
sidebar\sidebar.html = sidebar\sidebar.html
sidebar\sidebar.js = sidebar\sidebar.js
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "error", "error", "{4ACEC2FE-E522-42C9-B0B3-A134FFE01492}"
ProjectSection(SolutionItems) = preProject
error\permission_error.html = error\permission_error.html
error\permission_error.js = error\permission_error.js
EndProjectSection
EndProject
Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -80,8 +68,6 @@ Global
{CFF5DEB2-5055-4401-B1C6-C0A709DD5E8D} = {1EDDE9AD-DD48-4E8B-8A96-08C4012F90CA}
{6E558DB1-C9B8-4487-B8EF-B962EAE681A1} = {1EDDE9AD-DD48-4E8B-8A96-08C4012F90CA}
{661713F2-7EA3-4BCE-A715-C5D1946455B8} = {1EDDE9AD-DD48-4E8B-8A96-08C4012F90CA}
{E3D4831D-0D4D-4DA5-A889-F025BA6EE8CD} = {1EDDE9AD-DD48-4E8B-8A96-08C4012F90CA}
{4ACEC2FE-E522-42C9-B0B3-A134FFE01492} = {1EDDE9AD-DD48-4E8B-8A96-08C4012F90CA}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6D1C22B7-06AE-4BDA-94B7-9195472DEA0A}
Expand Down
10 changes: 0 additions & 10 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,6 @@
"description": "The title of options.html."
},

"permissionErrorTabs": {
"message": "An additional permission is required.",
"description": "A title of a page which is displayed when a user have not allowed tabs permission."
},

"permissionErrorTabsDescription": {
"message": "Seaching with a shortcut key requires a permission. Open permissions of this extension in a manager of extensions (about:addons) and allow permissions. This permission is used to get a selected text for searching.",
"description": "Description of a page which is displayed when a user have not allowed tabs permission."
},

"queryOfSearchEngine": {
"message": "Query of Search Engine"
},
Expand Down
10 changes: 0 additions & 10 deletions _locales/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,6 @@
"description": "options.htmlの題名。"
},

"permissionErrorTabs": {
"message": "追加の許可設定が必要です。",
"description": "tabs権限が許可されていない時に表示するページの題名。"
},

"permissionErrorTabsDescription": {
"message": "ショートカットキーを使った検索には権限が必要です。拡張機能の管理(about:addons)でこのアドオンの許可設定を開いて許可してください。この権限は選択した文字を検索するためだけに使用されます。",
"description": "tabs権限が許可されていない時に表示するページの説明。"
},

"queryOfSearchEngine": {
"message": "検索エンジンのクエリ"
},
Expand Down
3 changes: 0 additions & 3 deletions background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ async function main() {
panel: `${searchEngine}${searchEngineQuery}${selectedText}`
});
}
}, error => {
console.error(error);
browser.sidebarAction.setPanel({ panel: browser.runtime.getURL('error/permission_error.html') });
});

browser.sidebarAction.open();
Expand Down
25 changes: 0 additions & 25 deletions error/permission_error.html

This file was deleted.

25 changes: 0 additions & 25 deletions error/permission_error.js

This file was deleted.

6 changes: 2 additions & 4 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,12 @@

"name": "__MSG_extensionName__",

"optional_permissions": [ "*://*/*" ],

"options_ui": {
"page": "options/options.html",
"browser_style": true
},

"permissions": [ "contextMenus", "storage" ],
"permissions": [ "activeTab", "contextMenus", "storage" ],

"sidebar_action": {
"browser_style": true,
Expand All @@ -76,5 +74,5 @@
"default_panel": "index.html"
},

"version": "3.2.0"
"version": "3.2.1"
}
23 changes: 0 additions & 23 deletions sidebar/sidebar.html

This file was deleted.

56 changes: 0 additions & 56 deletions sidebar/sidebar.js

This file was deleted.

0 comments on commit 9b6cfa7

Please sign in to comment.