Blog Posts
Showing posts with label suc. Show all posts
Showing posts with label suc. Show all posts

Friday, November 13, 2020

SimpleUndoClose 1.3.11 & SimpleUndoRecents 1.0.3

New versions for the undo closed tabs duo!

Mainly to add the dark theme and selection of theme.

As usual will be up after they pass review.
Looks like Opera is faster this time.

Tuesday, February 13, 2018

SimpleUndoClose 1.3.10 & SimpleTabOrder 0.5.12

Some translation updates!

For SimpleUndoClose its an updated traditional Chinese translation by user 2htw. Also did some edits to the Chinese translations, the meaning is wrong in the Credits section probably due to my reliance on Google Translate and overlooking the result.

For SimpleTabOrder its an updated Russian translation by user cvvar00.


Friday, January 19, 2018

SimpleUndoClose 1.3.9

First update of 2018!
A bug fix release.

Recently I notice if I delete an entry and leave the cursor on the delete button for a while the long press UI change will come in. It only happens on the default style. Its fixed.

Then if the long press delay text field is empty in options, clicking an entry will immediately bring in the long press UI change. Added code to check for that to fix it.

Friday, November 3, 2017

Search bar clear button

A minor version up to SimpleUndoClose, SimpleUndoRecents, SimpleExtManager and Bookmarks by the Side.

Its mainly the addition of a clear button on the search bar. When you type something a "X" will appear at the right end of the bar. Pressing it will clear what you typed.

Came by suggestion by user cvvaroo.
I think someone requested it too.
Also updated Russian translation of SimpleUndoRecents, contributed by cvvaroo too.

Bookmarks by the Side already had it implemented, this update just improve the style of it  for dark mode.

SimpleUndoClose and SimpleUndoRecents also include HTML escaping for page titles to prevent XSS attack as reported by user 杀生丸子.

Applied 3 digit simplified version numbering too.

Tuesday, May 9, 2017

SimpleUndoClose 1.3.7.2

Another quick bug fix.

Something I suppose most users won't notice.
The blue buttons and search field appeared when theres no entries.
This release fixes that.

Monday, May 8, 2017

SimpleUndoClose 1.3.7.1

A quick bug fix release.
Thank to user Dmitriy Kruglyak for spotting the bug.

Apparently if the user do the checkbox multi delete more than one time while the popup is still open more and wrong entries will be deleted. A fast fix as I know whats wrong, I forgot to clear the checked queue after doing a delete. Added the code and it should be fine now.

Noticed that checked entries will come unchecked when the user go to the next page and back. Got that fixed as well.

Thursday, May 4, 2017

SimpleUndoClose 1.3.7

Another one for SimpleUndoClose!
A bump up on the third number.
A new feature which I won't use often :P
  • The new Checkbox Mode
  • Middle click behaviour
  • Minor cosmetic tweaks
Opera users will get this version late as I made a mistake and realized after I submitted, trying to get the mod to revert the submission. Also the Opera moderation team seem awfully quiet lately, holidays?

Wednesday, April 26, 2017

SimpleUndoClose 1.3.6.1

A quick bug fix.

Noticed the radio buttons for the entry delete button styles always revert to "Default" on opening settings. Reason being I forgot to change something in the code, changed it proper and its fixed.

Monday, April 24, 2017

SimpleUndoClose 1.3.6

Added something new to the settings page but also removed something.

New feature - entry delete button styles.
Removed feature - double click undo.

Double click undo have to go as I don't have a way to make it work predictably with event pages. Please use the custom undo hotkey instead.

The new entry delete button styles might be cosmetic to most users but it all started with an issure brought up by user Matthias Ernst. He had a problem where by deleting many entries with the cursor at the same position will trigger one of them instead of delete it. I couldn't reproduce the problem but got interested in the problem. After some testing I went with his suspicion and decoupled the delete part from the link part - that became the Classic style.

I still feel an attachment to the animated delete button so its still the default.
Theres someone who asked for an option to disable the delete buttons so I added the Delete-less style for that.

Wednesday, November 30, 2016

SimpleUndoClose 1.3.5.4

A quick maintenance release.

First a big thank you to user Ehsan Kia as he provided the code used in this release.

Ehsan had the problem where SimpleUndoClose stopped working after months and he had a large value set for saved tabs. He found out that theres a lot of orphaned closed tab entries clogging up the localstorage tripping the quota and triggering a limit.

The fix is to clean out any orphaned closed tab entries every time Chrome starts.
This could be the fix for all users who set large values set for saved tabs.

Monday, March 7, 2016

SimpleUndoClose 1.3.5.3 & SimpleUndoRecents 1.0.1.5

Another thing I missed as I don't use a Mac.

User mua z commented on the options not saving on the Mac and provided the console error. Turns out it another fragment of the old custom hotkey code which I didn't remove. Removed it and the options should save again.

Friday, March 4, 2016

SimpleUndoClose 1.3.5.2 & SimpleUndoRecents 1.0.1.4

Another maintenance update.

Triggered by the need to fix the badge that was not updated when the tab list is cleared. Apparently the method didn't address the scenario where the tab list is empty, added it in and its fixed. (Or perhaps I removed that in a previous update.) Anyway thanks to XEOxXTH for first reporting it.

