diff --git a/docs/spec/amp-cors-requests.md b/docs/spec/amp-cors-requests.md
index 9cefb14442e4..8598fdbabd20 100644
--- a/docs/spec/amp-cors-requests.md
+++ b/docs/spec/amp-cors-requests.md
@@ -422,7 +422,7 @@ You can use the `curl` command to verify that your server is sending the correct
In a same-origin request, the AMP system adds the custom `AMP-Same-Origin:true` header.
-Here's our curl command for testing a request from `https://ampbyexample.com` to the `examples.json` file (on the same domain):
+Here's our curl command for testing a request from `https://amp.dev` to the `examples.json` file (on the same domain):
```shell
curl 'https://amp.dev/static/samples/json/examples.json' -H 'AMP-Same-Origin: true' -I
@@ -434,7 +434,7 @@ The results from the command show the correct response headers (note: extra info
HTTP/2 200
access-control-allow-headers: Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token
access-control-allow-credentials: true
-access-control-allow-origin: https://ampbyexample.com
+access-control-allow-origin: https://amp.dev
access-control-allow-methods: POST, GET, OPTIONS
```
diff --git a/examples/amp-story/ampconf.html b/examples/amp-story/ampconf.html
index 425bb207ed09..2537d6596f0d 100644
--- a/examples/amp-story/ampconf.html
+++ b/examples/amp-story/ampconf.html
@@ -112,7 +112,7 @@
{
"ad-attributes": {
"type": "custom",
- "data-url": "https://ampbyexample.com/json/amp-story-auto-ads/"
+ "data-url": "https://amp.dev/static/samples/json/amp-story-auto-ads-0.json"
}
}
diff --git a/examples/amp-story/rtl.html b/examples/amp-story/rtl.html
index e9c520f599e0..8c148e26bad1 100644
--- a/examples/amp-story/rtl.html
+++ b/examples/amp-story/rtl.html
@@ -112,7 +112,7 @@
{
"ad-attributes": {
"type": "custom",
- "data-url": "https://ampbyexample.com/json/amp-story-auto-ads/"
+ "data-url": "https://amp.dev/static/samples/json/amp-story-auto-ads-0.json"
}
}
diff --git a/examples/article-access-multiple.amp.html b/examples/article-access-multiple.amp.html
index 0f6955b600c6..340090de8672 100644
--- a/examples/article-access-multiple.amp.html
+++ b/examples/article-access-multiple.amp.html
@@ -9,9 +9,9 @@
diff --git a/examples/auto-ads.amp.html b/examples/auto-ads.amp.html
index c0612303553a..789d1dccb69e 100644
--- a/examples/auto-ads.amp.html
+++ b/examples/auto-ads.amp.html
@@ -7,9 +7,9 @@
diff --git a/extensions/amp-ad-network-doubleclick-impl/single-page-ad.md b/extensions/amp-ad-network-doubleclick-impl/single-page-ad.md
index 8f6f183c31ef..8d8d1d31b8c5 100644
--- a/extensions/amp-ad-network-doubleclick-impl/single-page-ad.md
+++ b/extensions/amp-ad-network-doubleclick-impl/single-page-ad.md
@@ -40,7 +40,7 @@ See the above link for allowed call-to-action buttons. By design, these will be
## Example
-You can find a fully working example hosted on [ampbyexample.com](https://amp.dev/documentation/examples/advertising-analytics/doubleclick_amp_story_ads/).
+You can find a fully working example hosted on [amp.dev](https://amp.dev/documentation/examples/advertising-analytics/doubleclick_amp_story_ads/).
Google Ad Manager trafficking instructions can be found in the [DFP Help Center](https://support.google.com/dfp_premium/answer/9038178).
diff --git a/extensions/amp-ad-network-fake-impl/0.1/data/fake_amp.html b/extensions/amp-ad-network-fake-impl/0.1/data/fake_amp.html
index 10852f34cffd..c80a6fd0b425 100644
--- a/extensions/amp-ad-network-fake-impl/0.1/data/fake_amp.html
+++ b/extensions/amp-ad-network-fake-impl/0.1/data/fake_amp.html
@@ -1,7 +1,7 @@
+
diff --git a/extensions/amp-ad-network-fake-impl/0.1/data/fake_amp_visibilityspec.html b/extensions/amp-ad-network-fake-impl/0.1/data/fake_amp_visibilityspec.html
index be137aa38051..a4e282894405 100644
--- a/extensions/amp-ad-network-fake-impl/0.1/data/fake_amp_visibilityspec.html
+++ b/extensions/amp-ad-network-fake-impl/0.1/data/fake_amp_visibilityspec.html
@@ -30,7 +30,7 @@
-
+
diff --git a/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.html b/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.html
index 0ded45c0a131..67f9cb10dd0a 100644
--- a/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.html
+++ b/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.html
@@ -1,6 +1,6 @@
diff --git a/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.out b/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.out
index 069aa5972923..9ec9bf8509c7 100644
--- a/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.out
+++ b/extensions/amp-dynamic-css-classes/0.1/test/validator-amp-dynamic-css-classes.out
@@ -1,7 +1,7 @@
PASS
|
|
|
diff --git a/extensions/amp-install-serviceworker/0.1/test/test-amp-install-serviceworker.js b/extensions/amp-install-serviceworker/0.1/test/test-amp-install-serviceworker.js
index 338897febad9..a234d123c3ee 100644
--- a/extensions/amp-install-serviceworker/0.1/test/test-amp-install-serviceworker.js
+++ b/extensions/amp-install-serviceworker/0.1/test/test-amp-install-serviceworker.js
@@ -237,7 +237,7 @@ describes.realWin(
href: 'https://ampproject.org/',
},
{
- href: 'https://ampbyexample.com/components/amp-accordion/',
+ href: 'https://amp.dev/documentation/components/amp-accordion',
},
],
createElement: () => {
@@ -261,7 +261,7 @@ describes.realWin(
type: 'AMP__LINK-PREFETCH',
payload: [
'https://ampproject.org/',
- 'https://ampbyexample.com/components/amp-accordion/',
+ 'https://amp.dev/documentation/components/amp-accordion',
],
})
);
diff --git a/extensions/amp-list/amp-list.md b/extensions/amp-list/amp-list.md
index caa85f5854b7..32c81d3364ce 100644
--- a/extensions/amp-list/amp-list.md
+++ b/extensions/amp-list/amp-list.md
@@ -70,8 +70,8 @@ Here is the JSON file that we used:
"url": "https://www.ampproject.org/"
},
{
- "title": "AMP By Example",
- "url": "https://ampbyexample.com/"
+ "title": "AMP",
+ "url": "https://amp.dev/"
},
{
"title": "AMP Start",
diff --git a/extensions/amp-script/amp-script.md b/extensions/amp-script/amp-script.md
index 4d71aed7a898..d74e72e0daa3 100644
--- a/extensions/amp-script/amp-script.md
+++ b/extensions/amp-script/amp-script.md
@@ -153,7 +153,7 @@ You can use `amp-script` to add an `amp-img` or `amp-layout` component to the DO
`amp-script` supports getting and setting [`amp-state`](https://amp.dev/documentation/components/amp-bind/#defining-and-initializing-state-with-) JSON. This lets `amp-script` interact with other AMP elements on the page via [`amp-bind` bindings](https://amp.dev/documentation/components/amp-bind/#bindings).
-If you invoke `AMP.setState()` from `amp-script` after a user gesture, bindings can cause mutations to the DOM. Otherwise, state will be set, but binding will not occur (similar to [`amp-state` initialization](https://amp.dev/documentation/examples/components/amp-bind/?referrer=ampbyexample.com#initializing-state)). For more information, see [the section on user gestures](#user-gestures).
+If you invoke `AMP.setState()` from `amp-script` after a user gesture, bindings can cause mutations to the DOM. Otherwise, state will be set, but binding will not occur (similar to [`amp-state` initialization](https://amp.dev/documentation/examples/components/amp-bind/)). For more information, see [the section on user gestures](#user-gestures).
`AMP.setState()` works as described in the [`` documentation](), merging an object literal into the specified state. This example shows how it can affect the DOM: