Skip to content

Instantly share code, notes, and snippets.

@pdehaan
Last active February 4, 2019 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pdehaan/72ea2ccf30678c1a7ee34dfc1ffeb034 to your computer and use it in GitHub Desktop.
Save pdehaan/72ea2ccf30678c1a7ee34dfc1ffeb034 to your computer and use it in GitHub Desktop.
Return to AMO attribution

Re: https://bugzilla.mozilla.org/show_bug.cgi?id=1511071

  1. In Chrome, download Firefox release (64) via https://www.mozilla.org/en-US/firefox/download/thanks/?utm_campaign=non-fx-button&utm_content=%7BEF522540-89F5-46b9-B6FE-1829E2B572C6%7D&utm_medium=referral&utm_source=addons.mozilla.org

  2. Unarchive DMG and drag Firefox.app into ~/Desktop/Firefox.app.

  3. Copy showattrs.sh from https://bug1511071.bmoattachments.org/attachment.cgi?id=9028740 into ~/Desktop/.

  4. Open Terminal window at ~/Desktop/.

  5. Run ./showattrs.sh ./Firefox.app.

  6. Launch ~/Desktop/Firefox.app.

  7. Open tools > web developer > toggle tools.

  8. Go to settings > enable browser chrome debugging.

  9. Enter scratchpad and set environment to browser.

  10. Paste script from https://bug1511071.bmoattachments.org/attachment.cgi?id=9028744 into Scratchpad and click Run.

  11. View output in Browser Console. <---- not sure if this should work since we're on Firefox 64 (Release channel) at this point.

  12. Quit Firefox (release).

  13. In Chrome, download Firefox Nightly (66) via https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=osx&lang=en-US (from https://www.mozilla.org/en-US/firefox/channel/desktop/ page)

  14. Unarchive DMG and drag "Firefox Nightly.app" into ~/Desktop/FirefoxNightly.app

  15. Run the following commands in the terminal:

xattr -p com.apple.quarantine ./Firefox.app > com.apple.quarantine
xattr -w com.apple.quarantine "`cat com.apple.quarantine`" ./FirefoxNightly.app
  1. Run ./showattrs.sh ./FirefoxNightly.app and confirm the attributes match the results from step 5 above.
  2. Launch ~/Desktop/FirefoxNightly.app.
  3. Run steps 8-11 above in Firefox Nightly.
@mixedpuppy
Copy link

add a step 2a: rename Firefox.app to FirefoxSOMETHING_UNIQUE.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment