タブを開いたときに表示するページを変更


{
 "name": "My First Extension",
 "version": "1.0",
 "manifest_version": 2,
 "description": "The first extension that I made.",
 "browser_action": {
  "default_icon": "icon.png",
  "default_popup": "popup.html"
 },
 "chrome_url_overrides": {
  "newtab": "newtab.html"
 }
}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>TAB Page</title>
</head>

<body>

<h1>新しタブページ </h1>

</body>

</html>



0 件のコメント: