【问题标题】:Can I disable the "google translate bar" via userchrome?我可以通过 userchrome 禁用“谷歌翻译栏”吗?
【发布时间】:2019-05-15 01:27:56
【问题描述】:

问题同上。我正在使用 Firefox 66、64 位。 由于我对 css/userchrome 完全陌生,因此我可能会出错。

我尝试了Google translator top bar hideHiding Google Translate bar 中发布的解决方案,但没有奏效。 不过,我发现的大多数线程要么来自 Firefox“量子”之前,要么在 OP 的网站上专门要求禁用翻译栏。

【问题讨论】:

  • 使用 userContent.css,而不是 userChrome.css。

标签: css firefox google-translate


【解决方案1】:

正如 Lister 先生在 cmets 中所说,它必须在 userContent.css 中(不过在同一个 chrome 文件夹中)。

添加

body > .skiptranslate {
    display: none;
}

正如Hiding Google Translate bar 中所发布的那样,那里隐藏了翻译栏,没有任何(立即可见的)问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-07-26
    • 1970-01-01
    • 2016-04-16
    • 2013-01-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-03-13
    相关资源
    最近更新 更多