Export script doesn't work in Firefox 72
Scratchpad has been removed in Firefox version 72. The URL linked to in the script's comments about Scratchpad suggests using the multi-line editor of the console instead. Running the export script via the console returns:
TypeError: Cu is undefined
The Components object is deprecated. It will soon be removed.
Is this something that can be fixed? Is the console limited to the page context rather than the browser context (unlike Scratchpad)?
I haven't tried the import script. Was hoping to export my search engines for safekeeping, add a few more XMLs, then re-import.
Thanks!
Hi, sorry by the late response.
I haven't updated the scripts in a while: the TypeError: Cu is undefined error is known: I want to fix it in the next week.
About the removal of Scratchpad... I will check it: I don't know what I will do about that yet. Thanks for the notice.
About the removal of Scratchpad... I will check it: I don't know what I will do about that yet. Thanks for the notice.
Firefox deprecated Scratchpad but there is a workaround.
Firefox Console
-
Web Consoletab press the Ctrl+Shift+K or ⌘+⌥+K on MacOS from within the Inspector (press F12). -
Browser Consolewindow press Ctrl+Shift+J or ⌘+⌥+J on MacOS for the same thing but in a separate window.
To open a file, press Ctrl+O or ⌘+O on MacOS. A file dialog box opens so you can select the file to open.
On the other hand, you can copy the contents of the script then right click and paste into the editing pane.
Multi-line mode
- For multi-line entry, click the "split pane" icon at the right hand side of the single-line entry field, or press Ctrl+B or ⌘+B on MacOS. The multi-line editing pane opens on the left side.
In Multi-line mode, you click ▷ Run button or press Ctrl+Enter to execute instead of just Enter.
Hi, sorry by the late response. I haven't updated the scripts in a while: the
TypeError: Cu is undefinederror is known: I want to fix it in the next week.
See my comments in the respective Gists.
Still doesn't work even if the TypeError: Cu is undefined error is solved.
Outputs a seemingly empty .zip file.