• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    An accelerator ie. click + key on a text file link

    Opera for Linux
    2
    2
    1080
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mardiyah
      mardiyah last edited by

      is there accelerator ie. click + key on a text (or akin of it) file/page link, which will directly downoad that file ?

      Reply Quote 0
        1 Reply Last reply
      • burnout426
        burnout426 Volunteer last edited by

        You could write a user script (for use with a UserScript extension) that modifies links with the "txt" extension to have the 'download' attribute so that just left-clicking the link downloads it. URLs that don't end in ".txt" that server a text file wouldn't trigger the behavior though.

        Or, you might be able to find a header-modifying extension that changes served files with a header of Content-Type: text/plain to also have the header Content-Disposition: attachment. That should do the trick to trigger a download when left-clicking a link to a text/plain file.

        There might be some extension that forces txt links to download so you don't have to write your own script.

        As for a modifier key for when you left-click something, I'm not sure. But, if there's a solution for Chrome, it might work in Opera too.

        Reply Quote 0
          1 Reply Last reply
        • Locked by  leocg leocg 
        • First post
          Last post

        Computer browsers

        • Opera for Windows
        • Opera for Mac
        • Opera for Linux
        • Opera beta version
        • Opera USB

        Mobile browsers

        • Opera for Android
        • Opera Mini
        • Opera Touch
        • Opera for basic phones

        • Add-ons
        • Opera account
        • Wallpapers
        • Opera Ads

        • Help & support
        • Opera blogs
        • Opera forums
        • Dev.Opera

        • Security
        • Privacy
        • Cookies Policy
        • EULA
        • Terms of Service

        • About Opera
        • Press info
        • Jobs
        • Investors
        • Become a partner
        • Contact us

        Follow Opera

        • Opera - Facebook
        • Opera - Twitter
        • Opera - YouTube
        • Opera - LinkedIn
        • Opera - Instagram

        © Opera Software 1995-2025