Brings back the old Facebook Name, Must be used with https://userstyles.world/style/11533/improved-facebook-layout
Old Facebook Account Name by YoutubeEnjoyer
Details
AuthorYoutubeEnjoyer
LicenseNo License
CategoryFacebook Userstyle
Created
Updated
Size2.0 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Old Facebook Account Name
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Avolition
@advanced text username "Add your Facebook name" "Default" {
0 "Disabled*" <<<EOT
EOT;
1 "Enabled" <<<EOT
EOT;
}
}
==/UserStyle== */
@-moz-document url-prefix("https://www.facebook.com/") {
span[class="x4k7w5x x1h91t0o x1h9r5lt x1jfb8zj xv2umb2 x1beo9mf xaigb6o x12ejxvf x3igimt xarpa2k xedcshv x1lytzrv x1t2pt76 x7ja8zs x1qrby5j"] > div[class="x78zum5 x1n2onr6"]:after {
content: '/*[[username]]*/';
font-size: 12px!important;
font-weight: bold!important;
color: #fff!important;
padding: 13px 6px!important;
display: block!important;
position: relative!important;
cursor: pointer!important;
pointer-events: auto!important;
z-index: -1!important;
}
div [class="x6s0dn4 x78zum5 x15zctf7 x1s65kcs x1n2onr6 x1ja2u2z"] {
margin-right: -80px!important;
}
div [aria-label="Your profile"] {
position: relative!important;
border-radius: 50%!important;
right: 0!important;
}
div [class="xds687c x10l6tqk x13vifvy"] {
margin-right: 45px!important;
}
span[class="x4k7w5x x1h91t0o x1h9r5lt x1jfb8zj xv2umb2 x1beo9mf xaigb6o x12ejxvf x3igimt xarpa2k xedcshv x1lytzrv x1t2pt76 x7ja8zs x1qrby5j"] > div[class="x78zum5 x1n2onr6"] {
position: relative;
right: 273px!important;
}
svg[aria-label="Your profile"] image[style*="height:40px"] {
height: 27px!important;
width: 27px!important;
margin-top: 8px!important;
border: 1px solid rgba(0, 0, 0, 0.0976562)!important;
}
span[class="x6s0dn4 xzolkzo x12go9s9 x1rnf11y xprq8jg x9f619 x3nfvp2 xl56j7k xdi0jry x13fuv20 xu3j5b3 x1q0q8m5 x26u7qi xamhcws xol2nv xlxy82 x19p7ews x1v9usgg x6jxa94 x6zyg47 x1xm1mqw xpn8fn3 xtct9fg"] {
display: none;
}
svg[aria-label="Your profile"] {
height: 27px!important;
width: 27px!important;
margin-top: 7px!important;
}
div [class="xds687c x1pi30zi x1e558r4 xixxii4 x13vifvy xzkaem6"] {
right: -80px!important;
}
}