gnuzilla-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DRM Content link in about:preferences#general


From: Antonio T. sagitter
Subject: Re: DRM Content link in about:preferences#general
Date: Fri, 7 May 2021 14:42:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

On 5/7/21 6:21 AM, Mark H Weaver wrote:
Hi Antonio,

"Antonio T. sagitter" <sagitter@fedoraproject.org> writes:
I wish to point the "Learn more" link of DRM Content in
about:preferences#general to the webpage
https://www.gnu.org/proprietary/proprietary-drm.html.en

Does IceCat in Fedora show that setting?  I don't see anything about
"DRM Content" in <about:preferences#general> in IceCat as built by GNU
Guix.

Do you have "ac_add_options --disable-eme" in your mozconfig?  If not,
please consider adding it.  Alternatively, if you're using the
'configure' script, passing "--disable-eme" also works.

"--disable-eme" dows not work in some architectures (s390x, arm),
so i removed it.

I have to choose if removing "--disable-eme" completely and modify the link, or using -eme option when possible.


What change is needed in IceCat?

See "drmInfoURL" in browser/components/preferences/main.js for the
relevant code.  As it is now, it looks like it goes to:

https://libreplanet.org/wiki/Group:IceCat/drm-content

       Mark


Is it possible using an entire http link instead of `("app.support.baseURL") +
 "drm-content"`?

    let drmInfoURL =

      Services.urlFormatter.formatURLPref("app.support.baseURL") +

      "drm-content";

    document

      .getElementById("playDRMContentLink")

      .setAttribute("href", drmInfoURL);

let emeUIEnabled = Services.prefs.getBoolPref("browser.eme.ui.enabled");

--
---
Antonio Trande
Fedora Project
mailto: sagitter@fedoraproject.org
GPG key: 0x29FBC85D7A51CC2F
GPG key server: https://keys.gnupg.net/

Attachment: OpenPGP_0x29FBC85D7A51CC2F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]