This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>テストーutf8</title> | |
| <body > | |
| <h1>テストーutf8</h1> | |
| <br /> | |
| <p>test-moji</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>テストー utf8</title> | |
| <body > | |
| <h1>テスト2ーutf8</h1> | |
| <br /> | |
| <p>test-moji-2</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Item = function() { | |
| this.id = 0; | |
| this.title ='' | |
| this.url = ''; | |
| this.toString = function() { | |
| window.alert(this.id + " ," + this.title+ ", "+ this.url_b ); | |
| }; | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var mMAX_CountItem=5; | |
| function ctlNews() { | |
| this.name = 'ctlNews'; | |
| } | |
| ctlNews.prototype.load_rss = function( surl ) { | |
| var items =new Array(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| onload = function() { | |
| document.querySelector('a#id-a-open').onclick = function() { | |
| click_sub(); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function click_sub() | |
| { | |
| chrome.app.window.create( | |
| 'sub.html', | |
| {id: "browserSlideID", | |
| bounds: { | |
| 'width' : 1024, | |
| 'height': 600 | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function click_sub() | |
| { | |
| chrome.app.window.create( | |
| 'sub.html', | |
| {id: "browserSlideID", | |
| bounds: { | |
| 'width' : 1024, | |
| 'height': 600 | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function click_addStore() | |
| { | |
| var ct = mItems.length; | |
| mItems[ct] = {'id': ct, 'text': 'test-'+ ct }; | |
| chrome.storage.local.set({ 'strlist' : mItems }); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function click_showStore() | |
| { | |
| $('div#id-div-box').remove(); | |
| var divShow =$('#id-div-diplay'); | |
| var divBox= $('<div id="id-div-box"></div>') | |
| chrome.storage.local.get( 'strlist' , function(value) { | |
| if(value && value.strlist) { | |
| console.log( value.strlist ); | |
| console.log( 'len='+ value.strlist.length ); | |
| var items = value.strlist; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function click_deleteStore() | |
| { | |
| mItems= new Array(); | |
| chrome.storage.local.set({ 'strlist' : mItems }); | |
| $('div#id-div-box').remove(); | |
| } |
OlderNewer