Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

I need to hide my email from the right side menu.

  • 5 답장
  • 1 이 문제를 만남
  • 17 보기
  • 최종 답변자: cor-el

more options

I've the same problem as https://support.mozilla.org/questions/1317794#question-reply but after following the steps for the solution, it doesn't work for me. Does it have to do with all updates since this question was answered? I've created the chrome folder. I've created userChrome.css file and added the following without "`" marks in it and saved it and restarted firefox after changing the toolkit.legacyUserProfileCustomizations.stylesheets = true . ```

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#appMenu-fxa-label > .toolbarbutton-text { visibility:hidden !important; }

```

It doesn't work for me. Please have a look.

I've the same problem as https://support.mozilla.org/questions/1317794#question-reply but after following the steps for the solution, it doesn't work for me. Does it have to do with all updates since this question was answered? I've created the chrome folder. I've created userChrome.css file and added the following without "`" marks in it and saved it and restarted firefox after changing the toolkit.legacyUserProfileCustomizations.stylesheets = true . ``` <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ #appMenu-fxa-label > .toolbarbutton-text { visibility:hidden !important; }</nowiki></pre><br> ``` It doesn't work for me. Please have a look.

글쓴이 cor-el 수정일시

선택된 해결법

Sorry, I forgot to test this. The code I wrote above is about hiding the Sign in button. To hide the email label you can use:

#appMenu-fxa-label2 {
/* opacity:0; */ /*only hide the label, you can still click to open its sub menu*/
visibility:hidden !important;  /*hide email label and deactivate the button*/
}

Other possible code:

/* FXA: Hide email address */
#appMenu-fxa-status2[fxastatus="signedin"] #appMenu-fxa-label2 label {
 opacity: 0 !important;
}
/* FXA: Inject and position text */
#appMenu-fxa-status2[fxastatus="signedin"]::before {
  content: "Firefox account";
  position: relative;
  left: calc(8px + 8px);
  pointer-events: none;
}

문맥에 따라 이 답변을 읽어주세요 👍 1

모든 댓글 (5)

more options

Its is a different selector (html:div) in current releases.

*|*#appMenu-fxa-text {visibility:hidden !important}

more options

선택된 해결법

Sorry, I forgot to test this. The code I wrote above is about hiding the Sign in button. To hide the email label you can use:

#appMenu-fxa-label2 {
/* opacity:0; */ /*only hide the label, you can still click to open its sub menu*/
visibility:hidden !important;  /*hide email label and deactivate the button*/
}

Other possible code:

/* FXA: Hide email address */
#appMenu-fxa-status2[fxastatus="signedin"] #appMenu-fxa-label2 label {
 opacity: 0 !important;
}
/* FXA: Inject and position text */
#appMenu-fxa-status2[fxastatus="signedin"]::before {
  content: "Firefox account";
  position: relative;
  left: calc(8px + 8px);
  pointer-events: none;
}

글쓴이 cor-el 수정일시

more options

Dropa said

For help with userChrome.css you need to contact the creator of the css edits for how to use it. That will always show there any change to that is up to the userChrome.css site or creator to support it.

People can still try and ask for help here as cor-el is helping with userChrome.css edits as you can see above.

more options

Thank you very much @cor-el, it worked. I only tried the first part and it worked. Didn't test further solutions you graciously provided.

more options

You're welcome.

The second code shows "Firefox account" as a replacement text.