Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • weblate/metager-webextension
  • open-source/metager-webextension
2 results
Show changes
Commits on Source (3)
# 1.12
* Fix: NetRequest Rules only applied for intiatorDomains of MetaGer
# v1.2
* Add hint to show if settings are applied in inkognito mode
......
......@@ -35,8 +35,8 @@
}
},
"release_notes": {
"de": "* Hinweis hinzufügen, der anzeigt, ob die Einstellungen im Inkognito-Modus angewendet werden\n* Zahlungen mit Fraktions-Token zulassen\n* Anonyme Token-Zahlungen synchronisieren\n* Fix: Schnittstelle bei Berechtigungs-Updates\n* Fix: NetRequestRules werden nicht auf Chrome-Startseiten angewendet",
"en-US": "* Add hint to show if settings are applied in inkognito mode\n* Allow fraction Token payments\n* Update Anonymous Token payment to be synchronious\n* Fix: Interface on permission updates\n* Fix: NetRequestRules not getting applied to Chrome startpages"
"de": "* Fix: NetRequest Regeln wurden nicht für alle Aufrufe von MetaGer angewendet",
"en-US": "* Fix: NetRequest Rules only applied for intiatorDomains of MetaGer"
}
},
"is_disabled": false,
......
......@@ -224,7 +224,7 @@ export class SettingsManager {
rules.push({
id: 6,
condition: {
initiatorDomains: this.hosts,
requestDomains: this.hosts,
resourceTypes: ["main_frame", "sub_frame", "xmlhttprequest"]
},
action: {
......@@ -240,7 +240,7 @@ export class SettingsManager {
rules.push({
id: 1,
condition: {
initiatorDomains: this.hosts,
requestDomains: this.hosts,
resourceTypes: ["main_frame", "sub_frame", "xmlhttprequest"]
},
action: {
......
......@@ -198,6 +198,7 @@ export class TokenManager {
.then(payment_request => this.pay_payment_request(payment_request))
.catch(error => console.error(error));
}
}
async handleResponseHeaders(details) {
......@@ -398,7 +399,7 @@ export class TokenManager {
rules.push({
id: 2,
condition: {
initiatorDomains: this._hosts,
requestDomains: this._hosts,
urlFilter: "/keys/*",
resourceTypes: ["main_frame", "sub_frame", "xmlhttprequest"]
},
......@@ -414,7 +415,7 @@ export class TokenManager {
rules.push({
id: 3,
condition: {
initiatorDomains: this._hosts,
requestDomains: this._hosts,
urlFilter: "/meta/settings*",
resourceTypes: ["main_frame", "sub_frame", "xmlhttprequest"]
},
......@@ -432,7 +433,7 @@ export class TokenManager {
rules.push({
id: 4,
condition: {
initiatorDomains: this._hosts,
requestDomains: this._hosts,
resourceTypes: ["main_frame", "sub_frame", "xmlhttprequest"]
},
action: {
......@@ -453,7 +454,7 @@ export class TokenManager {
rules.push({
id: 5,
condition: {
initiatorDomains: this._hosts,
requestDomains: this._hosts,
urlFilter: "/meta/meta.ger3?*",
resourceTypes: ["main_frame", "sub_frame", "xmlhttprequest"]
},
......@@ -470,7 +471,7 @@ export class TokenManager {
rules.push({
id: 2,
condition: {
initiatorDomains: this._hosts,
requestDomains: this._hosts,
resourceTypes: ["main_frame", "sub_frame", "xmlhttprequest"]
},
action: {
......
......@@ -2,7 +2,7 @@
"author": "SUMA-EV",
"manifest_version": 3,
"name": "__MSG_searchProviderName__",
"version": "1.2",
"version": "1.12",
"description": "__MSG_extensionDescription__",
"default_locale": "en",
"browser_specific_settings": {
......
......@@ -73,7 +73,7 @@ function buildManifest(content, mode = "production") {
'http://localhost/keys/*',
'http://localhost/*/keys/*'
);
manifest.host_permissions.push("http://localhost/*", "http://localhost/*");
manifest.host_permissions.push("http://localhost/*", "http://localhost:8080/*");
}
if (browser_env == "CHROME") {
......