Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
zimocode committed Mar 17, 2022
2 parents 9d9f856 + 922323e commit 507b90b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions change.log
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"log": [
{
"ver":"7.1.376.1147",
"date":"2022.03.12",
"ver":"7.1.382.1148",
"date":"2022.03.17",
"content":[
"new action: Reopen in Incognito Window",
"action zoom: add new options, Reset default zoom factor as(%) and set the factor when page loaded or reloaded as default one",
Expand Down
2 changes: 1 addition & 1 deletion js/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ var sue={
sue.selEle.txt=window.getSelection().toString();
// fix firefox get selection frome textbox
if(browserType=="fx"){
if(e.target.tagName.toLowerCase()=="textarea"||(e.target.tagName.toLowerCase()=="input"&&e.target.type.toLowerCase()=="text")){
if(e.target&&e.target.tagName&&(e.target.tagName.toLowerCase()=="textarea"||(e.target.tagName.toLowerCase()=="input"&&e.target.type.toLowerCase()=="text"))){
sue.selEle.txt=e.target.value.substring(e.target.selectionStart,e.target.selectionEnd);
}
}
Expand Down
3 changes: 1 addition & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"minimum_chrome_version": "22",
"name": "__MSG_ext_name__",
"short_name":"smartUp",
"version": "7.1.376.1147",
"version": "7.1.382.1148",
"description": "__MSG_ext_des__",
"default_locale": "en",
"author":"zimo",
Expand Down Expand Up @@ -41,7 +41,6 @@
"image/*",
"icon.png"
],
"incognito": "split",
"permissions": ["tabs","<all_urls>","notifications","storage","contextMenus","unlimitedStorage","tts"],
"optional_permissions": ["downloads","downloads.shelf","clipboardRead","clipboardWrite","bookmarks","history","management","sessions","pageCapture","background","topSites"]
}

0 comments on commit 507b90b

Please sign in to comment.