Hello,
i have written a add-on, to clear the list of complete downloads.
Becouse the problem is, that the “clear-downloads” button in the Window, remove
all downloads in state: in_progress , interrupted , complete.
i want to leave the in_progress and interrupted still in the list.
so i tried it with:
browser.downloads.erase({ state: 'complete' });
so good, it clears the list of the Download-Icon in the Main Window.
but not in the Download-History Window.
thank you for help.
with regards
Andreas