Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 7 commits
  • 10 files changed
  • 0 commit comments
  • 1 contributor
View
4 hatenabookmark.safariextension/Info.plist
@@ -11,9 +11,9 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleShortVersionString</key>
- <string>1.0.3</string>
+ <string>1.1.0</string>
<key>CFBundleVersion</key>
- <string>1.0.3</string>
+ <string>1.1.0</string>
<key>Chrome</key>
<dict>
<key>Database Quota</key>
View
1  hatenabookmark.safariextension/background/config-setting.js
@@ -30,6 +30,7 @@
'popup.tags.showAllTags': false,
'popup.bookmark.confirmBookmark': false,
'popup.bookmark.postTwitter': false,
+ 'popup.bookmark.postFacebook': false,
'popup.bookmark.postMixiCheck': false,
'popup.bookmark.addAsin': false,
'popup.bookmark.lastCommentValue': {},
View
127 hatenabookmark.safariextension/background/popup.css
@@ -516,6 +516,7 @@ a.username {
#edit {
width:100%;
display: table;
+ padding: 0 3px;
}
#edit > .table-row {
@@ -525,6 +526,17 @@ a.username {
#edit > .table-row > .table-left {
display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-box-flex: 1;
+}
+
+#edit > .table-row > .table-left > .table-row {
+ display: -webkit-box;
+ -webkit-box-orient: horizontal;
+}
+
+#edit > .table-row > .table-left > .table-row > .edit-cell {
+ display: block;
-webkit-box-flex: 1;
}
@@ -536,8 +548,12 @@ a.username {
}
#buttons {
- width:100%;
- display: table;
+ text-align: right;
+}
+
+#buttons > .table-row,
+#buttons > .table-row > .edit-cell {
+ display: inline-block;
}
#buttons * input {
@@ -548,14 +564,6 @@ a.username {
padding: 1px 0 1px 0;
}
-/* #buttons div.edit-cell:first-child { */
-/* width: 100%; */
-/* } */
-
-#buttons div.table-row {
- text-align : right;
-}
-
.edit-left {
font-size: 90%;
font-weight: bold;
@@ -583,10 +591,6 @@ a.username {
float: right;
}
-#url-container {
- padding-top: 0;
-}
-
/* }}} */
@@ -616,6 +620,22 @@ a.username {
border-radius: 3px;
}
+#bookmarked-notice-text {
+ margin-right: 8px;
+}
+
+#delete-button {
+ -webkit-appearance: none;
+ background: none;
+ margin: 0;
+ padding: 0;
+ border: none;
+ font-weight: normal;
+ color: #00d;
+ text-decoration: underline;
+ cursor: pointer;
+}
+
#type-counter {
float: right;
margin-top: 5px;
@@ -641,10 +661,26 @@ a.username {
#checkbox-options {
padding: 3px;
font-size: 90%;
+ line-height: 1.7;
+}
+
+#checkbox-options dt {
+ font-weight: bold;
+ margin-right: 3px;
+ display: inline;
+}
+
+#checkbox-options dd {
+ display: inline;
+}
+
+#checkbox-options dd + dt:before {
+ content: '\A';
+ white-space: pre;
}
#checkbox-options label {
- margin-right: 5px;
+ margin-right: 7px;
display: inline-block;
vertical-align: middle;
cursor:pointer;
@@ -656,40 +692,48 @@ a.username {
}
#post-twitter-label .label-text,
+#post-facebook-label .label-text,
#post-mixi-check-label .label-text,
-#private-label .label-text {
- background: -2px 50% no-repeat;
- padding-left: 14px;
+#private-label .label-text,
+#send-mail-label .label-text {
+ background: 0px 50% no-repeat;
+ margin-left: 2px;
+ padding-left: 17px;
}
#post-twitter-label .label-text {
background-image: url(../images/add-twitter.png);
}
+#post-facebook-label .label-text {
+ background-image: url(../images/icon-facebook.png);
+}
+
#post-mixi-check-label .label-text {
- background: url(../images/icon-mixi.png) 0px 50% no-repeat;
- padding-left: 18px;
+ background-image: url(../images/icon-mixi.png);
}
#private-label .label-text {
background-image: url(../images/add-private.png);
}
-#asin-container {
- display: none;
+#send-mail-label .label-text {
+ background-image: url(../images/icon-mail.png);
}
-#option-help-separator {
- visibility: hidden;
- display: -webkit-box;
- -webkit-box-flex: 1;
+#asin-container {
+ display: none;
}
-#option-help-container {
- background: #f3f3f3 url(../images/option-help-marker.png) left center no-repeat;
- margin: 5px 3px 0px 0px;
- padding: 2px 4px 2px 22px;
- -webkit-border-radius: 3px;
+.option-help-tooltip {
+ background: #eee;
+ border: 1px solid #ccc;
+ position: absolute;
+ margin: 0 10px;
+ padding: 7px 10px;
+ border-radius: 3px;
+ -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
+ box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}
#recommend-tags-container, #all-tags-container {
@@ -728,6 +772,10 @@ a.username {
border-bottom-color: #bcd8f5;
}
+#tag-notice {
+ margin-top: 5px;
+}
+
#tag-complete-list {
display: none;
position: absolute;
@@ -809,7 +857,9 @@ dd#all-tags {
#header-usericon img {
}
-#show-all-tags-toggle {
+#show-all-tags-toggle,
+#recommend-tags-container .note,
+#tag-notice .note {
padding-left: 10px;
font-size: 90%;
color: #555;
@@ -884,15 +934,15 @@ em #comment-users {
/* loading */
.loading {
- display: none;
+ display: none !important;
}
body.data-loading * .loaded {
- display: none;
+ display: none !important;
}
body.data-loading * .loading {
- display: inline;
+ display: inline !important;
}
/* search-container {{{ */
@@ -1123,13 +1173,6 @@ em a:visited {
/* */
-#bookmark-delete-link {
- text-decoration : underline;
- padding-left : 0.6em;
- color : blue;
- cursor : pointer;
-}
-
#feels-wrong-button {
font-size: 85%;
color: #999;
View
124 hatenabookmark.safariextension/background/popup.html
@@ -156,8 +156,8 @@
</div>
</div>
<div id="bookmarked-notice" class="none">
- <span id="bookmarked-notice-message"></span>
- <a id="bookmark-delete-link" class="none" onclick="if (confirm('このブックマークを削除します。よろしいですか?')) deleteBookmark(); return false;">削除する</a>
+ <span id="bookmarked-notice-text"></span>
+ <input id="delete-button" type="button" value="削除" onclick="if (confirm('このブックマークを削除します。よろしいですか?')) deleteBookmark();" />
</div>
<div id="bookmark-error" class="none"></div>
@@ -178,13 +178,11 @@
<div class="table-row">
<div class="table-left">
<div class="table-row">
- <div class="edit-left edit-cell">タイトル:</div>
<div id="title" class="edit-cell loaded">
<div style="width: 100%; display: table-cell;">
<span id="title-toggle-button" class="edit-cell">
- <img onclick="
- View.bookmark.titleEditToggle();" src="../images/edit-lock.png" class="loaded" id="title-editable-toggle">
+ <img onclick="View.bookmark.titleEditToggle();" src="../images/edit-lock.png" class="loaded" id="title-editable-toggle">
</span>
<span class="edit-cell" id="title-text-container">
@@ -212,82 +210,100 @@
<div class="table-row">
- <div class="edit-left edit-cell">URL:</div>
<div class="edit-cell" id="url-container">
<div>
<a href="" id="url"></a>
</div>
<div>
<span id="users-count-container" class="none"><img src="../images/page.gif"><a id='users-count'></a></span><img id="comment-show"><span id="favorites"></span>
- <span id="type-counter"><span id="type-count">0</span> / 100</span>
</div>
</div>
</div>
+ </div>
+
+ <div id="image-table-container" class="table-right none">
+ <div id="image-container">
+ <div id="image-current-container" onclick="View.bookmark.imageDetect();" ><img id="current-image" src="../images/noimages.png" /></div>
+ </div>
+ </div>
+ </div>
+
+ <div class="table-row">
+ <div class="table-left">
<div class="table-row">
- <div class="edit-left edit-cell">コメント:</div>
<div class="edit-cell" id="bookmark-options">
<div id="comment-area">
- <textarea rows="2" id="comment" name="comment"></textarea>
+ <textarea rows="2" id="comment" name="comment" placeholder="コメントを入力してください (省略可能)"></textarea>
<ul id="tag-complete-list">
</ul>
- </div>
- <div id="checkbox-options">
<input type="hidden" id="input-url" name="url" />
- <label for="confirm-bookmark" title="ブックマーク保存完了後、別ウィンドウではてなブックマークのエントリーページを表示します。">
- <input value="1" type="checkbox" id="confirm-bookmark" name="confirm_bookmark" />
- ブックマークを確認
- </label>
- <span id="post-twitter-container">
+ </div>
+ <p id="type-counter"><span id="type-count">0</span> / 100</p>
+ <dl id="checkbox-options">
+ <dt>共有:</dt>
+ <dd>
<label id="post-twitter-label" for="post-twitter" title="ブックマークしたページを Twitter へ投稿する場合はチェックを入れてください。">
- <input value="1" type="checkbox" id="post-twitter" name="post_twitter" />
- <span class="label-text">Twitter へ投稿</span>
+ <input value="1" type="checkbox" id="post-twitter" name="post_twitter" /><span class="label-text">Twitter</span>
</label>
- </span>
- <span id="post-mixi-check-container">
- <label id="post-mixi-check-label" for="post-mixi-check" title="ブックマークしたページをmixiチェックへ投稿する場合はチェックを入れてください。">
- <input value="1" type="checkbox" id="post-mixi-check" name="post_mixi_check" />
- <span class="label-text">mixiチェックへ投稿</span>
+ <label id="post-facebook-label" for="post-facebook" title="ブックマークしたページを Facebook へ投稿する場合はチェックを入れてください。">
+ <input value="1" type="checkbox" id="post-facebook" name="post_facebook" /><span class="label-text">Facebook</span>
</label>
- </span>
- <span id="plus-inputs" class="none">
- <input value="1" type="hidden" id="with_status_op" name="with_status_op" />
- <label id="private-label" for="private" title="ブックマークを他のユーザーに公開しない場合はチェックを入れてください。(閲覧許可ユーザーにも公開されません。) ">
- <input value="1" type="checkbox" id="private" name="private" />
- <span class="label-text">公開しない</span>
+ <label id="post-mixi-check-label" for="post-mixi-check" title="ブックマークしたページをmixiチェックへ投稿する場合はチェックを入れてください。">
+ <input value="1" type="checkbox" id="post-mixi-check" name="post_mixi_check" /><span class="label-text">mixiチェック</span>
</label>
- <label for="send_mail" title="ブックマークしたページを設定で指定したメールアドレスに送信する場合チェックを入れてください。">
- <input value="1" type="checkbox" id="send_mail" name="send_mail" />
- メールする
+
+ <p id="option-help-post-twitter" class="option-help-tooltip" style="display: none;">
+ <img src="../images/icon-twitter.png" alt="" width="16" height="16" />
+ Twitter連携機能を設定すると、ブックマーク時にTwitterへも投稿することができます。
+ <a href="http://b.hatena.ne.jp/guide/twitter?target=append&amp;ref=safari" target="_blank">もっと詳しく</a>
+ </p>
+ <p id="option-help-post-facebook" class="option-help-tooltip" style="display: none;">
+ <img src="../images/icon-facebook.png" alt="" width="16" height="16" />
+ Facebook連携機能を設定すると、ブックマーク時にFacebookへも投稿することができます。
+ <a href="http://b.hatena.ne.jp/help/config_coop#facebook" target="_blank">もっと詳しく</a>
+ </p>
+ <p id="option-help-post-mixi-check" class="option-help-tooltip" style="display: none;">
+ <img src="../images/icon-mixi.png" alt="" width="16" height="16" />
+ mixiチェック連携機能を設定すると、ブックマーク時にmixiチェックへも投稿することができます。
+ <a href="http://b.hatena.ne.jp/help/config_coop#mixi-check" target="_blank">もっと詳しく</a>
+ </p>
+ </dd>
+ <dt>オプション:</dt>
+ <dd>
+ <label for="confirm-bookmark" title="ブックマーク保存完了後、別ウィンドウではてなブックマークのエントリーページを表示します。">
+ <input value="1" type="checkbox" id="confirm-bookmark" name="confirm_bookmark" /> ブックマークを確認
</label>
- </span>
- <span id="asin-container">
- <input value="" type="hidden" id="asin" name="asin" disabled />
- <label for="add-asin">
- <input value="1" type="checkbox" id="add-asin" name="add_asin" disabled="disabled" />
- コレクションに追加
+ <label id="private-label" for="private" title="ブックマークを他のユーザーに公開しない場合はチェックを入れてください。(閲覧許可ユーザーにも公開されません。) ">
+ <input value="1" type="checkbox" id="private" name="private" /><span class="label-text">非公開</span>
</label>
- </span>
- </div>
+ <span id="plus-inputs" class="none">
+ <input value="1" type="hidden" id="with_status_op" name="with_status_op" />
+ <label for="send_mail" title="ブックマークしたページを設定で指定したメールアドレスに送信する場合チェックを入れてください。">
+ <input value="1" type="checkbox" id="send_mail" name="send_mail" /><span class="label-text">メール</span>
+ </label>
+ </span>
+ <span id="asin-container">
+ <input value="" type="hidden" id="asin" name="asin" disabled />
+ <label for="add-asin">
+ <input value="1" type="checkbox" id="add-asin" name="add_asin" disabled="disabled" /> コレクション
+ </label>
+ </span>
+
+ <p id="option-help-private" class="option-help-tooltip" style="display: none;">
+ <img src="../images/add-private.png" alt="" width="16" height="16" />
+ はてなブックマークプラスにお申し込みいただくと、他のユーザーに公開しない非公開ブックマークがご利用いただけます。
+ <a href="http://b.hatena.ne.jp/guide/plus?target=private&amp;ref=safari" target="_blank">もっと詳しく</a>
+ </p>
+ </dd>
+ </dl>
</div>
</div>
</div>
-
- <div id="image-table-container" class="table-right none">
- <div id="image-container">
- <div id="image-current-container" onclick="View.bookmark.imageDetect();" ><img id="current-image" src="../images/noimages.png" /></div>
- </div>
- <hr id="option-help-separator"/>
- <div id="option-help-container" title="有効にすることで使える、より便利な機能の紹介です。">
- <a id="post-twitter-help" class="option-help" href="http://b.hatena.ne.jp/guide/twitter?target=append&amp;ref=safari" title="Twitter 連携機能を設定すると、ブックマーク時に Twitter へも投稿することができます。"><img src="../images/add-twitter.png" alt="[Twitter]"></a>
- <a id="post-mixi-check-help" class="option-help" href="http://b.hatena.ne.jp/help/config_coop#mixi-check" title="mixiチェック連携機能を設定すると、ブックマーク時にmixiチェックへも投稿することができます。"><img src="../images/icon-mixi.png" alt="[mixiチェック]"></a>
- <a id="private-help" class="option-help" href="http://b.hatena.ne.jp/guide/plus?target=private&amp;ref=safari" title="はてなブックマークプラスにお申し込みいただくと、他のユーザーに公開しない非公開ブックマークがご利用いただけます。"><img src="../images/add-private.png" alt="[非公開]"></a>
- </div>
- </div>
</div>
</div>
<dl id="recommend-tags-container">
- <dt>おすすめタグ<dt>
+ <dt>おすすめタグ <a href="http://b.hatena.ne.jp/help/tag" target="_blank" class="note">※タグについての詳しい説明</a><dt>
<dd id="recommend-tags">
</dd>
</dl>
@@ -296,6 +312,8 @@
<dd id="all-tags">
</dd>
</dl>
+ <p id="tag-notice"><a href="http://b.hatena.ne.jp/help/tag" target="_blank" class="note">※タグについての詳しい説明</a></p>
+
<div id="buttons">
<div class="table-row">
<!-- <div class="edit-cell"> -->
View
82 hatenabookmark.safariextension/background/popup.js
@@ -392,19 +392,14 @@ var View = {
},
bookmark: {
get confirmBookmark() { return $('#confirm-bookmark'); },
- get postTwitterContainer() { return $('#post-twitter-container'); },
get postTwitter() { return $('#post-twitter'); },
- get postTwitterHelp() { return $('#post-twitter-help'); },
- get postMixiCheckContainer() { return $('#post-mixi-check-container'); },
+ get postFacebook() { return $('#post-facebook'); },
get postMixiCheck() { return $('#post-mixi-check'); },
- get postMixiCheckHelp() { return $('#post-mixi-check-help'); },
get container() { return $('#bookmark-container'); },
get tab() { return $('#bookmark-tab'); },
get usericon() { return $('#usericon') },
get usernameEL() { return $('#username') },
get plusInputs() { return $('#plus-inputs') },
- get privateHelp() { return $('#private-help') },
- get optionHelpContainer() { return $('#option-help-container') },
get titleText() { return $('#title-text') },
get faviconEL() { return $('#favicon') },
get form() { return $('#form') },
@@ -414,6 +409,7 @@ var View = {
get allTags() { return $('#all-tags') },
get recommendTagsContainer() { return $('#recommend-tags-container') },
get recommendTags() { return $('#recommend-tags') },
+ get tagNotice() { return $('#tag-notice') },
get typeCount() { return $('#type-count') },
get port() {
if (!this._port) {
@@ -553,8 +549,8 @@ var View = {
this.usernameEL.text(user.name);
if (user.plususer) {
this.plusInputs.removeClass('none');
- this.privateHelp.remove();
} else {
+ this.setupOptionHelp('private');
this.plusInputs.remove();
}
if (user.canUseTwitter) {
@@ -566,9 +562,20 @@ var View = {
this.postTwitter.bind('change', function() {
Config.set('popup.bookmark.postTwitter', this.checked);
});
- this.postTwitterHelp.remove();
} else {
- this.postTwitterContainer.remove();
+ this.setupOptionHelp('post-twitter');
+ }
+ if (user.canUseFacebook) {
+ if (user.postFacebookChecked === 'on' ||
+ (user.postFacebookChecked === 'inherit' &&
+ Config.get('popup.bookmark.postFacebook'))) {
+ this.postFacebook.attr('checked', 'checked');
+ }
+ this.postFacebook.bind('change', function() {
+ Config.set('popup.bookmark.postFacebook', this.checked);
+ });
+ } else {
+ this.setupOptionHelp('post-facebook');
}
if (user.canUseMixiCheck) {
if (user.postMixiCheckChecked === 'on' ||
@@ -579,17 +586,12 @@ var View = {
this.postMixiCheck.bind('change', function() {
Config.set('popup.bookmark.postMixiCheck', this.checked);
});
- this.postMixiCheckHelp.remove();
} else {
- this.postMixiCheckContainer.remove();
- }
- if (user.plususer && (user.canUseTwitter || user.canUseMixiCheck)) {
- $('#private').click(Ten.Function.method(this, 'privateClickHandler'));
- this.privateClickHandler();
- }
- if (!this.privateHelp.length && !this.postTwitterHelp.length && !this.postMixiCheckHelp.length) {
- this.optionHelpContainer.remove();
+ this.setupOptionHelp('post-mixi-check');
}
+ $('#private').click(Ten.Function.method(this, 'privateClickHandler'));
+ this.privateClickHandler();
+
if (info.title) {
this.setTitle(info.title);
} else {
@@ -773,6 +775,9 @@ var View = {
setRecomendTags: function(tags) {
this.showTags(tags, this.recommendTagsContainer, this.recommendTags);
this.tagCompleter.update();
+ if (tags && tags.length) {
+ this.tagNotice.remove();
+ }
},
showTags: function(tags, container, tagsList) {
@@ -800,8 +805,7 @@ var View = {
setByBookmark: function(b) {
if (b) {
- $('#bookmarked-notice > #bookmarked-notice-message').text('このエントリーは ' + b.dateYMDHM + ' にブックマークしました');
- $('#bookmarked-notice > #bookmark-delete-link').removeClass('none');
+ $('#bookmarked-notice-text').text('このエントリーは ' + b.dateYMDHM + ' にブックマークしました');
$('#bookmarked-notice').removeClass('none');
$('#edit-submit').attr('value', '保存');
this.updateComment(b.comment);
@@ -862,7 +866,7 @@ var View = {
setEntry: function(entry) {
this.currentEntry = entry;
$('body').removeClass('data-loading');
- if (entry.bookmarked_data && !$('#bookmarked-notice').text()) {
+ if (entry.bookmarked_data && !$('#bookmarked-notice-text').text()) {
var data = entry.bookmarked_data;
data = {
dateYMDHM: data.timestamp,
@@ -930,13 +934,45 @@ var View = {
}
},
+ setupOptionHelp: function (checkId) {
+ var doc = $(document);
+ var checkIds = doc.data('option-help-check-ids');
+ if (checkIds) {
+ checkIds.push(checkId);
+ return;
+ }
+ checkIds = [checkId];
+ doc.data('option-help-check-ids', checkIds);
+ var isShowing = false;
+ doc.click(function (event) {
+ var target = event.target;
+ var idToShow = '';
+ if (target.id && checkIds.indexOf(target.id) >= 0) {
+ if (target.checked)
+ idToShow = 'option-help-' + target.id;
+ } else if ($(target).closest('.option-help-tooltip').length) {
+ return;
+ }
+ if (!idToShow && !isShowing) return;
+ $('.option-help-tooltip').each(function () {
+ $(this).css('display', (this.id === idToShow) ? '' : 'none');
+ });
+ isShowing = !!idToShow;
+ });
+ },
+
privateClickHandler: function() {
- [this.postTwitter[0] || null, this.postMixiCheck[0] || null].forEach(function (input) {
+ [this.postTwitter[0], this.postFacebook[0], this.postMixiCheck[0]].forEach(function (input) {
if (!input) return;
var label = input.parentNode;
if (!label.enabledTitle) {
label.enabledTitle = label.title;
- label.disabledTitle = label.title + '(非公開ブックマークは' + (input.name === 'post_twitter' ? ' Twitter ' : 'mixiチェック') + 'へ投稿されません。)';
+ label.disabledTitle = label.title +
+ '(非公開ブックマークは' + (
+ input.name === 'post_twitter' ? ' Twitter ' :
+ input.name === 'post_facebook' ? ' Facebook ' :
+ 'mixiチェック'
+ ) + 'へ投稿されません。)';
input.defaultChecked = input.checked;
}
if ($('#private').get(0).checked) {
View
10 hatenabookmark.safariextension/content/widget_embedder.js
@@ -73,9 +73,6 @@ var SiteinfoRequestor = {
function WidgetEmbedder(siteinfo) {
this.siteinfo = siteinfo;
this.embedLater(WidgetEmbedder.INITIAL_DELAY);
- document.addEventListener('DOMNodeInserted', this, false);
- document.addEventListener('AutoPagerize_DOMNodeInserted', this, false);
- document.addEventListener('AutoPatchWork.DOMNodeInserted', this, false);
}
extend(WidgetEmbedder, {
@@ -109,6 +106,7 @@ extend(WidgetEmbedder.prototype, {
this.timerId = setTimeout(function (self) {
self.embed();
self.timerId = 0;
+ document.addEventListener('DOMNodeInserted', self, false);
}, delay, this);
},
@@ -325,12 +323,8 @@ extend(WidgetEmbedder.prototype, {
handleEvent: function WE_handleEvent(event) {
switch (event.type) {
- case 'AutoPagerize_DOMNodeInserted':
- case 'AutoPatchWork.DOMNodeInserted':
- document.removeEventListener('DOMNodeInserted', this, false);
- event.target._hb_baseURL = event.newValue;
- /* FALL THROUGH */
case 'DOMNodeInserted':
+ document.removeEventListener('DOMNodeInserted', this, false);
this.embedLater(WidgetEmbedder.MUTATION_DELAY);
break;
}
View
BIN  hatenabookmark.safariextension/images/icon-facebook.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  hatenabookmark.safariextension/images/icon-mail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  hatenabookmark.safariextension/images/icon-twitter.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2  hatenabookmark.safariextension/lib/15-UserManager.js
@@ -86,6 +86,8 @@ User.prototype = {
get public() { return !this.private },
get canUseTwitter() { return this.options.is_oauth_twitter == 1 },
get postTwitterChecked() { return this.options.twitter_checked || 'inherit' },
+ get canUseFacebook() { return this.options.is_oauth_facebook == 1 },
+ get postFacebookChecked() { return this.options.facebook_checked || 'inherit' },
get canUseMixiCheck() { return this.options.is_oauth_mixi_check == 1 },
get postMixiCheckChecked() { return this.options.mixi_check_checked || 'inherit' },
get maxCommentLength() { return this.options.max_comment_length || 100 },

No commit comments for this range

Something went wrong with that request. Please try again.