gavinsharp / SaveAsFilename

2 stars 0 forks source link

Firefox Quantum Update #4

Open alankchan opened 6 years ago

alankchan commented 6 years ago

Please update your plugin for compatibility to Firefox Quantum. Yours is the last plugin in my legacy extensions list left to be compatible with the new Firefox version.

tombrennan06 commented 6 years ago

Not an ideal replacement, but you could use a bookmarklet similar to the following: javascript:(function(){ var link = document.createElement('a'); if (typeof link.download === 'string') { document.body.appendChild(link); link.download = document.baseURI.split('/').pop().split('#')[0].split('?')[0]; link.href = document.baseURI; link.click(); document.body.removeChild(link);} else { location.replace(uri);}})();