oujiblue
ここはoujiblueのページですCosense Beaver.icon
自己紹介などを書きましょう
control - i キーを押すと、自分のアイコンをすばやく入力できますCosense Beaver.icon
アイコンは意見の表明や、投票などにも使えますCosense Beaver.icon
なるほど(これは返信の例です)
ページ内で一番上にある画像がアイコンに使用されます
ページリスト画面でも表示されます
変更したい場合はドラッグアンドドロップでアップロードして下さい
(function (history) {
// 表示する履歴の数
const maxHistory = 5;
if ($('#history-box').length) { return; }
const $header = $(".quick-launch");
$header.append($(`<div class='flex-box'>
<div class='flex-item'>
<div class='left-box' id='history-box' />
</div></div>`));
const $historyHolder = $("#history-box");
function pathToPageTitle(path) {
return decodeURIComponent(path.split("/")2); }
let pushState = history.pushState;
history.pushState = function (state) {
try {
// on history change
var pageTitle = pathToPageTitle(state.path);
if (pageTitle) {
let $newHistory = $(<span>→ <a href='${state.path}'>${pageTitle}</a></span>);
$newHistory.on("click", () => { $newHistory.remove(); });
$historyHolder.append($newHistory);
if ($historyHolder.children().length > maxHistory) {
$historyHolder.children().first().remove();
}
}
} catch (x) {
console.error(x);
}
return pushState.apply(history, arguments);
};
})(window.history);
style.css