Compare commits

...

2 Commits

Author SHA1 Message Date
Jonny Buchanan
09b5e7b72d Release v4.12.1
- Fixed restored Tweet source and link headlines not displaying in some browsers
2025-06-01 14:50:02 +10:00
Jonny Buchanan
17d078e639 Fixed restored Tweet sources and link headlines not displaying in some browsers 2025-06-01 14:48:39 +10:00
7 changed files with 14 additions and 14 deletions

View File

@ -4,7 +4,7 @@
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
"homepage_url": "https://soitis.dev/control-panel-for-twitter",
"version": "4.12.0",
"version": "4.12.1",
"icons": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",

View File

@ -4,7 +4,7 @@
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
"homepage_url": "https://soitis.dev/control-panel-for-twitter",
"version": "4.12.0",
"version": "4.12.1",
"icons": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",

View File

@ -793,7 +793,7 @@
</section>
</section>
<div id="version">v4.12.0<span id="debugCountdown"></span></div>
<div id="version">v4.12.1<span id="debugCountdown"></span></div>
</form>
<script src="options.js"></script>
</body>

View File

@ -310,7 +310,7 @@ let $showBlueReplyFollowersCountLabel = /** @type {HTMLElement} */ (document.que
//#region Utility functions
function exportConfig() {
let $a = document.createElement('a')
$a.download = 'control-panel-for-twitter-v4.12.0.config.txt'
$a.download = 'control-panel-for-twitter-v4.12.1.config.txt'
$a.href = URL.createObjectURL(new Blob([
JSON.stringify(optionsConfig, null, 2)
], {type: 'text/plain'}))

View File

@ -640,7 +640,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 92;
CURRENT_PROJECT_VERSION = 93;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = 2RDKJDLNY8;
@ -661,7 +661,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MARKETING_VERSION = 4.12.0;
MARKETING_VERSION = 4.12.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
@ -703,7 +703,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 92;
CURRENT_PROJECT_VERSION = 93;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 2RDKJDLNY8;
@ -718,7 +718,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MARKETING_VERSION = 4.12.0;
MARKETING_VERSION = 4.12.1;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SWIFT_COMPILATION_MODE = wholemodule;

View File

@ -4,7 +4,7 @@
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescriptionShort__",
"homepage_url": "https://soitis.dev/control-panel-for-twitter",
"version": "4.12.0",
"version": "4.12.1",
"icons": {
"48": "icon48.png",
"96": "icon96.png",

View File

@ -8,7 +8,7 @@
// @match https://x.com/*
// @match https://mobile.x.com/*
// @run-at document-start
// @version 194
// @version 195
// ==/UserScript==
void function() {
@ -3883,8 +3883,8 @@ const configureCss = (() => {
}
if (config.restoreLinkHeadlines) {
cssRules.push(`
.cpft_link_headline {
display: block
.cpft_link_headline[hidden] {
display: block;
border-top: 1px solid var(--border-color);
padding: 14px;
}
@ -3898,7 +3898,7 @@ const configureCss = (() => {
}
if (config.restoreQuoteTweetsLink || config.restoreOtherInteractionLinks) {
cssRules.push(`
#cpftInteractionLinks {
#cpftInteractionLinks[hidden] {
display: block;
}
#cpftInteractionLinks a {
@ -3926,7 +3926,7 @@ const configureCss = (() => {
hideCssSelectors.push('#cpftRetweetsLink', '#cpftLikesLink')
}
if (config.restoreTweetSource) {
cssRules.push('.TweetSource { display: inline; }')
cssRules.push('.TweetSource[hidden] { display: inline; }')
}
if (config.tweakQuoteTweetsPage) {
// Hide the quoted tweet, which is repeated in every quote tweet