An accelerator ie. click + key on a text file link
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 ?
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.