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


  1. {  
  2.  "name": "My First Extension",  
  3.  "version": "1.0",  
  4.  "manifest_version": 2,  
  5.  "description": "The first extension that I made.",  
  6.  "browser_action": {  
  7.   "default_icon": "icon.png",  
  8.   "default_popup": "popup.html"  
  9.  },  
  10.  "chrome_url_overrides": {  
  11.   "newtab": "newtab.html"  
  12.  }  
  13. }  

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
  2. <html xmlns="http://www.w3.org/1999/xhtml">  
  3.   
  4. <head>  
  5. <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />  
  6. <title>TAB Page</title>  
  7. </head>  
  8.   
  9. <body>  
  10.   
  11. <h1>新しタブページ </h1>  
  12.   
  13. </body>  
  14.   
  15. </html>  


0 件のコメント: