Code Monkey home page Code Monkey logo

undo-closed-tabs-button's People

Contributors

andy-portmen avatar spacy01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

undo-closed-tabs-button's Issues

Menu glitch

Setting remember history for 21+ history makes the menu starts to have problems. FOr example at 21 "Clear history" disappears 22 makes "Show full tab history" disappear and so on. Seems like the menu can't make itself bigger than 20 items. Probably a scroll bar should be added to be able to display more than 20 items.

Clicking

I noticed this with other similar extension too called browser tab history or something like that. Sometimes when I click 1 item of the list to recover it the first click does nothing I have to re open the menu and click it again for it to work. Is this something firefox does or something about history of the browser or what could it be?

clear History

I noticed that clear history clears all the history of the browser which is not what I was expecting. Could you make it to only clear the list of the closed tabs instead and keep the history the same? and if that's not possible could you make it so that it only cleans the entries shown on the list and not all the history of the browser please?

Add options to remove unnecessary/undesired popup entries

Enhancement requests:

Change the toolbar icon to something that does not appear to be in a permanently 'disabled' state.

Add options to remove/not display the popup menu entries for:

  1. Open All in Tabs
    -- very unlikely to be needed in my experience
  2. Clear History
    -- seems odd/out of place to include in a plugin directed at unclosing recent tabs
    -- something I would never want to do
    -- others have commented that they find this option dangerously too easily selected

Thanks,
Gerald

Firefox 57 compatibility

This add-on is marked incompatible with Firefox 57. If this isn't changed, this addon will be useless in a month. Which would be very unfortunate because I really like it. It happens too often that a tab was accidently closed because the mouse cursor was moving in strange ways or the tabs were moving beneath the cursor. It's good to have that tab with its full state, including the history, available.

Alternatively, are there any other addons that do the same in Firefox 57? Most addons I've found for Chrome a few years ago just re-opened the last URL of a tab, but didn't restore their history. Firefox can do that alone.

Feature Request: One Click to Undo, Hold to show full list

In the original version of Undo Closed Tab if you clicked the icon it just automatically restored the last closed tab. If you wanted to see the full list you would just click and hold it. I think this makes more intuitive sense because the majority of time you're only looking to restore the tab you just closed, so a single click is much quicker. Also, it would bring it more inline with how other buttons work like back and forward, i.e. one click goes back, and if you hold you can see your previous pages.

Thanks!

Migrate to WebExtensions

As mentioned in #3, the add-on will be migrated to WebExtensions.
What kind of options will be possible and when will it be available? (the commits here seem outdated).

Drop-down list

All the closed tabs are displayed in the drop-down list, but will you be able to select option to display only the closed tab in the current window?
It is useful to be able to display only the tabs of the current window like before (not web-ext).

Repository is outdated

The latest update hasn't been pushed to GitHub. Can you please update the repository to version 0.1.7?

Extension icon does not retain its position if placed on tab bar next to min/max/close buttons

Steps to reproduce:

  1. Install Undo Closed Tabs Button (revived) in a new profile on Windows.
  2. Click hamburger menu > Customize.
  3. Move the extension icon next to min/max/close buttons.
  4. Put another icon between extension icon and min/max/close as below:
    undo_close_tabs_button
  5. Click Done to exit Customize mode.
  6. Restart browser.

Actual result:

Undo Closed Tabs icon is moved to directly next to min/max/close:
undo_close_tabs_button2
If I, however, enter Customize mode again, the icons return to their intended positions automatically.

Other details:

OS: Win10 1803
Browser: Firefox 60 and current Nightly

Bad performance

Using the just released about:performance I discovered that Undo Closed Tabs Button is slowing down my Firefox:
"Undo Closed Tabs Button seems to have slown down Firefox very often. When this happens, the slowdown is generally noticeable"
Impact on framerate: 0 high-impacts, 165 medium-impact.
CPU usage: 1% (total 614400ms).
System usage: 1% (total 44237ms).
Blocking process calls: 0% (total 0ms).
Measure start: 2124 seconds ago.

Undo Closed Tabs Button 3.9.9
Firefox 47
Kubuntu 16.04 64bit

maxResults only 25 and not related to browser.sessionstore.max_tabs_undo

In the file:
WebExtension/data/options/index.js
the maximum for "Number of undo items displayed in the popup" is determined with:
maxResults: Math.min(chrome.sessions.MAX_SESSION_RESULTS, Math.max(2, maxResults)),
and that is 25 as I can read in the Mozilla doc about MAX_SESSION_RESULTS
But this maximum should in fact be related to the config (in about:config) for:
browser.sessionstore.max_tabs_undo
which the user can set arbitrarily.

cache icons

Could you make the icons on the list only download once (idk if possible for a webext but maybe use the ones firefox already downloaded) and then use from cache or something instead of loading them every time. It tales like 3-5 seconds to load all the icons each time.

Broken on dark themes

Extension seem to be hardcoding background as white BUT does not define its own font colour so in dark themes we get invisible white-on-white menu. It should either define all its own colour or not at all.

Favicons

On the pictures you did put on AMO for Undo Closed Tabs Button (revived) it shows favicons but I'm not able to see the favicons.

BTW could you explain me how there are some closed tabs that have an icon to open them in an other window. Are those closed windows or just closed tabs from an other window other than the current one?

Broken with Firefox 62.x

No tabs available to restore. Reports "Nothing to Restore!"

Seems to have stopped working with Firefox 62.x (currently 62.0b10). Originally, I thought it might be due to having First Party Isolation enabled, but the problem persists after disabling FPI.

Tested on Windows 10 Enterprise x64, so far.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.