In the file "palemoon/branding/unofficial/pref/palemoon.js" please make the following changes. This enables "New Moon" to work OK with Youtube, etc, like the official build. For greater clarity, the first 4 lines are inserted at the beginning of the file (palemoon.js) and the final 6 lines are appended to the end. You'll probably need some internal mechanism to keep "general.useragent.compatMode.version" synchronised in official and unofficial version. I currently use a bash script to "grep" and copy over the changes. IANAP (I Am Not A Programmer), and you do not want me touching the git repository.
diff old.js palemoon-branding.js
0a1,4
> #filter substitution
> #filter emptyLines
> #include ../../shared/pref/uaoverrides.inc
>
37a42,47
>
> // Enable Firefox compatmode by default.
> pref("general.useragent.compatMode", 2);
> pref("general.useragent.compatMode.gecko", true);
> pref("general.useragent.compatMode.firefox", true);
> pref("general.useragent.compatMode.version", "115.0");
Please add a few lines to unofficial palemoon-branding.js
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
-
- Astronaut
- Posts: 701
- Joined: 2015-07-30, 20:29
- Location: Vaughan, ON, Canada
Please add a few lines to unofficial palemoon-branding.js
There are 2 kinds of people in this world...
1) Those who can extrapolate from incomplete data
1) Those who can extrapolate from incomplete data