Somehow fixing that bug got me to tinker with the double click code too. Messed around it for one night but my methods gave inconsistent results. So I went to Google and found a nice double click listener. Its consistent BUT as my extensions use the event page they get unloaded from memory after some idle time SO usually the first double click try won't work but it will wake up the background page and it will work on the next try (activate wait as bit then double click).

Ok, the both the new and old double click code don't work on Opera 35. Perhaps Opera changed the Chromium code?

I could make the extension stay in memory all the time Chrome is running but I don't want that. But that stands in the way of a perfect double click function :P (On the other hand if I make it persistent then maybe there will be people that will complain.)

Also I should have fixed the "phantom" next page problem in SimpleUndoRecents.


Sunday, February 28, 2016

SimpleUndoClose 1.3.5.1 & SimpleUndoRecents 1.0.1.1

Some bugs went past my sloppy testing, luckily I caught them fast enough :P

The breaking one was in SimpleUndoClose. 2 lines of residual code for the old hotkey method was still there causing an error that blocks the saving of preferences. Removed them and the Options page is working again.

How did I notice that?

Its from noticing that theres 4 events thats waking SimpleUndoRecents, all 4 to update the badge count. Since it uses the sessions API it seems sufficient to listen to just one event. So I removed the other 3. Then I saw that the method to update badge count is pretty involved and its called a few times so I make it that if the badge is hidden don't run the involved part. Then while testing I notice that the badge doesn't show/hide when checking/unchecking the option. Its caused by an if statement.

Then while testing the badge in SimpleUndoClose I found that the options page is not saving.

Then the rush to fix it and upload the .1 updates :P
Kind of a rush so I hope... XD

SimpleUndoClose 1.3.5 & SimpleUndoRecents 1.0.1

A small update after some time.

Mainly this update deals with the custom hotkey function.
I've changed the code to use Chrome's Keyboard Shortcuts feature (that link at the bottom right of chrome://extensions). The key press should be more accurate compared to the old method (Wouldn't have noticed if not for Will Lucic's comment).

Speaking of the old method, it uses a content script which was injected into all pages loaded to detect key press. With the switch to the new method this was removed along with the extra permission needed for it. The options page is edited to direct to Chrome's dialog, you may have to scroll down if you have many extensions. The default set is "Alt-Z" ("Alt-X" for SimpleUndoRecents).

Next change is the allowance of "chrome-extension://" URLs.
According to the comment by zloidooraque tab suspending extensions uses these URLs so I edited the regex and allowed them.

Also Serbian and Spanish translations are added, thanks to those who contributed.


Saturday, March 7, 2015

Welcoming translations!

Just found a great place to collaborate on extension translations!
At Interpr.it theres an interface for translators to enter the translations, no messing with JSON files or spreadsheets for translators.

For interested translators you can contribute here:

For locale code to language name, please refer here.

Monday, December 8, 2014

SimpleUndoClose 1.3.4.1 & SimpleUndoRecents 1.0.0.1

Minor bug fix!
Something eluded testing.

Fixed the layout of the rows in the search results when the popup is scrollable.

SimpleUndoClose 1.3.4 & SimpleUndoRecents 1.0

Addition of 2 new looks function.

First, the option to set the width of the popup. This is from a suggestion by Alex PORT. Now in addition to multiline page titles you can also set the width of the popup to see more of the page title!

Next, the option to move the time text to the right end. This makes the rows more compact (and its also a tribute to  Sexy Undo Close Tab). Wanted to do this for a long time but only started on it these few days.

Another minor cosmetic change is in the search bar area, works the same but theres changes underneath. The discovery of border-box cut down quite a few lines of code pertaining to the sizing of the search bar.

Wednesday, September 24, 2014

SimpleUndoClose 1.3.3.5

A quick minor fix release!

Due to changes to try not to location.reload() the popup I found that upon deleting the full list of closed tabs does not show the no tab message. This is a quick fix for that.

Also added a few more code tweaks, like pressing clear now won't close the popup and another one that repopulates the list instead of relying on reloading the whole popup.

This build will come to Opera soon too after its approved.
Its up already.

SimpleUndoClose 1.3.3.4

A release mainly to fix the wrong time displayed for tabs saved on browser close. Also packs some minor modification on looks.

The method used to record the browser close time is unreliable thus the "16331 days ago" problem, it would work if you have a background app like Pushbullet keeping the Chrome.exe running (Took me some time to realize as I have Pushbullet running). I've tested it and found that if theres only one Chrome window my code won't save the browser close time when that window closes.

I've reverted it back to the standard way for 1.3.3.4 so the timing should look normal now. Thanks to Charles Wang who reported it.

For the looks department I've redesigned the per entry delete button, its now the full height of a list entry and 28 pixels wide. No need to jiggle your cursor anymore, just aim at the right end of a list entry. This one is for Steve Cauffiel.

Finally other minor modifications to dimensions and paddings of elements in the search bar row.

EDIT: Found some minor bugs, 1.3.3.5 coming soon.

- post #50 :P

Monday, July 7, 2014

The other 3 updates

About the other 3 (minor) updates.

They are just on the cosmetic side, something I wanted to rectify for a long time.

The space between the chcekbox/radio button and the text label in the Options page.
Minor but its been bugging me for quite some time.

For SimpleUndoClose theres also a little more space between the page icon and text.

Spacing adjustments also in the SimpleExtManager update.

7+7=14 :P