Firefox/Projects/Firefox Start/Snippet Service: Difference between revisions

Jump to navigation Jump to search
Line 47: Line 47:
=== Testing Snippets with Local or Stage Service ===
=== Testing Snippets with Local or Stage Service ===


For testing against staging (ie. https://snippets.stage.mozilla.com) or a private
For testing against staging (ie. https://snippets.allizom.org) or a private
development instance of the server (ie. http://localhost:8000), you'll need to tell Firefox to use these sources instead of the regular snippet service. There are two ways to accomplish this: manually and using the snippets switcher plugin.
development instance of the server (ie. http://localhost:8000), you'll need to tell Firefox to use these sources instead of the regular snippet service. There are two ways to accomplish this: manually and using the snippets switcher plugin.
==== Add Security Exception for Snippets Staging ====
In order for either of the methods below to work, you'll need add an exception for snippets.stage.mozilla.com (because the the ssl cert for that site is currently expired). To do this navigate to https://snippets.stage.mozilla.com, click "I understand the risks" and then "Add exception" and then "Confirm security exception."


==== Manually Updating Snippet Source ====
==== Manually Updating Snippet Source ====
Line 58: Line 54:
# Navigate to about:config
# Navigate to about:config
# Search for '''browser.aboutHomeSnippets.updateUrl'''
# Search for '''browser.aboutHomeSnippets.updateUrl'''
# Change the value accordingly. For the stage server, add '''stage''' to the url so it starts https://snippets.stage.mozilla.com/.
# Change the value accordingly. For the stage server, add '''stage''' to the url so it starts https://snippets.allizom.org.
# If you only want to retrieve a specific snippet, replace %NAME% with the appropriate value.
# If you only want to retrieve a specific snippet, replace %NAME% with the appropriate value.
# Navigate to about:home.
# Navigate to about:home.
Confirmed users
950

edits

Navigation menu