Skip to content

Commit

Permalink
5.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mastef committed Sep 22, 2024
1 parent 482c2bf commit 61e1ec6
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"sourceType": "script",
"plugins": [
["inline-replace-variables", {
"__VERSION__": "5.2.1"
"__VERSION__": "5.2.2"
}]
]
}
2 changes: 1 addition & 1 deletion manifest-firefox.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Tab Manager Plus for Firefox",
"short_name": "Tab Manager+",
"version": "5.2.1",
"version": "5.2.2",
"manifest_version": 2,
"description": "Quickly find open tabs, see all windows in one view, find duplicates and limit tabs per window. The best Tab Manager for Firefox.",
"author": "stefanXO",
Expand Down
16 changes: 11 additions & 5 deletions outlib/TabManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ TabManager = function (_React$Component) {_inherits(TabManager, _React$Component
if (typeof localStorage["sessionsFeature"] === "undefined") localStorage["sessionsFeature"] = "0";
if (typeof localStorage["hideWindows"] === "undefined") localStorage["hideWindows"] = "0";
if (typeof localStorage["filter-tabs"] === "undefined") localStorage["filter-tabs"] = "0";
if (typeof localStorage["version"] === "undefined") localStorage["version"] = "5.2.1";
if (typeof localStorage["version"] === "undefined") localStorage["version"] = "5.2.2";

layout = localStorage["layout"];
tabLimit = JSON.parse(localStorage["tabLimit"]);
Expand Down Expand Up @@ -1662,17 +1662,23 @@ TabManager = function (_React$Component) {_inherits(TabManager, _React$Component
this.setState({
bottomText: "Allows you to restore your saved windows from an external backup" });

} }, { key: "toggleHide", value: function () {var _ref11 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11() {var granted;return regeneratorRuntime.wrap(function _callee11$(_context11) {while (1) {switch (_context11.prev = _context11.next) {case 0:_context11.next = 2;return (
} }, { key: "toggleHide", value: function () {var _ref11 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11() {var granted;return regeneratorRuntime.wrap(function _callee11$(_context11) {while (1) {switch (_context11.prev = _context11.next) {case 0:if (!(

browser.permissions.request({ permissions: ["system.display"] }));case 2:granted = _context11.sent;

navigator.userAgent.search("Firefox") > -1)) {_context11.next = 4;break;}
this.state.hideWindows = false;_context11.next = 8;break;case 4:_context11.next = 6;return (

browser.permissions.request({ permissions: ["system.display"] }));case 6:granted = _context11.sent;
if (granted) {
this.state.hideWindows = !this.state.hideWindows;
} else {
this.state.hideWindows = false;
}
}case 8:


localStorage["hideWindows"] = this.state.hideWindows ? "1" : "0";
this.hideText();
this.forceUpdate();case 7:case "end":return _context11.stop();}}}, _callee11, this);}));function toggleHide() {return _ref11.apply(this, arguments);}return toggleHide;}() }, { key: "hideText", value: function hideText()
this.forceUpdate();case 11:case "end":return _context11.stop();}}}, _callee11, this);}));function toggleHide() {return _ref11.apply(this, arguments);}return toggleHide;}() }, { key: "hideText", value: function hideText()

{
this.setState({
Expand Down
2 changes: 1 addition & 1 deletion outlib/TabOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ TabOptions = function (_React$Component) {_inherits(TabOptions, _React$Component
_this.state = {};return _this;
}_createClass(TabOptions, [{ key: "logo", value: function logo()
{
var logo = [React.createElement("img", { src: "images/browsers.svg", style: { maxWidth: "3rem" } }), React.createElement("h2", null, "Tab Manager Plus ", "5.2.1")];
var logo = [React.createElement("img", { src: "images/browsers.svg", style: { maxWidth: "3rem" } }), React.createElement("h2", null, "Tab Manager Plus ", "5.2.2")];

return (
React.createElement("div", { className: "logo-options" },
Expand Down
2 changes: 1 addition & 1 deletion outlib/TabOptionsFirefox.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ TabOptions = function (_React$Component) {_inherits(TabOptions, _React$Component
_this.state = {};return _this;
}_createClass(TabOptions, [{ key: "logo", value: function logo()
{
var logo = [React.createElement("img", { src: "images/browsers.svg", style: { maxWidth: "3rem" } }), React.createElement("h2", null, "Tab Manager Plus ", "5.2.1")];
var logo = [React.createElement("img", { src: "images/browsers.svg", style: { maxWidth: "3rem" } }), React.createElement("h2", null, "Tab Manager Plus ", "5.2.2")];

return (
React.createElement("div", { className: "logo-options" },
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tab-manager",
"version": "5.2.1",
"version": "5.2.2",
"description": "This is an extended version of the old Tab Manager Google Chrome extension. Should work on both Chrome and Firefox. Malware free, with a new view type and many new features.",
"main": "index.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <sub><img src="images/browsers64.png" width="64px" height="64px"></sub> Tab Manager Plus 5.2.1
# <sub><img src="images/browsers64.png" width="64px" height="64px"></sub> Tab Manager Plus 5.2.2

##### Search through your tabs instantly, save windows for later, limit open tabs per window - and many more.

Expand Down

0 comments on commit 61e1ec6

Please sign in to comment.