// ==UserScript==
// @name Twitter kaizen
// @name:ja Twitter kaizen
// @name:en Twitter kaizen
// @name:zh-CN Twitter kaizen
// @name:ko Twitter kaizen
// @name:ru Twitter kaizen
// @name:de Twitter kaizen
// @description Enjoy Twitter Comfortably
// @description:ja ツイッターを快適に
// @description:en Script to improve Twitter display
// @description:zh-CN 舒适地使用推特
// @description:ko 트위터를 편안하게
// @description:ru Комфортное использование Твиттера
// @description:de Twitter bequem nutzen
// @version 2.6.3
// @author Yos_sy
// @match https://x.com/*
// @namespace http://tampermonkey.net/
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAFBGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSdhZG9iZTpuczptZXRhLyc+CiAgICAgICAgPHJkZjpSREYgeG1sbnM6cmRmPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjJz4KCiAgICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9JycKICAgICAgICB4bWxuczpkYz0naHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8nPgogICAgICAgIDxkYzp0aXRsZT4KICAgICAgICA8cmRmOkFsdD4KICAgICAgICA8cmRmOmxpIHhtbDpsYW5nPSd4LWRlZmF1bHQnPuWQjeensOacquioreWumuOBruODh+OCtuOCpOODsyAtIDE8L3JkZjpsaT4KICAgICAgICA8L3JkZjpBbHQ+CiAgICAgICAgPC9kYzp0aXRsZT4KICAgICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KCiAgICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9JycKICAgICAgICB4bWxuczpBdHRyaWI9J2h0dHA6Ly9ucy5hdHRyaWJ1dGlvbi5jb20vYWRzLzEuMC8nPgogICAgICAgIDxBdHRyaWI6QWRzPgogICA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p/nnkn1wqMdNstufhI9kXIJeW57l8adgI4VphIVhkpm6ywsBA+nw8AhPDT5px6B2X4ZevkozD00FNxeS9G2hWI1OJUKoXu7m7dOn6uAYz0b5KdjpwIAoEAjhw5giNHjqC9vV1UnVLnIbnKVPZjDDdGnACOJfy0Svh8PrjdbgAQWXz0KLf2pkMRwMiBm1lUL0D3lxMAJXVRTgf5efRq+clBN9K/S3ZA8uehUEizkxQnAL1GM3SMFEacAI618pMThXIAAIj/U7ppT4cigOGHno1Odi45cHlHYRJ+ipnLITi9cNxIIlv0IZ1Oi0Q0XnYuawB6laYjNTdHlAB6En69JCG+d1tfDkUAIwfu4CLvN2kAXPhpN2abzZa1lp+ejySyCT79T95shvxQcvNR2YzISxMAyBT+bCnCvBqLkn76cigCGF7oXWu699FoNGPlp6YhZBL0VNM/ksgWeqRH+j16B28rr6dFjAQMAIb1zMcqBjrWASCjHrwvhyKB4YFeGA04WgbMD8rG45ly9Llstf0jBT3zhv+NFjd+8ExVPgf1NIjhxrATANBzOfCxDiC7GtabQ2FkoafSy3+T36/3fKSRbS5liw5kU/VHek6OCAEoKCjkBkbfZmYKCgqDBkUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5DEUACgp5jP8PBb5EQdmudTwAAAAASUVORK5CYII=
// @license MIT
// @run-at document-start
// @require https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/js/all.min.js
// @grant GM_addStyle
// @grant GM_getResourceText
// @grant GM_registerMenuCommand
// ==/UserScript==
(function () {
"use strict";
GM_addStyle(`
/* -----------------------------------------------------------------------------------
基本的なボーダーを消す
----------------------------------------------------------------------------------- */
/* light */
.r-jxzhtn /* basic */,
.r-1igl3o0, /* tl */
/* gray */
.r-18bvks7 /* basic */,
.r-1ila09b /* tl */,
/* dark */
.r-1kqtdi0 /* basic */,
.r-j5o65s /* tl */ {
border: none !important;
}
/* -----------------------------------------------------------------------------------
カキコの下のボーダーを消す
----------------------------------------------------------------------------------- */
.r-109y4c4 {
height: 0 !important;
}
/* -----------------------------------------------------------------------------------
TLの幅を600pxから700pxに、右サイドバーの幅を350pxから250pxに、画像拡大時のリプサイドバーを350pxから550pxに変更
----------------------------------------------------------------------------------- */
/* TL */
.r-1ye8kvj {
max-width: 700px !important;
}
/* Sidebar */
.r-1hycxz {
width: 250px !important;
}
/* 画像拡大時のリプサイドバー */
.css-175oi2r.r-kemksi.r-1kqtdi0.r-th6na.r-1phboty.r-1dqxon3.r-1hycxz {
width: 550px !important;
}
/* -----------------------------------------------------------------------------------
ヘッダーのスクロールバーを消す
----------------------------------------------------------------------------------- */
.css-175oi2r.r-1pi2tsx.r-1wtj0ep.r-1rnoaur.r-o96wvk.r-is05cd {
overflow-y: scroll !important;
-ms-overflow-style: none !important;
scrollbar-width: none !important;
}
.css-175oi2r.r-1pi2tsx.r-1wtj0ep.r-1rnoaur.r-o96wvk.r-is05cd::-webkit-scrollbar {
display: none !important;
}
/* -----------------------------------------------------------------------------------
サイドバーの”Subscribe to Premium”を消す
----------------------------------------------------------------------------------- */
.css-175oi2r.r-1habvwh.r-eqz5dr.r-uaa2di.r-1mmae3n.r-3pj75a.r-bnwqim {
display: none !important;
}
/* -----------------------------------------------------------------------------------
サイドバーの”Who to follow”を消す
----------------------------------------------------------------------------------- */
.css-175oi2r.r-1bro5k0 {
display: none !important;
}
/* -----------------------------------------------------------------------------------
TL上のUserNameを消す
----------------------------------------------------------------------------------- */
div[data-testid="User-Name"] > div:nth-child(2) > div > div:nth-child(1),
div[data-testid="User-Name"] > div:nth-child(2) > div > div:nth-child(2) {
display: none !important;
}
/* -----------------------------------------------------------------------------------
TL上のアカウント名と日付を縦並びにする
----------------------------------------------------------------------------------- */
div[data-testid="User-Name"] {
align-items: initial !important;
flex-direction: column !important;
}
div[data-testid="User-Name"] > div:last-child {
margin-left: 0 !important;
}
/* -----------------------------------------------------------------------------------
時計、日付のフォントカラーを変更 (何かしらの理由で背景色を変えてる場合を考えて 'color-scheme' の指定も追加)
----------------------------------------------------------------------------------- */
/* light */
html[style*="color-scheme: light;"] #date__container__text,
html[style*="color-scheme: light;"] #time__container__text,
body[style*="background-color: rgb(255, 255, 255);"] #date__container__text,
body[style*="background-color: rgb(255, 255, 255);"] #time__container__text {
color: #0f1419;
}
/* gray */
body[style*="background-color: rgb(21, 32, 43);"] #date__container__text,
body[style*="background-color: rgb(21, 32, 43);"] #time__container__text {
color: #f7f9f9;
}
/* dark */
html[style*="color-scheme: dark;"] #date__container__text,
html[style*="color-scheme: dark;"] #time__container__text,
body[style*="background-color: rgb(0, 0, 0);"] #date__container__text,
body[style*="background-color: rgb(0, 0, 0);"] #time__container__text {
color: #e7e9ea;
}
`);
// ローカルストレージから設定を読み込む
function loadConfig() {
const savedConfig = localStorage.getItem("twitterKaizenConfig");
if (savedConfig) {
Object.assign(config, JSON.parse(savedConfig));
}
}
// ローカルストレージに設定を保存
function saveConfig() {
localStorage.setItem("twitterKaizenConfig", JSON.stringify(config));
}
// -----------------------------------------------------------------------------------
// ユーティリティ関数と定数
// -----------------------------------------------------------------------------------
const Utils = {
debounce: (func, wait) => {
let timeout;
return (...args) => {
clearTimeout(timeout);
timeout = setTimeout(() => func(...args), wait);
};
},
pad: (num) => num.toString().padStart(2, "0"),
createElement: (tag, options = {}) => {
const element = document.createElement(tag);
if (options.id) element.id = options.id;
options.classList?.forEach((cls) => element.classList.add(cls));
Object.entries(options.attributes || {}).forEach(([attr, value]) =>
element.setAttribute(attr, value)
);
if (options.innerHTML) element.innerHTML = options.innerHTML;
if (options.textContent) element.textContent = options.textContent;
return element;
},
observeDOM: (
targetNode,
callback,
config = { childList: true, subtree: true }
) => {
const observer = new MutationObserver(callback);
observer.observe(targetNode, config);
return observer;
},
};
// 多言語定義
const TRANSLATIONS = {
en: {
panel: {
replaceIcons: "Reclaim Twitter (restore icon)",
useAbsoluteTime: "Change TL time from relative to absolute time",
showTimeAndDateSidebar: "Display time and date in sidebar",
useDefaultVideoPlayer: "Revert video player to default",
enhanceTweetEngagements: "Easy access to quoted tweets",
},
weeks: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
},
ja: {
panel: {
replaceIcons: "Twitterを取り戻す (アイコンを元に戻す)",
useAbsoluteTime: "TLの時間を相対時間から絶対時間に変更",
showTimeAndDateSidebar: "サイドバーに時間、日付を表示",
useDefaultVideoPlayer: "動画プレイヤーをデフォルトに戻す",
enhanceTweetEngagements: "引用ツイートへのアクセスを簡単に",
},
weeks: ["日", "月", "火", "水", "木", "金", "土"],
},
zh: {
panel: {
replaceIcons: "替换 Twitter 图标",
useAbsoluteTime: "使用绝对时间",
showTimeAndDateSidebar: "显示时间和日期侧边栏",
useDefaultVideoPlayer: "使用默认视频播放器",
enhanceTweetEngagements: "增强推文互动",
},
weeks: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
},
ko: {
panel: {
replaceIcons: "Twitter 아이콘 교체",
useAbsoluteTime: "절대 시간 사용",
showTimeAndDateSidebar: "시간 및 날짜 사이드바 표시",
useDefaultVideoPlayer: "기본 비디오 플레이어 사용",
enhanceTweetEngagements: "트윗 참여 향상",
},
weeks: ["일", "월", "화", "수", "목", "금", "토"],
},
ru: {
panel: {
replaceIcons: "Заменить иконки Twitter",
useAbsoluteTime: "Использовать абсолютное время",
showTimeAndDateSidebar: "Показать боковую панель времени и даты",
useDefaultVideoPlayer: "Использовать стандартный видеоплеер",
enhanceTweetEngagements: "Улучшить взаимодействие с твитами",
},
weeks: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
},
de: {
panel: {
replaceIcons: "Twitter-Icons ersetzen",
useAbsoluteTime: "Absolute Zeit verwenden",
showTimeAndDateSidebar: "Zeit- und Datums-Sidebar anzeigen",
useDefaultVideoPlayer: "Standard-Video-Player verwenden",
enhanceTweetEngagements: "Tweet-Interaktionen verbessern",
},
weeks: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
},
};
const LANG = navigator.language.split("-")[0];
const CURRENT_LANG = TRANSLATIONS[LANG] || TRANSLATIONS.en;
const PANEL_LANG = CURRENT_LANG.panel;
const WEEKS_LANG = CURRENT_LANG.weeks;
// -----------------------------------------------------------------------------------
// 設定パネル
// -----------------------------------------------------------------------------------
const config = {
replaceIcons: true,
useAbsoluteTime: true,
showTimeAndDateSidebar: true,
useDefaultVideoPlayer: true,
enhanceTweetEngagements: true,
};
const SettingsModule = {
createSettingsUI: function () {
const settingsDiv = Utils.createElement("div", {
id: "twitter-kaizen-panel",
classList: ["twitter-kaizen-panel"],
});
// パネルのインラインスタイルを追加
Object.assign(settingsDiv.style, {
position: "fixed",
top: "10px",
right: "10px",
zIndex: "9999",
background: "#f9f9f9",
padding: "15px",
border: "1px solid #ccc",
borderRadius: "10px",
boxShadow: "0 4px 12px rgba(0, 0, 0, 0.1)",
color: "#333",
fontFamily: "Arial, sans-serif",
width: "300px",
maxWidth: "100%",
display: "none",
transition: "transform 0.3s ease, opacity 0.3s ease",
});
const title = Utils.createElement("h3", {
textContent: "Twitter Kaizen Settings",
});
title.style.fontSize = "18px";
title.style.margin = "10px";
title.style.color = "#333";
settingsDiv.appendChild(title);
const features = [
{ key: "replaceIcons", label: PANEL_LANG.replaceIcons },
{ key: "useAbsoluteTime", label: PANEL_LANG.useAbsoluteTime },
{
key: "showTimeAndDateSidebar",
label: PANEL_LANG.showTimeAndDateSidebar,
},
{
key: "useDefaultVideoPlayer",
label: PANEL_LANG.useDefaultVideoPlayer,
},
{
key: "enhanceTweetEngagements",
label: PANEL_LANG.enhanceTweetEngagements,
},
];
features.forEach(({ key, label }) => {
const checkbox = Utils.createElement("input", {
attributes: { type: "checkbox", id: key },
});
checkbox.checked = config[key];
checkbox.addEventListener("change", () => {
config[key] = checkbox.checked;
saveConfig();
location.reload();
});
const labelElement = Utils.createElement("label", {
attributes: { for: key },
textContent: label,
});
labelElement.style.marginLeft = "8px";
labelElement.style.fontSize = "14px";
labelElement.style.color = "#555";
settingsDiv.appendChild(checkbox);
settingsDiv.appendChild(labelElement);
settingsDiv.appendChild(Utils.createElement("br"));
});
document.body.appendChild(settingsDiv);
},
toggleSettingsPanel: function () {
const panel = document.getElementById("twitter-kaizen-panel");
if (panel) {
if (panel.style.display === "none") {
panel.style.display = "block";
panel.style.transform = "scale(1)";
panel.style.opacity = "1";
} else {
panel.style.transform = "scale(0.9)";
panel.style.opacity = "0";
setTimeout(() => {
panel.style.display = "none";
}, 300);
}
}
},
};
// ショートカットキー
function setupKeyboardShortcut() {
document.addEventListener("keydown", function (e) {
if (e.ctrlKey && e.altKey && e.key === "o") {
SettingsModule.toggleSettingsPanel();
}
});
}
// メニューコマンドの登録
function setupMenuCommand() {
GM_registerMenuCommand("Toggle Twitter Kaizen Settings", () => {
SettingsModule.toggleSettingsPanel();
});
}
// -----------------------------------------------------------------------------------
// Twitterを取り戻す(アイコンを戻す)
// -----------------------------------------------------------------------------------
function replaceTwitterIcons() {
if (!config.replaceIcons) return;
const paths = {
bird: "M23.643 4.937c-.835.37-1.732.62-2.675.733.962-.576 1.7-1.49 2.048-2.578-.9.534-1.897.922-2.958 1.13-.85-.904-2.06-1.47-3.4-1.47-2.572 0-4.658 2.086-4.658 4.66 0 .364.042.718.12 1.06-3.873-.195-7.304-2.05-9.602-4.868-.4.69-.63 1.49-.63 2.342 0 1.616.823 3.043 2.072 3.878-.764-.025-1.482-.234-2.11-.583v.06c0 2.257 1.605 4.14 3.737 4.568-.392.106-.803.162-1.227.162-.3 0-.593-.028-.877-.082.593 1.85 2.313 3.198 4.352 3.234-1.595 1.25-3.604 1.995-5.786 1.995-.376 0-.747-.022-1.112-.065 2.062 1.323 4.51 2.093 7.14 2.093 8.57 0 13.255-7.098 13.255-13.254 0-.2-.005-.402-.014-.602.91-.658 1.7-1.477 2.323-2.41z",
premium:
"M 8.52 3.59 c 0.8 -1.1 2.04 -1.84 3.48 -1.84 s 2.68 0.74 3.49 1.84 c 1.34 -0.21 2.74 0.14 3.76 1.16 s 1.37 2.42 1.16 3.77 c 1.1 0.8 1.84 2.04 1.84 3.48 s -0.74 2.68 -1.84 3.48 c 0.21 1.34 -0.14 2.75 -1.16 3.77 s -2.42 1.37 -3.76 1.16 c -0.8 1.1 -2.05 1.84 -3.49 1.84 s -2.68 -0.74 -3.48 -1.84 c -1.34 0.21 -2.75 -0.14 -3.77 -1.16 c -1.01 -1.02 -1.37 -2.42 -1.16 -3.77 c -1.09 -0.8 -1.84 -2.04 -1.84 -3.48 s 0.75 -2.68 1.84 -3.48 c -0.21 -1.35 0.14 -2.75 1.16 -3.77 s 2.43 -1.37 3.77 -1.16 Z m 3.48 0.16 c -0.85 0 -1.66 0.53 -2.12 1.43 l -0.38 0.77 l -0.82 -0.27 c -0.96 -0.32 -1.91 -0.12 -2.51 0.49 c -0.6 0.6 -0.8 1.54 -0.49 2.51 l 0.27 0.81 l -0.77 0.39 c -0.9 0.46 -1.43 1.27 -1.43 2.12 s 0.53 1.66 1.43 2.12 l 0.77 0.39 l -0.27 0.81 c -0.31 0.97 -0.11 1.91 0.49 2.51 c 0.6 0.61 1.55 0.81 2.51 0.49 l 0.82 -0.27 l 0.38 0.77 c 0.46 0.9 1.27 1.43 2.12 1.43 s 1.66 -0.53 2.12 -1.43 l 0.39 -0.77 l 0.82 0.27 c 0.96 0.32 1.9 0.12 2.51 -0.49 c 0.6 -0.6 0.8 -1.55 0.48 -2.51 l -0.26 -0.81 l 0.76 -0.39 c 0.91 -0.46 1.43 -1.27 1.43 -2.12 s -0.52 -1.66 -1.43 -2.12 l -0.77 -0.39 l 0.27 -0.81 c 0.32 -0.97 0.12 -1.91 -0.48 -2.51 c -0.61 -0.61 -1.55 -0.81 -2.51 -0.49 l -0.82 0.27 l -0.39 -0.77 c -0.46 -0.9 -1.27 -1.43 -2.12 -1.43 Z m 4.74 5.68 l -6.2 6.77 l -3.74 -3.74 l 1.41 -1.42 l 2.26 2.26 l 4.8 -5.23 l 1.47 1.36 Z",
defaultHomeActive:
"M21.591 7.146L12.52 1.157c-.316-.21-.724-.21-1.04 0l-9.071 5.99c-.26.173-.409.456-.409.757v13.183c0 .502.418.913.929.913H9.14c.51 0 .929-.41.929-.913v-7.075h3.909v7.075c0 .502.417.913.928.913h6.165c.511 0 .929-.41.929-.913V7.904c0-.301-.158-.584-.408-.758z",
twitterHome:
"M12 9c-2.209 0-4 1.791-4 4s1.791 4 4 4 4-1.791 4-4-1.791-4-4-4zm0 6c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2zm0-13.304L.622 8.807l1.06 1.696L3 9.679V19.5C3 20.881 4.119 22 5.5 22h13c1.381 0 2.5-1.119 2.5-2.5V9.679l1.318.824 1.06-1.696L12 1.696zM19 19.5c0 .276-.224.5-.5.5h-13c-.276 0-.5-.224-.5-.5V8.429l7-4.375 7 4.375V19.5z",
twitterHomeActive:
"M12 1.696L.622 8.807l1.06 1.696L3 9.679V19.5C3 20.881 4.119 22 5.5 22h13c1.381 0 2.5-1.119 2.5-2.5V9.679l1.318.824 1.06-1.696L12 1.696zM12 16.5c-1.933 0-3.5-1.567-3.5-3.5s1.567-3.5 3.5-3.5 3.5 1.567 3.5 3.5-1.567 3.5-3.5 3.5z",
};
GM_addStyle(`
/* bird */
.r-64el8z[href="/home"] > div > svg > g > path, /* main */
.r-1blnp2b > g > path /* splash */ {
d: path("${paths.bird}") !important;
}
/* premium */
.r-eqz5dr[href="/i/premium_sign_up"] > div > div > svg > g > path {
d: path("${paths.premium}") !important;
}
/*
以下2つは 'X to Twitter' ( https://greasyfork.org/ja/scripts/471572-x-to-twitter ) を参考
これのお陰で非アクティブ時のスタイルを適応できるようになった
こんな書き方思いつかない
*/
/* home active */
.r-eqz5dr[href="/home"] > div > div > svg > g > path:not(path[d="${paths.twitterHome}"]) {
d:path("${paths.twitterHomeActive}");
}
/* home not active */
.r-eqz5dr[href="/home"] > div > div > svg > g > path:not(path[d="${paths.defaultHomeActive}"]) {
d:path("${paths.twitterHome}");
}
`);
}
// -----------------------------------------------------------------------------------
// TLの時間を相対時間から絶対時間に変更(HH:MM:SS・mm/dd/yy, week)
// -----------------------------------------------------------------------------------
// タイムスタンプモジュール
const TimestampModule = {
toFormattedDateString: function (date) {
const YEAR = date.getFullYear().toString().slice(-2);
const TIME = `${Utils.pad(date.getHours())}:${Utils.pad(date.getMinutes())}:${Utils.pad(date.getSeconds())}`;
const DATE = `${Utils.pad(date.getMonth() + 1)}/${Utils.pad(date.getDate())}/${YEAR}, ${WEEKS_LANG[date.getDay()]}`;
return `${TIME}・${DATE}`;
},
// タイムスタンプの更新
updateTimestamps: function () {
if (!config.useAbsoluteTime) return;
/*
1. 様々な時間要素
2. 引用の時間要素
*/
const timeSelectors =
'a[href*="/status/"] > time, div.css-146c3p1.r-bcqeeo.r-1ttztb7.r-qvutc0.r-1qd0xha.r-a023e6.r-rjixqe.r-16dba41.r-xoduu5.r-1q142lx.r-1w6e6rj.r-9aw3ui.r-3s2u2q > time';
document.querySelectorAll(timeSelectors).forEach((timeElement) => {
const parent = timeElement.parentNode;
const span = Utils.createElement("span", {
textContent: this.toFormattedDateString(
new Date(timeElement.getAttribute("datetime"))
),
});
span.style.pointerEvents = "none";
parent.appendChild(span);
parent.removeChild(timeElement);
});
},
};
// -----------------------------------------------------------------------------------
// サイドバーに時間、日付を表示(HH:MM:SS, mm/dd/yy, week)
// -----------------------------------------------------------------------------------
const SidebarModule = {
createInfoElement: function (type) {
if (!config.showTimeAndDateSidebar) return;
const nav = document.querySelector(
'div[class="css-175oi2r r-vacyoi r-ttdzmv"]'
);
if (!nav || document.getElementById(type)) return;
const iconHTML =
type === "time"
? '<i class="fa-regular fa-clock" style="width: 26.25px; height: 26.25px;"></i>'
: '<i class="fa-solid fa-calendar-days" style="width: 26.25px; height: 26.25px;"></i>';
const textContentFunc = () => {
const date = new Date();
const YEAR = date.getFullYear().toString().slice(-2);
const TIME = `${Utils.pad(date.getHours())}:${Utils.pad(date.getMinutes())}:${Utils.pad(date.getSeconds())}`;
const DATE = `${Utils.pad(date.getMonth() + 1)}/${Utils.pad(date.getDate())}/${YEAR}, ${WEEKS_LANG[date.getDay()]}`;
return type === "time" ? `${TIME}` : `${DATE}`;
};
const infoElement = Utils.createElement("div", {
id: type,
classList: [
"css-175oi2r",
"r-6koalj",
"r-eqz5dr",
"r-16y2uox",
"r-1habvwh",
"r-cnw61z",
"r-13qz1uu",
"r-1loqt21",
"r-1ny4l3l",
],
});
const container = Utils.createElement("div", {
id: `${type}__container`,
classList: [
"css-175oi2r",
"r-sdzlij",
"r-dnmrzs",
"r-1awozwy",
"r-18u37iz",
"r-1777fci",
"r-xyw6el",
"r-o7ynqc",
"r-6416eg",
],
});
const icon = Utils.createElement("div", {
id: `${type}__container__icon`,
classList: ["css-175oi2r"],
innerHTML: iconHTML,
});
const text = Utils.createElement("div", {
id: `${type}__container__text`,
classList: [
"css-146c3p1",
"r-dnmrzs",
"r-1udh08x",
"r-3s2u2q",
"r-bcqeeo",
"r-1ttztb7",
"r-qvutc0",
"r-1qd0xha",
"r-adyw6z",
"r-135wba7",
"r-16dba41",
"r-dlybji",
"r-nazi8o",
],
});
const textContent = Utils.createElement("span", {
id: `${type}__text__content`,
classList: ["1jxf684", "r-bcqeeo", "r-1ttztb7", "r-qvutc0", "r-poiln3"],
textContent: textContentFunc(),
});
text.appendChild(textContent);
container.appendChild(icon);
container.appendChild(text);
infoElement.appendChild(container);
nav.appendChild(infoElement);
if (type === "time") {
setInterval(() => {
textContent.textContent = textContentFunc();
}, 1000);
}
},
init: function () {
this.createInfoElement("time");
this.createInfoElement("date");
const observer = new MutationObserver(() => {
this.createInfoElement("time");
this.createInfoElement("date");
});
observer.observe(document.body, { childList: true, subtree: true });
},
};
// -----------------------------------------------------------------------------------
// 動画プレイヤーをデフォルトに戻す
// -----------------------------------------------------------------------------------
const VideoModule = {
setupDefaultVideoPlayer: function (container) {
if (!config.useDefaultVideoPlayer) return;
const video = container.querySelector("div:first-child > div > video");
if (!video) return;
video.controls = true;
video.removeAttribute("disablepictureinpicture");
video.muted = false;
const onClick = (e) => {
e.preventDefault();
video
.play()
.then(() => {
video.muted = false;
})
.catch((error) => console.error("Video playback error:", error));
const onVolumeChange = (e) => {
if (e.target.muted) {
e.target.muted = false;
}
e.target.removeEventListener("volumechange", onVolumeChange);
};
e.target.addEventListener("volumechange", onVolumeChange);
video.removeEventListener("click", onClick);
};
video.addEventListener("click", onClick);
container.parentElement.appendChild(video);
container.remove();
},
observeVideos: function () {
const observer = new MutationObserver(() => {
const videoContainer = document.body.querySelector(
'div[data-testid="videoComponent"]:not(.enhanced-video)'
);
if (videoContainer) {
videoContainer.classList.add("enhanced-video");
setTimeout(() => this.setupDefaultVideoPlayer(videoContainer), 100);
}
});
observer.observe(document.body, { subtree: true, childList: true });
},
};
// -----------------------------------------------------------------------------------
// Tweet Engagements をアクセスしやすく
// -----------------------------------------------------------------------------------
const TweetEngagementModule = {
createQuoteButton: function (tweetId) {
const buttonWrapper = Utils.createElement("div", {
classList: ["css-175oi2r", "r-18u37iz", "r-1h0z5md", "r-13awgt0"],
});
const link = Utils.createElement("a", {
attributes: {
href: `https://x.com${tweetId}/quotes`,
"data-testid": "tweetEngagements",
target: "_blank",
rel: "noopener",
},
classList: [
"css-175oi2r",
"r-1777fci",
"r-bt1l66",
"r-bztko3",
"r-lrvibr",
"r-1loqt21",
"r-1ny4l3l",
],
});
link.addEventListener("click", (event) => {
const href = event.currentTarget.getAttribute("href");
window.open(href, "_blank");
});
const contentDiv = Utils.createElement("div", {
attributes: { dir: "ltr" },
classList: [
"css-146c3p1",
"r-bcqeeo",
"r-1ttztb7",
"r-qvutc0",
"r-1qd0xha",
"r-a023e6",
"r-rjixqe",
"r-16dba41",
"r-1awozwy",
"r-6koalj",
"r-1h0z5md",
"r-o7ynqc",
"r-clp7b1",
"r-3s2u2q",
],
});
contentDiv.style.textOverflow = "unset";
contentDiv.style.color = "rgb(113, 118, 123)";
const iconDiv = Utils.createElement("div", {
classList: ["css-175oi2r", "r-xoduu5"],
innerHTML: ` <div class="css-175oi2r r-xoduu5 r-1p0dtai r-1d2f490 r-u8s1d r-zchlnj r-ipm5af r-1niwhzg r-sdzlij r-xf4iuw r-o7ynqc r-6416eg r-1ny4l3l"></div> <svg viewBox="0 0 24 24" aria-hidden="true" class="r-4qtqp9 r-yyyyoo r-dnmrzs r-bnwqim r-lrvibr r-m6rgpd r-50lct3 r-1srniue"> <g> <path d="M8.75 21V3h2v18h-2zM18 21V8.5h2V21h-2zM4 21l.004-10h2L6 21H4zm9.248 0v-7h2v7h-2z" transform="scale(0.75) translate(4, 0)" /> <path d="M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01zm8.005-6c-3.317 0-6.005 2.69-6.005 6 0 3.37 2.77 6.08 6.138 6.01l.351-.01h1.761v2.3l5.087-2.81c1.951-1.08 3.163-3.13 3.163-5.36 0-3.39-2.744-6.13-6.129-6.13H9.756z" /> </g> </svg> `,
});
// contentDiv にホバーイベントを追加
contentDiv.addEventListener("mouseenter", () => {
contentDiv.style.color = "rgb(238 201 104)";
const iconBgDiv = iconDiv.querySelector("div");
if (iconBgDiv) {
iconBgDiv.style.backgroundColor = "rgba(238, 201, 104, 0.1)";
}
});
contentDiv.addEventListener("mouseleave", () => {
contentDiv.style.color = "rgb(113, 118, 123)";
const iconBgDiv = iconDiv.querySelector("div");
if (iconBgDiv) {
iconBgDiv.style.backgroundColor = "";
}
});
const countDiv = Utils.createElement("div", {
classList: ["css-175oi2r", "r-xoduu5", "r-1udh08x"],
innerHTML: ` <span data-testid="app-text-transition-container" style="transition-property: transform; transition-duration: 0.3s; transform: translate3d(0px, 0px, 0px);"> <span class="css-1jxf684 r-1ttztb7 r-qvutc0 r-poiln3 r-n6v787 r-1cwl3u0 r-1k6nrdp r-n7gxbd" style="text-overflow: unset"> <span class="css-1jxf684 r-bcqeeo r-1ttztb7 r-qvutc0 r-poiln3" style="text-overflow: unset">Quotes</span> </span> </span> `,
});
contentDiv.appendChild(iconDiv);
contentDiv.appendChild(countDiv);
link.appendChild(contentDiv);
buttonWrapper.appendChild(link);
return buttonWrapper;
},
addQuoteElement: function () {
const targetDivs = document.querySelectorAll(
'div[role="group"][id^="id__"]'
);
targetDivs.forEach((targetDiv) => {
if (targetDiv.querySelector('[data-testid="tweetEngagements"]')) {
return;
}
// ツイートIDの取得
let article = targetDiv.closest("article");
let tweetId = null;
if (article) {
const statusLink = article.querySelector('a[href*="/status/"]');
if (statusLink) {
const href = statusLink.getAttribute("href");
if (href) {
tweetId = href;
}
}
}
const quoteButton = this.createQuoteButton(tweetId);
targetDiv.insertBefore(quoteButton, targetDiv.children[4]);
});
},
init: function () {
const debouncedAddQuoteElement = Utils.debounce(
() => this.addQuoteElement(),
250
);
// URL変更の監視
let lastUrl = location.href;
const urlObserver = new MutationObserver(() => {
const url = location.href;
if (url !== lastUrl) {
lastUrl = url;
debouncedAddQuoteElement();
}
});
urlObserver.observe(document, { subtree: true, childList: true });
const timeline = document.querySelector(
"div[data-testid='primaryColumn']"
);
if (timeline) {
new MutationObserver(() => {
debouncedAddQuoteElement();
}).observe(timeline, { childList: true, subtree: true });
}
const retryInterval = setInterval(debouncedAddQuoteElement, 1000);
window.addEventListener("popstate", debouncedAddQuoteElement);
history.pushState = ((origPushState) => {
return function (state, title, url) {
origPushState.apply(this, arguments);
debouncedAddQuoteElement();
};
})(history.pushState);
history.replaceState = ((origReplaceState) => {
return function (state, title, url) {
origReplaceState.apply(this, arguments);
debouncedAddQuoteElement();
};
})(history.replaceState);
// DOMContentLoaded で初期化
document.addEventListener("DOMContentLoaded", () => {
debouncedAddQuoteElement();
clearInterval(retryInterval);
});
debouncedAddQuoteElement();
},
};
// -----------------------------------------------------------------------------------
// メイン処理
// -----------------------------------------------------------------------------------
function main() {
loadConfig();
SettingsModule.createSettingsUI();
setupKeyboardShortcut();
setupMenuCommand();
// タイムスタンプの更新を定期的に実行
setInterval(() => TimestampModule.updateTimestamps(), 1000);
// アイコン情報表示を初期化
replaceTwitterIcons();
// サイドバーの情報表示を初期化
SidebarModule.init();
// 動画プレイヤーの設定を監視
VideoModule.observeVideos();
// 引用ツイートボタンの追加を初期化
TweetEngagementModule.init();
}
// ページ読み込み時にメイン処理を実行
window.addEventListener("load", main);
})();