forked from matt-kruse/socialfixerdata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tweaks.json
47 lines (47 loc) · 10.2 KB
/
tweaks.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"tweaks" :
[
{
"id" : 2,
"title" : "Hide \"Related\" Stories and Pages",
"description" : "When you click a link from the news feed or Like a page post, Facebook inserts a block of other things you might like. Enable this Tweak to hide those blocks.",
"css" : "*[sfx_post] > div[data-ownerid], *[sfx_post] + div[data-ownerid] { display:none !important; }"
}, {
"id" : 3,
"title" : "Hide Notification Bubble",
"description" : "When a new notification is added, it is displayed in the lower left corner. Enable this tweak to hide it. Updated 2022-08-20, supports 2020 & 2022 layouts.",
"css": "ul.poy2od1o.p7hjln8o > li.pmk7jnqg.pedkr2u6.ilcmz9jb.j9ispegn > :not(.cwj9ozl2),\n.poy2od1o ul.p7hjln8o > li.pmk7jnqg.pedkr2u6.ilcmz9jb.j9ispegn > :not(.cwj9ozl2),\n.poy2od1o.kavbgo14[class*='-mode'] li > :not([class*='-mode']),\n.poy2od1o[class*='-mode'] > ul.p7hjln8o li.pedkr2u6.ilcmz9jb > :not([class*='-mode']),\n.khm9p5p9[class*='-mode'] ul.s5oniofx li.cdum9rwi.rgt4ek0a > :not(.k0kqjr44):not([class*='-mode']),\n.xixxii4[class*='-mode'] ul.xe8uvvx li.x1hc1fzr.x7lz9yc > :not(.x1jx94hy):not([class*='-mode']),\n.S2F_pos_fix[class*='-mode'] ul.S2F_list_none li.S2F_opac_1.S2F_ttf_eei > :not(.S2F_bg_card):not([class*='-mode'])\n { display:none !important; }\nul.poy2od1o.p7hjln8o > li,\n.poy2od1o ul.p7hjln8o > li,\n.khm9p5p9 ul.s5oniofx li,\n.xixxii4 ul.xe8uvvx li,\n.S2F_pos_fix ul.S2F_list_none li\n { transition-property: none !important; }"
}, {
"id" : 5,
"title" : "Force Chat Popup To Default Colors",
"description" : "Chat colors can be customized by people in the chat, causing the popups to be different colors. This tweak restores all chat popup panels to the default blue color.",
"css" : ".fbDockChatTabFlyout .titlebar {color:#4080ff !important;}\n.fbDockChatTabFlyout .conversation div[style*=\"background-color\"] {background-color:#4080ff !important;}\n.fbDockChatTabFlyout .fbNubFlyoutFooter g {fill:rgb(0, 132, 255) !important;}\n.fbDockChatTabFlyout .fbNubFlyoutFooter path {fill:#0084ff !important;}"
}, {
"id" : 7,
"title": "Remove Status Background Colors",
"description": "Facebook users may choose a colored or image background for their posts. This tweak removes the background and returns such posts to normal plain text. Updated 2022-08-22, supports 2020 & 2022 layouts.",
"css": "[aria-posinset] .jifvfom9[style*='background-'],\n[aria-posinset] .t5n4vrf6[style*='background-'],\n[aria-posinset] .x1nhvcw1[style*='background-'],\n[aria-posinset] .S2F_just_flst[style*='background-'] {\n background:none !important;\n padding-top:10px !important;\n padding-bottom:10px !important;\n}\n[aria-posinset] .jifvfom9[style*='background-'] *,\n[aria-posinset] .t5n4vrf6[style*='background-'] *,\n[aria-posinset] .x1nhvcw1[style*='background-'] *,\n[aria-posinset] .S2F_just_flst[style*='background-'] * {\n color:var(--primary-text) !important;\n font-size:.875rem !important;\n font-weight:inherit !important;\n text-align:left !important;\n padding-top:0px !important;\n padding-bottom:0px !important;\n}"
}, {
"id" : 2021100701,
"title": "Improved Hide/Show interface & tooltips",
"description": "Improve Hide/Show Parts of the Page user interface & tooltips",
"css": "/* === Social Fixer HIDE/SHOW and TOOLTIP user interface repairs === v1.2 07Oct21\n\n This adds back certain missing Social Fixer tooltips (hover texts) which are\n missing since FB's 2020 'new layout' changes. It also fixes some appearance\n aspects of the Hide/Show user interface.\n\n It is not meant to be 'beautiful', merely functional (but it isn't too bad now).\n It's *aimed* at the tooltips for SFx wrench > Hide/Show Parts of the Page, which\n show the SFx hider title of each proposed hideable item. It also re-exposes a\n few other previously missing SFx user interface hints in:\n\n - some top-level wrench menu items\n - wrench > Options > Experiments > Find Edit (control box)\n - wrench > Hide/Show Parts of the Page (control box)\n*/\n[data-hover=tooltip][data-tooltip-content]:not([title]):not([data-tooltip-content='']):hover::after {\n color:blue;\n background-color:white;\n font-size:x-small;\n font-weight:bold;\n line-height:1em;\n text-transform:none;\n text-align:center;\n content:attr(data-tooltip-content);\n border:4px solid blueviolet;\n border-radius:12px;\n padding:none;\n margin:none;\n min-width:5em;\n max-width:max(28em,80%);\n width:auto;\n height:auto;\n max-height:8em;\n position:absolute;\n display:block;\n pointer-events:none;\n top:50%;\n left:50%;\n transform:translate(-50%,-50%);\n overflow:visible;\n z-index:200000;\n opacity:.75;\n animation:sfx_tooltip_anim .2s;\n}\n/* Special adjustment for the tooltips inside the Hide/Show box */\n.sfx_hide_bubble.sfx_hide_bubble.sfx_hide_bubble [data-hover=tooltip]:hover::after {\n transform:none;\n top:75%;\n left:37%;\n right:33%;\n}\n/* Position the corner tooltips */\n.sfx_hide_bubble.sfx_hide_bubble.sfx_hide_bubble [data-hover=tooltip][style*='right:3px'][style*='bottom:0']:hover::after {\n transform:translate(-90px,-70px);\n}\n.sfx_hide_bubble.sfx_hide_bubble.sfx_hide_bubble [data-hover=tooltip][style*='right:3px']:hover::after {\n transform:translate(-90px,0);\n}\n.sfx_hide_bubble.sfx_hide_bubble.sfx_hide_bubble [data-hover=tooltip][style*='bottom:0']:hover::after {\n transform:translate(0,-70px);\n}\n\n/* Fix appearance of Hide/Show shaders and their interaction with tooltips */\n.sfx_hide_frame.sfx_hide_frame { opacity:1; background-color:rgba(0,255,0,.2); }\n.sfx_hide_frame.sfx_hide_frame:hover { opacity:1; background-color:rgba(218,165,32,.5); }\n.sfx_hide_frame_hidden.sfx_hide_frame_hidden { opacity:1; background-color:rgba(255,0,0,.2); }\n\n/* Tooltip delays */\n@keyframes sfx_tooltip_anim {\n from { opacity:0; }\n 30% { opacity:0; }\n to { opacity:.75; }\n}\n[data-hover=tooltip]:not([data-tooltip-delay]):hover::after,\n[data-hover=tooltip][data-tooltip-delay='100']:hover::after { animation-duration:100ms !important; }\n[data-hover=tooltip][data-tooltip-delay='200']:hover::after { animation-duration:200ms !important; }\n[data-hover=tooltip][data-tooltip-delay='250']:hover::after { animation-duration:250ms !important; }\n[data-hover=tooltip][data-tooltip-delay='300']:hover::after { animation-duration:300ms !important; }\n[data-hover=tooltip][data-tooltip-delay='500']:hover::after { animation-duration:500ms !important; }\n[data-hover=tooltip][data-tooltip-delay='650']:hover::after { animation-duration:650ms !important; }\n[data-hover=tooltip][data-tooltip-delay='750']:hover::after { animation-duration:750ms !important; }\n[data-hover=tooltip][data-tooltip-delay='1000']:hover::after { animation-duration:1000ms !important; }\n[data-hover=tooltip][data-tooltip-delay='1500']:hover::after { animation-duration:1500ms !important; }"
}, {
"id" : 2021093001,
"title": "Fix date-stamp blobs (v1.2a; NOT NEEDED in SFx 28 or 29)",
"description": "This fix should not be needed in Social Fixer 28.0 or newer. You can disable it, test, then remove it if all goes well. Please report in the Support Group (in wrench menu) if the date blobs come back. Users of older SFx releases may still find this useful. Updated 2022-10-14, supports 2020 through late-2022 layouts.",
"css": "/* Fix date-stamp blobs -- should only be needed for SFx older than 28.0 -- v1.2a 14Oct22\n\n This actually works by fading out *all* hover blobs after\n five seconds. The blobs are still present but invisible. */\n\n[class*='-mode'] > div > [role=tooltip] { animation:sfx_nostamp 100000s !important; }\n@keyframes sfx_nostamp {\n from { opacity:1; }\n 0.0050% { opacity:1; }\n 0.0055% { opacity:0; }\n to { opacity:0; }\n}"
}, {
"id": 2022031601,
"max_version": "28.0.99",
"title": "Fix stray Social Fixer menus (NOT NEEDED in SFx 29)",
"description": "This fixes a bug in SFx 28.0, in which a small square of menus showing 'Filter Debugger' and/or 'Post Data' appear on the left side of the screen. The bug will be fixed in next release.",
"css": "/* hide extra, floating Social Fixer PAI menus\n**\n** Version 1.2, 2022-03-16\n**\n** This corrects a display bug in Social Fixer 28.0\n**\n** The bug causes extra post-wrench and/or post-funnel (Post Action\n** Icon, PAI) menus to appear in the upper left corner of the page.\n**\n** This bug is fixed in future SFx code; then this won't be needed.\n**\n** NOTE: if you have a tweak with: [id^=jsc_c_][role='tooltip']\n** please disable it! It hides important parts of Facebook.\n*/\n\n.sfx_post_action_menu:not([style*=right]){left:-4000px;right:4000px;}"
}, {
"id": 2023010501,
"title": "THE FIXES-TWEAK -- fix various SFx-vs-FB display glitches [v2023-01-05a]",
"description": "fb.com/5499753740136096, fb.com/955910559148155, fb.com/5445517192226418",
"css": "/*\n * BELA-TEST 2023-01-05:\n *\n * This is a slush pile of miscellaneous display fixes, some of\n * which are FB's fault, some SFx, some a conflict between the two.\n *\n * To be added to over time (or reduced if underlying bugs improve)\n */\n\n/* vvv fb.com/5499753740136096, fb.com/955910559148155 */\n/*\n * Fix some native FB glitches; and possible invisibility of the\n * '...' menu of a comment highlighted by SFx 'Scroll To Comment'\n */\n[sfx_post] [aria-haspopup=menu] {\n background-color:var(--wash);\n border-radius:5px;\n padding:1.5px;\n}\n\n/*\n * Fix the 'Like' button's visibility for a comment highlighted by\n * SFx 'Scroll To Comment'\n */\n.sfx_permalink_target li:first-child [class*='-mode'] {\n background-color:var(--wash);\n border-radius:8px;\n padding:1.5px;\n}\n\n/* Make the '...' menus on both posts & comments always-visible\n * instead of playing peekaboo when you mouse near them\n */\n[sfx_post] [aria-hidden=false].xg01cxk.xhva3ql {\n opacity:1;\n}\n/* ^^^ fb.com/5499753740136096, fb.com/955910559148155 */\n\n/* vvv fb.com/5445517192226418 */\n\n/* Fix a condition where FB print a lot of little junk messages on\n * the left side of the screen, things like 'Learn More' and '2h'.\n * It has nothing to do with SFx, just FB's own bugs -- but we can\n * fix it...\n */\n[style*='top: -10000px'] { left: -10000px; }\n\n/* ^^^ fb.com/5445517192226418 */"
}
]
}