// ==UserScript==
// @name        Add AWS region to title
// @namespace   curipha
// @description Help to know where I am now
// @include     https://console.aws.amazon.com/*
// @include     https://*.console.aws.amazon.com/*
// @version     0.0.2
// @grant       none
// @noframes
// ==/UserScript==

(function() {
  'use strict';

  const regelem = document.getElementById('nav-regionMenu');
  if (regelem) {
    const region = regelem.textContent.trim();
    document.title += ` (${ region.length > 0 ? region : '???' })`;
  }
})();

@@ -119,31 +119,31 @@
  am now%0A// @
-include
+match  
      https:/
@@ -176,15 +176,15 @@
 // @
-include
+match  
     

Use @match directive for safely host pattern matching