Chrome アプリで外部サイトを表示したい場合は
<webview> 要素を使って実現できる。
<webview> は Chrome アプリでのみ使用可能。
<webview> Tag - chrome
<webview id="foo" src="http://www.google.com/" style="width:640px; height:480px"></webview>
<webview id="foo" src="http://www.google.com/" style="width:640px; height:480px"></webview>
<a href="http://yokano-jp.blogspot.jp/" target="_top"></a>
var selected = $('input[name="my_input"]:selected');
alert('選択されたのは' + selected.val() + 'です');
<div class="input-group">
<span class="input-group-btn">
<button class="btn btn-default">更新</button>
</span>
<input type="text" class="form-control">
</div>
docCookies.setItem(name, value[, end[, path[, domain[, secure]]]])
collapsArch('useCookies=0');
"background": {
"scripts": [
"foo.js",
"background.js"
]
}
function addExpandCollapse(id, expandSym, collapseSym, accordion) {
jQuery(document).on('click', 'span.expand', function() {
if (accordion==1) {
var theDiv = jQuery(this).parent().parent().find('span.collapse').parent().children('div');
jQuery(theDiv).hide('normal');
jQuery(this).parent().parent().find('span.collapse').removeClass('collapse').addClass('expand');
createCookie(theDiv.attr('id'), 0, 7);
jQuery(this).parent().parent().find('span.sym').html(expandSym);
//jQuery('#' + id + ' .expand .sym').html(expandSym);
}
expandArch(this, expandSym, collapseSym);
return false;
});
jQuery(document).on('click', 'span.collapse', function() {
collapseArch(this, expandSym, collapseSym);
return false;
});
}
<?php previous_posts_link() ?> <?php next_posts_link() ?>
/**
* インストールされた時の処理
*/
chrome.runtime.onInstalled.addListener(function() {
// ここにインストール時の処理
});