xseei icon indicating copy to clipboard operation
xseei copied to clipboard

Export script doesn't work in Firefox 72

Open redactedscribe opened this issue 6 years ago • 4 comments

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!

redactedscribe avatar Jan 19 '20 14:01 redactedscribe

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.

nohamelin avatar Jan 25 '20 19:01 nohamelin

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 Console tab press the Ctrl+Shift+K or ⌘+⌥+K on MacOS from within the Inspector (press F12).
  • Browser Console window 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.

joshcangit avatar Feb 08 '20 16:02 joshcangit

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.

See my comments in the respective Gists.

joshcangit avatar Feb 08 '20 16:02 joshcangit

Still doesn't work even if the TypeError: Cu is undefined error is solved. Outputs a seemingly empty .zip file.

joshcangit avatar Apr 02 '20 14:04 joshcangit