midenok-forks / stylish-chrome

Stylish extension for Chrome and Chrome-like things
GNU General Public License v3.0
0 stars 0 forks source link

Export styles as moz-document in single file #1

Open midenok opened 6 years ago

midenok commented 6 years ago

Moz-document is VCS and text-editor friendly.

Links

Multi-download

midenok commented 6 years ago

image image

midenok commented 6 years ago

toMozillaFormat()

image

Main problem it's in edit screen.

midenok commented 6 years ago

edit.js is inited when window is loaded:

window.addEventListener("load", init, false);

function init() {

Make some kind of hidden document?

midenok commented 6 years ago

How to download multiple files into Downloads subdirectory:

https://stackoverflow.com/questions/46583895/chrome-extension-change-download-folder-for-specific-download

How to upload multiple files:

https://medium.com/typecode/a-strategy-for-handling-multiple-file-uploads-using-javascript-eb00a77e15f

midenok commented 6 years ago

(answer)

It is impossible when "Ask where to save each file before downloading" Enabled (as of 70.0.3538.77). The corresponding Chromium bug is:

Bug 417112: chrome.downloads.download ignore saveAs

Moreover setting filename in chrome.downloads.downloads() also doesn't work.

Bug 758094: Extension can not rename downloaded file