Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Export script doesn't work in Firefox 72 #7

Open
redactedscribe opened this issue Jan 19, 2020 · 4 comments
Open

Export script doesn't work in Firefox 72 #7

redactedscribe opened this issue Jan 19, 2020 · 4 comments

Comments

@redactedscribe
Copy link

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!

@nohamelin
Copy link
Owner

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.

@joshcangit
Copy link

joshcangit commented Feb 8, 2020

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
Copy link

joshcangit commented Feb 8, 2020

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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants