diff --git a/site/source/docs/api_reference/html5.h.rst b/site/source/docs/api_reference/html5.h.rst
index 3a88e548f9a4a..c7e384aaed992 100644
--- a/site/source/docs/api_reference/html5.h.rst
+++ b/site/source/docs/api_reference/html5.h.rst
@@ -27,7 +27,7 @@ The HTML5 specifications for APIs that are mapped by **html5.h** include:
- `Pointer Lock Events for relative-mode mouse motion control `_.
- `Vibration API for mobile device haptic vibration feedback control
`_.
- - `Page Visibility Events for power management control `_.
+ - `Page Visibility Events for power management control `_.
- `Touch Events `_.
- `Gamepad API `_.
- `Beforeunload event
@@ -1559,23 +1559,23 @@ Defines
.. c:macro:: EMSCRIPTEN_EVENT_VISIBILITYCHANGE
- Emscripten `visibilitychange `__ event.
+ Emscripten `visibilitychange `__ event.
.. c:macro:: EMSCRIPTEN_VISIBILITY_HIDDEN
- The document is `hidden `_ (not visible).
+ The document is `hidden `_ (not visible).
.. c:macro:: EMSCRIPTEN_VISIBILITY_VISIBLE
- The document is at least partially `visible `_.
+ The document is at least partially `visible `_.
.. c:macro:: EMSCRIPTEN_VISIBILITY_PRERENDER
- The document is loaded off screen and not visible (`prerender `_).
+ The document is loaded off screen and not visible (prerender). This is a legacy state that is no longer part of the specification, and is not reported by current browsers.
.. c:macro:: EMSCRIPTEN_VISIBILITY_UNLOADED
- The document is to be `unloaded `_.
+ The document is to be unloaded. This is a legacy state that is no longer part of the specification, and is not reported by current browsers.
Struct
@@ -1583,7 +1583,7 @@ Struct
.. c:type:: EmscriptenVisibilityChangeEvent
- The event structure passed in the `visibilitychange `__ event.
+ The event structure passed in the `visibilitychange `__ event.
.. c:member:: bool hidden
@@ -1619,7 +1619,7 @@ Functions
.. c:function:: EMSCRIPTEN_RESULT emscripten_set_visibilitychange_callback(void *userData, bool useCapture, em_visibilitychange_callback_func callback)
- Registers a callback function for receiving the `visibilitychange `_ event.
+ Registers a callback function for receiving the `visibilitychange `_ event.
:param void* userData: |userData-parameter-doc|
:param bool useCapture: |useCapture-parameter-doc|
diff --git a/site/source/docs/porting/guidelines/browser_limitations.rst b/site/source/docs/porting/guidelines/browser_limitations.rst
index e311930a5b1ae..ed626b7520678 100644
--- a/site/source/docs/porting/guidelines/browser_limitations.rst
+++ b/site/source/docs/porting/guidelines/browser_limitations.rst
@@ -6,7 +6,7 @@ Specific Browser Limitations
This page lists some of the differences between the latest versions of the major browsers that are relevant to Emscripten-compiled applications and games:
-- The function :c:func:`emscripten_get_now` returns a wallclock time as a ``float`` in milliseconds. *Opera 12.16* and `Windows Google Chrome 28.0.1500.95 `_ have a limitation that the timer precision is only in milliseconds. On other major browsers (*IE10*, *Firefox 22*, *Chrome 28* on non-Windows) it has sub-millisecond precision.
+- The function :c:func:`emscripten_get_now` returns a wallclock time as a ``float`` in milliseconds. *Opera 12.16* and `Windows Google Chrome 28.0.1500.95 `_ have a limitation that the timer precision is only in milliseconds. On other major browsers (*IE10*, *Firefox 22*, *Chrome 28* on non-Windows) it has sub-millisecond precision.
- WebGL is not fully supported on *Internet Explorer*:
- *Internet Explorer 10* and older do not support WebGL. Trying to initialize a GL context via EGL, GLUT, SDL or similar will fail. Emscripten applications that do not depend on OpenGL can still run on this browser.
diff --git a/site/source/docs/tools_reference/settings_reference.rst b/site/source/docs/tools_reference/settings_reference.rst
index a56f1e6162212..9597ee165a6b3 100644
--- a/site/source/docs/tools_reference/settings_reference.rst
+++ b/site/source/docs/tools_reference/settings_reference.rst
@@ -252,7 +252,7 @@ ALLOW_MEMORY_GROWTH
If false, we abort with an error if we try to allocate more memory than
we can (INITIAL_MEMORY). If true, we will grow the memory arrays at
runtime, seamlessly and dynamically.
-See https://code.google.com/p/v8/issues/detail?id=3907 regarding
+See https://crbug.com/v8/3907 regarding
memory growth performance in chrome.
Note that growing memory means we replace the JS typed array views, as
once created they cannot be resized. (In wasm we can grow the Memory, but
@@ -881,7 +881,7 @@ LEGACY_GL_EMULATION
Includes code to emulate various desktop GL features. Incomplete but useful
in some cases, see
-http://kripken.github.io/emscripten-site/docs/porting/multimedia_and_graphics/OpenGL-support.html
+https://emscripten.org/docs/porting/multimedia_and_graphics/OpenGL-support.html
Default value: false
diff --git a/src/preamble.js b/src/preamble.js
index 4806e9ba20bcf..6a9ad47e27bb1 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -12,7 +12,7 @@
// site/build/text/docs/api_reference/preamble.js.txt
// You can also build docs locally as HTML or other formats in site/
// An online HTML version (which may be of a different version of Emscripten)
-// is up at http://kripken.github.io/emscripten-site/docs/api_reference/preamble.js.html
+// is up at https://emscripten.org/docs/api_reference/preamble.js.html
#if MAIN_MODULE
{{{ makeModuleReceiveWithVar('dynamicLibraries', undefined, '[]') }}}
diff --git a/src/settings.js b/src/settings.js
index 99c601827ff04..f24d1e4ce2497 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -191,7 +191,7 @@ var MAXIMUM_MEMORY = 2147483648;
// If false, we abort with an error if we try to allocate more memory than
// we can (INITIAL_MEMORY). If true, we will grow the memory arrays at
// runtime, seamlessly and dynamically.
-// See https://code.google.com/p/v8/issues/detail?id=3907 regarding
+// See https://crbug.com/v8/3907 regarding
// memory growth performance in chrome.
// Note that growing memory means we replace the JS typed array views, as
// once created they cannot be resized. (In wasm we can grow the Memory, but
@@ -504,7 +504,7 @@ var FULL_ES3 = false;
// Includes code to emulate various desktop GL features. Incomplete but useful
// in some cases, see
-// http://kripken.github.io/emscripten-site/docs/porting/multimedia_and_graphics/OpenGL-support.html
+// https://emscripten.org/docs/porting/multimedia_and_graphics/OpenGL-support.html
var LEGACY_GL_EMULATION = false;
// If you specified LEGACY_GL_EMULATION = 1 and only use fixed function pipeline
diff --git a/system/include/emscripten/emscripten.h b/system/include/emscripten/emscripten.h
index 43d2f2899dd0e..443b1fffaec7a 100644
--- a/system/include/emscripten/emscripten.h
+++ b/system/include/emscripten/emscripten.h
@@ -17,7 +17,7 @@
* site/build/text/docs/api_reference/emscripten.h.txt
* You can also build docs locally as HTML or other formats in site/
* An online HTML version (which may be of a different version of Emscripten)
- * is up at http://kripken.github.io/emscripten-site/docs/api_reference/emscripten.h.html
+ * is up at https://emscripten.org/docs/api_reference/emscripten.h.html
*/
#include "em_asm.h"
diff --git a/system/include/emscripten/html5.h b/system/include/emscripten/html5.h
index 15dd52ac8604c..cd891cbd231b8 100644
--- a/system/include/emscripten/html5.h
+++ b/system/include/emscripten/html5.h
@@ -29,7 +29,7 @@ extern "C" {
* site/source/docs/api_reference/html5.h.rst
* You can also build docs locally as HTML or other formats in site/
* An online HTML version (which may be of a different version of Emscripten)
- * is up at http://kripken.github.io/emscripten-site/docs/api_reference/html5.h.html
+ * is up at https://emscripten.org/docs/api_reference/html5.h.html
*/
#define EMSCRIPTEN_EVENT_KEYPRESS 1