mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-28 03:17:31 +09:00
Compare commits
No commits in common. "040fea8947d03500da10c882c1023c87251c457f" and "9230d4f43693c1ab29e12dec0d0d0f4adc12ba38" have entirely different histories.
040fea8947
...
9230d4f436
11 changed files with 3245 additions and 126 deletions
|
|
@ -391,7 +391,11 @@ pref("browser.tabs.loadDivertedInBackground", false);
|
||||||
pref("browser.tabs.loadBookmarksInBackground", false);
|
pref("browser.tabs.loadBookmarksInBackground", false);
|
||||||
pref("browser.tabs.tabClipWidth", 140);
|
pref("browser.tabs.tabClipWidth", 140);
|
||||||
pref("browser.tabs.animate", true);
|
pref("browser.tabs.animate", true);
|
||||||
|
#ifdef UNIX_BUT_NOT_MAC
|
||||||
pref("browser.tabs.drawInTitlebar", false);
|
pref("browser.tabs.drawInTitlebar", false);
|
||||||
|
#else
|
||||||
|
pref("browser.tabs.drawInTitlebar", true);
|
||||||
|
#endif
|
||||||
|
|
||||||
// When tabs opened by links in other tabs via a combination of
|
// When tabs opened by links in other tabs via a combination of
|
||||||
// browser.link.open_newwindow being set to 3 and target="_blank" etc are
|
// browser.link.open_newwindow being set to 3 and target="_blank" etc are
|
||||||
|
|
|
||||||
|
|
@ -32,17 +32,6 @@
|
||||||
name="media.peerconnection.enabled"
|
name="media.peerconnection.enabled"
|
||||||
type="bool"/>
|
type="bool"/>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
<!-- YouTube video codecs -->
|
|
||||||
<preference id="browser.video.youtube.hide-unaccelerated"
|
|
||||||
name="browser.video.youtube.hide-unaccelerated"
|
|
||||||
type="bool"/>
|
|
||||||
<preference id="browser.video.youtube.force-h264"
|
|
||||||
name="browser.video.youtube.force-h264"
|
|
||||||
type="bool"/>
|
|
||||||
<preference id="browser.video.youtube.disable-60fps"
|
|
||||||
name="browser.video.youtube.disable-60fps"
|
|
||||||
type="bool"/>
|
|
||||||
</preferences>
|
</preferences>
|
||||||
|
|
||||||
<script type="application/javascript"
|
<script type="application/javascript"
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
52.14.0
|
52.13.2.1
|
||||||
|
|
@ -1 +1 @@
|
||||||
14.0
|
13.2.1
|
||||||
|
|
@ -627,7 +627,6 @@
|
||||||
; All the pref files must be part of base to prevent migration bugs
|
; All the pref files must be part of base to prevent migration bugs
|
||||||
@RESPATH@/browser/@PREF_DIR@/basilisk.js
|
@RESPATH@/browser/@PREF_DIR@/basilisk.js
|
||||||
@RESPATH@/browser/@PREF_DIR@/basilisk-branding.js
|
@RESPATH@/browser/@PREF_DIR@/basilisk-branding.js
|
||||||
@RESPATH@/browser/@PREF_DIR@/internaluserscripts.js
|
|
||||||
@RESPATH@/goanna.js
|
@RESPATH@/goanna.js
|
||||||
@RESPATH@/defaults/autoconfig/prefcalls.js
|
@RESPATH@/defaults/autoconfig/prefcalls.js
|
||||||
@RESPATH@/browser/defaults/permissions
|
@RESPATH@/browser/defaults/permissions
|
||||||
|
|
|
||||||
|
|
@ -3,15 +3,14 @@
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
# Default search engine
|
# Default search engine
|
||||||
browser.search.defaultenginename=Startpage
|
browser.search.defaultenginename=DuckDuckGo
|
||||||
|
|
||||||
# Search engine order (order displayed in the search bar dropdown)s
|
# Search engine order (order displayed in the search bar dropdown)s
|
||||||
browser.search.order.1=Startpage
|
browser.search.order.1=DuckDuckGo
|
||||||
browser.search.order.2=Google
|
browser.search.order.2=DuckDuckGo (Lite)
|
||||||
browser.search.order.3=DuckDuckGo (Lite)
|
browser.search.order.3=Yahoo
|
||||||
browser.search.order.4=Yahoo
|
browser.search.order.4=Bing
|
||||||
browser.search.order.5=Bing
|
browser.search.order.5=Ecosia
|
||||||
browser.search.order.6=Ecosia
|
|
||||||
|
|
||||||
# This is the default set of web based feed handlers shown in the reader
|
# This is the default set of web based feed handlers shown in the reader
|
||||||
# selection UI
|
# selection UI
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"default": {
|
"default": {
|
||||||
"visibleDefaultEngines": [
|
"visibleDefaultEngines": [
|
||||||
"startpage", "google-2018", "ddg", "ddg-lite", "yahoo", "bing", "wikipedia"
|
"ddg", "ddg-lite", "yahoo", "bing", "wikipedia"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"regionOverrides": {
|
"regionOverrides": {
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
"en-US": {
|
"en-US": {
|
||||||
"default": {
|
"default": {
|
||||||
"visibleDefaultEngines": [
|
"visibleDefaultEngines": [
|
||||||
"startpage", "google-2018", "ddg", "ddg-lite", "yahoo", "bing", "wikipedia"
|
"ddg", "ddg-lite", "yahoo", "bing", "wikipedia"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
||||||
|
|
||||||
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
|
|
||||||
<ShortName>Startpage</ShortName>
|
|
||||||
<Description>Startpage Search</Description>
|
|
||||||
<InputEncoding>UTF-8</InputEncoding>
|
|
||||||
<Image width="16" height="16">data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiByeD0iMyIgZmlsbD0iIzNiNGI5YiIvPjxwYXRoIGQ9Ik0xMi41IDQuM0MxMS43IDMuNSAxMC41IDMgOC44IDMgNi42IDMgNSA0LjIgNSA1LjljMCAxLjggMS41IDIuNCAzLjIgMi45IDEuNC40IDIuMS43IDIuMSAxLjQgMCAuNi0uNiAxLTEuNSAxLTEgMC0xLjgtLjQtMi41LTEuMUw1IDExLjVjLjkgMSAyLjEgMS41IDMuOCAxLjUgMi4zIDAgMy43LTEuMiAzLjctMyAwLTEuOS0xLjUtMi41LTMuMy0zLTEuMy0uNC0yLS43LTItMS4zIDAtLjUuNS0uOCAxLjQtLjguOSAwIDEuNi4zIDIuMy45eiIgZmlsbD0id2hpdGUiLz48L3N2Zz4=</Image>
|
|
||||||
<Url type="text/html" method="GET" template="https://www.startpage.com/sp/search">
|
|
||||||
<Param name="query" value="{searchTerms}"/>
|
|
||||||
</Url>
|
|
||||||
</SearchPlugin>
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -25,7 +25,6 @@ const XMLURI_PARSE_ERROR = "http://www.mozilla.org/newlayout/xml/pa
|
||||||
|
|
||||||
const TOOLKIT_ID = "toolkit@mozilla.org";
|
const TOOLKIT_ID = "toolkit@mozilla.org";
|
||||||
const FIREFOX_ID = "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}";
|
const FIREFOX_ID = "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}";
|
||||||
const PALEMOON_ID = "{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}";
|
|
||||||
const FIREFOX_APPCOMPATVERSION = "56.9"
|
const FIREFOX_APPCOMPATVERSION = "56.9"
|
||||||
|
|
||||||
const PREF_UPDATE_REQUIREBUILTINCERTS = "extensions.update.requireBuiltInCerts";
|
const PREF_UPDATE_REQUIREBUILTINCERTS = "extensions.update.requireBuiltInCerts";
|
||||||
|
|
@ -535,16 +534,6 @@ function parseJSONManifest(aId, aUpdateKey, aRequest, aManifestData) {
|
||||||
maxVersion: getRequiredProperty(app, "max_version", "string"),
|
maxVersion: getRequiredProperty(app, "max_version", "string"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (PALEMOON_ID in applications) {
|
|
||||||
logger.debug("update.json: Pale Moon targetApplication");
|
|
||||||
app = getProperty(applications, PALEMOON_ID, "object");
|
|
||||||
|
|
||||||
appEntry = {
|
|
||||||
id: PALEMOON_ID,
|
|
||||||
minVersion: getRequiredProperty(app, "min_version", "string"),
|
|
||||||
maxVersion: getRequiredProperty(app, "max_version", "string"),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
else if (TOOLKIT_ID in applications) {
|
else if (TOOLKIT_ID in applications) {
|
||||||
logger.debug("update.json: Toolkit targetApplication");
|
logger.debug("update.json: Toolkit targetApplication");
|
||||||
|
|
@ -845,7 +834,7 @@ function matchesVersions(aUpdate, aAppVersion, aPlatformVersion,
|
||||||
(aIgnoreMaxVersion || (Services.vc.compare(aAppVersion, app.maxVersion) <= 0));
|
(aIgnoreMaxVersion || (Services.vc.compare(aAppVersion, app.maxVersion) <= 0));
|
||||||
}
|
}
|
||||||
#ifdef MOZ_PHOENIX_EXTENSIONS
|
#ifdef MOZ_PHOENIX_EXTENSIONS
|
||||||
if (app.id == FIREFOX_ID || app.id == PALEMOON_ID) {
|
if (app.id == FIREFOX_ID) {
|
||||||
return (Services.vc.compare(aAppVersion, app.minVersion) >= 0) &&
|
return (Services.vc.compare(aAppVersion, app.minVersion) >= 0) &&
|
||||||
(aIgnoreMaxVersion || (Services.vc.compare(aAppVersion, app.maxVersion) <= 0));
|
(aIgnoreMaxVersion || (Services.vc.compare(aAppVersion, app.maxVersion) <= 0));
|
||||||
}
|
}
|
||||||
|
|
@ -909,7 +898,6 @@ this.AddonUpdateChecker = {
|
||||||
let id = targetApp.id;
|
let id = targetApp.id;
|
||||||
#ifdef MOZ_PHOENIX_EXTENSIONS
|
#ifdef MOZ_PHOENIX_EXTENSIONS
|
||||||
if (id == Services.appinfo.ID || id == FIREFOX_ID ||
|
if (id == Services.appinfo.ID || id == FIREFOX_ID ||
|
||||||
id == PALEMOON_ID ||
|
|
||||||
id == TOOLKIT_ID)
|
id == TOOLKIT_ID)
|
||||||
#else
|
#else
|
||||||
if (id == Services.appinfo.ID || id == TOOLKIT_ID)
|
if (id == Services.appinfo.ID || id == TOOLKIT_ID)
|
||||||
|
|
|
||||||
|
|
@ -137,9 +137,6 @@ const PREFIX_NS_EM = "http://www.mozilla.org/2004/em-rdf#";
|
||||||
const TOOLKIT_ID = "toolkit@mozilla.org";
|
const TOOLKIT_ID = "toolkit@mozilla.org";
|
||||||
#ifdef MOZ_PHOENIX_EXTENSIONS
|
#ifdef MOZ_PHOENIX_EXTENSIONS
|
||||||
const FIREFOX_ID = "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
const FIREFOX_ID = "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||||
// Pale Moon's legacy application ID. Basilisk and Dactyloidae use the
|
|
||||||
// Firefox ID above, but extensions may still target Pale Moon explicitly.
|
|
||||||
const PALEMOON_ID = "{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}"
|
|
||||||
const FIREFOX_APPCOMPATVERSION = "56.9"
|
const FIREFOX_APPCOMPATVERSION = "56.9"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -6420,13 +6417,6 @@ AddonInternal.prototype = {
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#ifdef MOZ_PHOENIX_EXTENSIONS
|
|
||||||
else if (app.id == PALEMOON_ID) {
|
|
||||||
// Pale Moon extensions use the application's version range.
|
|
||||||
version = aAppVersion;
|
|
||||||
this.native = true;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
else if (app.id == TOOLKIT_ID) {
|
else if (app.id == TOOLKIT_ID) {
|
||||||
// For WebExtensions against toolkit, report as Firefox 128.0
|
// For WebExtensions against toolkit, report as Firefox 128.0
|
||||||
if (this.type == "extension") {
|
if (this.type == "extension") {
|
||||||
|
|
@ -6459,8 +6449,7 @@ AddonInternal.prototype = {
|
||||||
// Extremely old extensions should not be compatible by default.
|
// Extremely old extensions should not be compatible by default.
|
||||||
let minCompatVersion;
|
let minCompatVersion;
|
||||||
#ifdef MOZ_PHOENIX_EXTENSIONS
|
#ifdef MOZ_PHOENIX_EXTENSIONS
|
||||||
if (app.id == Services.appinfo.ID || app.id == FIREFOX_ID ||
|
if (app.id == Services.appinfo.ID || app.id == FIREFOX_ID)
|
||||||
app.id == PALEMOON_ID)
|
|
||||||
#else
|
#else
|
||||||
if (app.id == Services.appinfo.ID)
|
if (app.id == Services.appinfo.ID)
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -6494,8 +6483,6 @@ AddonInternal.prototype = {
|
||||||
for (let targetApp of this.targetApplications) {
|
for (let targetApp of this.targetApplications) {
|
||||||
if (targetApp.id == FIREFOX_ID) //Firefox GUID
|
if (targetApp.id == FIREFOX_ID) //Firefox GUID
|
||||||
return targetApp;
|
return targetApp;
|
||||||
if (targetApp.id == PALEMOON_ID)
|
|
||||||
app = targetApp;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
// Return toolkit ID if toolkit.
|
// Return toolkit ID if toolkit.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue