Giter Site home page Giter Site logo

Comments (6)

gildas-lormeau avatar gildas-lormeau commented on June 6, 2024

Unfortunately, this feature is technically impossible to implement in an extension because there is no API for associating a keyboard shortcut with the context menu or its entries.

from singlefile.

eugenesvk avatar eugenesvk commented on June 6, 2024

That's unfortunate. Would it be possible to at least expose more commands to the Extension shortcuts (there are 3 currently: activate, save all tabs, save selected)

For example, I like your extensions selection helper, use it the most, and thus would love to be able to launch it to force ask for selection (even if something is already selected for other purposes, I mentally prefer to "prepare to save, select something to save" rather than the other way around) and save it instead of saving whatever is preselected or the whole tab.

from singlefile.

gildas-lormeau avatar gildas-lormeau commented on June 6, 2024

The workflow you described should be possible with SingleFile today by enabling the option Annotation editor > annotate the page before saving and selecting Annotation editor > default mode > remove elements.

from singlefile.

eugenesvk avatar eugenesvk commented on June 6, 2024

That's different - (minor) it opens a new page, but also I don't need to remove the selected elements, I need to save them

from singlefile.

gildas-lormeau avatar gildas-lormeau commented on June 6, 2024

Would Annotation editor > default mode > remove external elements work for you instead?

from singlefile.

eugenesvk avatar eugenesvk commented on June 6, 2024

Thanks, this is closer, but I'll use an even better approach of fewer clicks by using the &accelerators to invoke the save selection action fully with a keyboard and then I'd only need a a single mouse click in the same tab (also the annotation seems to add a delay to preload the page before going into a selection mode, another minor downside, though it's more powerful)

from singlefile.

Related Issues (20)

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.