Bug Fixes

Bug Fixes
master
Abdul Mannan Saeed 2022-04-14 11:50:58 +05:00
parent 316742eaa4
commit 335892db62
1290 changed files with 8089 additions and 91229 deletions

View File

@ -220,7 +220,7 @@
android:stopWithTask="true" /> android:stopWithTask="true" />
<service <service
android:name="org.orbotproject.android.service.OrbotService" android:name="org.torproject.android.service.OrbotService"
android:enabled="true" android:enabled="true"
android:exported="false" android:exported="false"
android:stopWithTask="true" /> android:stopWithTask="true" />
@ -242,7 +242,7 @@
</receiver> </receiver>
<receiver <receiver
android:name="org.orbotproject.android.service.StartTorReceiver" android:name="org.torproject.android.service.StartTorReceiver"
android:exported="true" android:exported="true"
tools:ignore="ExportedReceiver"> tools:ignore="ExportedReceiver">
<intent-filter> <intent-filter>

0
app/src/main/assets/adblock/background.js Normal file → Executable file
View File

0
app/src/main/assets/adblock/intercept.js Normal file → Executable file
View File

0
app/src/main/assets/adblock/manifest.json Normal file → Executable file
View File

0
app/src/main/assets/arm/obfs4proxy Normal file → Executable file
View File

0
app/src/main/assets/common/geoip Normal file → Executable file
View File

0
app/src/main/assets/common/geoip6 Normal file → Executable file
View File

0
app/src/main/assets/error/badcert-dark.html Normal file → Executable file
View File

0
app/src/main/assets/error/badcert.html Normal file → Executable file
View File

View File

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

112
app/src/main/assets/geckoview-config-noimage.yaml Normal file → Executable file
View File

@ -1,56 +1,56 @@
# Contents of /data/local/tmp/com.yourcompany.yourapp-geckoview-config.yaml # Contents of /data/local/tmp/com.yourcompany.yourapp-geckoview-config.yaml
env: env:
MOZ_LOG: nsHttp:5 MOZ_LOG: nsHttp:5
prefs: prefs:
network.proxy.type: 1 network.proxy.type: 1
# network.proxy.socks: "127.0.0.1" # network.proxy.socks: "127.0.0.1"
# network.proxy.socks_port: 9050 # network.proxy.socks_port: 9050
network.proxy.socks_version: 5 network.proxy.socks_version: 5
network.proxy.socks_remote_dns: true network.proxy.socks_remote_dns: true
permissions.default.image: 2 permissions.default.image: 2
browser.display.show_image_placeholders: true browser.display.show_image_placeholders: true
browser.cache.disk.enable: false browser.cache.disk.enable: false
browser.cache.memory.enable: true browser.cache.memory.enable: true
browser.cache.disk.capacity: 0 browser.cache.disk.capacity: 0
privacy.resistFingerprinting: true privacy.resistFingerprinting: true
privacy.donottrackheader.enabled: false privacy.donottrackheader.enabled: false
privacy.donottrackheader.value: 1 privacy.donottrackheader.value: 1
network.http.sendRefererHeader: 0 network.http.sendRefererHeader: 0
security.checkloaduri: false security.checkloaduri: false
security.mixed_content.block_active_content: false security.mixed_content.block_active_content: false
security.mixed_content.block_display_content: false security.mixed_content.block_display_content: false
media.peerconnection.enabled: false //webrtc disabled media.peerconnection.enabled: false //webrtc disabled
browser.cache.disk_cache_ssl: true browser.cache.disk_cache_ssl: true
signon.formlessCapture.enabled: true signon.formlessCapture.enabled: true
signon.storeWhenAutocompleteOff: true signon.storeWhenAutocompleteOff: true
dom.event.contextmenu.enabled: true dom.event.contextmenu.enabled: true
layout.css.visited_links_enabled: true layout.css.visited_links_enabled: true
security.ssl3.ecdhe_rsa_aes_128_sha: true security.ssl3.ecdhe_rsa_aes_128_sha: true
security.ssl3.ecdhe_ecdsa_aes_128_sha: true security.ssl3.ecdhe_ecdsa_aes_128_sha: true
security.ssl3.dhe_rsa_aes_128_sha: true security.ssl3.dhe_rsa_aes_128_sha: true
security.ssl3.rsa_des_ede3_sha: true security.ssl3.rsa_des_ede3_sha: true
security.ssl3.dhe_rsa_aes_256_sha: true security.ssl3.dhe_rsa_aes_256_sha: true
browser.safebrowsing.blockedURIs.enabled: false browser.safebrowsing.blockedURIs.enabled: false
media.gmp-provider.enabled: false media.gmp-provider.enabled: false
browser.send_pings.require_same_host: false browser.send_pings.require_same_host: false
webgl.disabled: false webgl.disabled: false
pdfjs.enableWebGL: false pdfjs.enableWebGL: false
browser.safebrowsing.malware.enabled: false browser.safebrowsing.malware.enabled: false
security.csp.experimentalEnabled: false security.csp.experimentalEnabled: false
network.http.referer.spoofSource: false network.http.referer.spoofSource: false
security.OCSP.require: false security.OCSP.require: false
security.ssl.require_safe_negotiation: false security.ssl.require_safe_negotiation: false
privacy.clearOnShutdown.cache: true privacy.clearOnShutdown.cache: true
privacy.clearOnShutdown.downloads: true privacy.clearOnShutdown.downloads: true
privacy.clearOnShutdown.formdata: true privacy.clearOnShutdown.formdata: true
privacy.clearOnShutdown.history: true privacy.clearOnShutdown.history: true
privacy.clearOnShutdown.offlineApps: true privacy.clearOnShutdown.offlineApps: true
privacy.clearOnShutdown.passwords: true privacy.clearOnShutdown.passwords: true
privacy.clearOnShutdown.sessions: true privacy.clearOnShutdown.sessions: true
privacy.clearOnShutdown.siteSettings: true privacy.clearOnShutdown.siteSettings: true

112
app/src/main/assets/geckoview-config.yaml Normal file → Executable file
View File

@ -1,56 +1,56 @@
# Contents of /data/local/tmp/com.yourcompany.yourapp-geckoview-config.yaml # Contents of /data/local/tmp/com.yourcompany.yourapp-geckoview-config.yaml
env: env:
MOZ_LOG: nsHttp:5 MOZ_LOG: nsHttp:5
prefs: prefs:
network.proxy.type: 1 network.proxy.type: 1
# network.proxy.socks: "127.0.0.1" # network.proxy.socks: "127.0.0.1"
# network.proxy.socks_port: 9050 # network.proxy.socks_port: 9050
network.proxy.socks_version: 5 network.proxy.socks_version: 5
network.proxy.socks_remote_dns: true network.proxy.socks_remote_dns: true
permissions.default.image: 1 permissions.default.image: 1
browser.display.show_image_placeholders: true browser.display.show_image_placeholders: true
browser.cache.disk.enable: false browser.cache.disk.enable: false
browser.cache.memory.enable: true browser.cache.memory.enable: true
browser.cache.disk.capacity: 0 browser.cache.disk.capacity: 0
privacy.resistFingerprinting: true privacy.resistFingerprinting: true
privacy.donottrackheader.enabled: false privacy.donottrackheader.enabled: false
privacy.donottrackheader.value: 1 privacy.donottrackheader.value: 1
network.http.sendRefererHeader: 0 network.http.sendRefererHeader: 0
security.checkloaduri: false security.checkloaduri: false
security.mixed_content.block_active_content: false security.mixed_content.block_active_content: false
security.mixed_content.block_display_content: false security.mixed_content.block_display_content: false
media.peerconnection.enabled: false //webrtc disabled media.peerconnection.enabled: false //webrtc disabled
browser.cache.disk_cache_ssl: true browser.cache.disk_cache_ssl: true
signon.formlessCapture.enabled: true signon.formlessCapture.enabled: true
signon.storeWhenAutocompleteOff: true signon.storeWhenAutocompleteOff: true
dom.event.contextmenu.enabled: true dom.event.contextmenu.enabled: true
layout.css.visited_links_enabled: true layout.css.visited_links_enabled: true
security.ssl3.ecdhe_rsa_aes_128_sha: true security.ssl3.ecdhe_rsa_aes_128_sha: true
security.ssl3.ecdhe_ecdsa_aes_128_sha: true security.ssl3.ecdhe_ecdsa_aes_128_sha: true
security.ssl3.dhe_rsa_aes_128_sha: true security.ssl3.dhe_rsa_aes_128_sha: true
security.ssl3.rsa_des_ede3_sha: true security.ssl3.rsa_des_ede3_sha: true
security.ssl3.dhe_rsa_aes_256_sha: true security.ssl3.dhe_rsa_aes_256_sha: true
browser.safebrowsing.blockedURIs.enabled: false browser.safebrowsing.blockedURIs.enabled: false
media.gmp-provider.enabled: false media.gmp-provider.enabled: false
browser.send_pings.require_same_host: false browser.send_pings.require_same_host: false
webgl.disabled: false webgl.disabled: false
pdfjs.enableWebGL: false pdfjs.enableWebGL: false
browser.safebrowsing.malware.enabled: false browser.safebrowsing.malware.enabled: false
security.csp.experimentalEnabled: false security.csp.experimentalEnabled: false
network.http.referer.spoofSource: false network.http.referer.spoofSource: false
security.OCSP.require: false security.OCSP.require: false
security.ssl.require_safe_negotiation: false security.ssl.require_safe_negotiation: false
privacy.clearOnShutdown.cache: true privacy.clearOnShutdown.cache: true
privacy.clearOnShutdown.downloads: true privacy.clearOnShutdown.downloads: true
privacy.clearOnShutdown.formdata: true privacy.clearOnShutdown.formdata: true
privacy.clearOnShutdown.history: true privacy.clearOnShutdown.history: true
privacy.clearOnShutdown.offlineApps: true privacy.clearOnShutdown.offlineApps: true
privacy.clearOnShutdown.passwords: true privacy.clearOnShutdown.passwords: true
privacy.clearOnShutdown.sessions: true privacy.clearOnShutdown.sessions: true
privacy.clearOnShutdown.siteSettings: true privacy.clearOnShutdown.siteSettings: true

View File

@ -1,63 +1,63 @@
body{ body{
background-color : #1c1b21 !important; background-color : #1c1b21 !important;
} }
.hi_logo_text{ .hi_logo_text{
max-width: 450px; max-width: 450px;
width: 65%; width: 65%;
height: auto; height: auto;
display: block; display: block;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
margin-bottom: 30px; margin-bottom: 30px;
} }
.hi_info{ .hi_info{
margin-top: 30px; margin-top: 30px;
padding-left:15px; padding-left:15px;
padding-bottom: 12px; padding-bottom: 12px;
padding-top: 10px; padding-top: 10px;
margin-bottom: 30px; margin-bottom: 30px;
height: auto; height: auto;
color:#d9d9d9; color:#d9d9d9;
border-left: 5px solid #ff9933; border-left: 5px solid #ff9933;
} }
.hi_bullets{ .hi_bullets{
margin-left: 20px; margin-left: 20px;
line-height: 30px; line-height: 30px;
} }
.hi_card{ .hi_card{
cursor: pointer; cursor: pointer;
background: #121212 !important; background: #121212 !important;
color:#cccccc !important; color:#cccccc !important;
} }
.hi_card_link{ .hi_card_link{
color: #8cb3d9; color: #8cb3d9;
font-size: 15px; font-size: 15px;
} }
.hi_issue--color{ .hi_issue--color{
color: #538cc6; color: #538cc6;
} }
.hi_arrow--color{ .hi_arrow--color{
color: #538cc6; color: #538cc6;
} }
.hi_card--margin-top{ .hi_card--margin-top{
margin-top: 2%; margin-top: 2%;
} }
.hi_no_select { .hi_no_select {
-webkit-touch-callout: none; /* iOS Safari */ -webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */ -webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */ -khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */ -moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */ -ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently user-select: none; /* Non-prefixed version, currently
supported by Chrome and Opera */ supported by Chrome and Opera */
} }

View File

@ -1,56 +1,56 @@
.hi_logo_text{ .hi_logo_text{
max-width: 450px; max-width: 450px;
width: 65%; width: 65%;
height: auto; height: auto;
display: block; display: block;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
margin-bottom: 30px; margin-bottom: 30px;
} }
.hi_info{ .hi_info{
margin-top: 30px; margin-top: 30px;
padding-left:15px; padding-left:15px;
padding-bottom: 12px; padding-bottom: 12px;
padding-top: 10px; padding-top: 10px;
margin-bottom: 30px; margin-bottom: 30px;
height: auto; height: auto;
border-left: 5px solid #ff9933; border-left: 5px solid #ff9933;
} }
.hi_bullets{ .hi_bullets{
margin-left: 20px; margin-left: 20px;
line-height: 30px; line-height: 30px;
} }
.hi_card{ .hi_card{
cursor: pointer; cursor: pointer;
} }
.hi_card_link{ .hi_card_link{
color: #6699cc; color: #6699cc;
font-size: 15px; font-size: 15px;
} }
.hi_issue--color{ .hi_issue--color{
color: #336699; color: #336699;
} }
.hi_arrow--color{ .hi_arrow--color{
color: #4080bf; color: #4080bf;
} }
.hi_card--margin-top{ .hi_card--margin-top{
margin-top: 2%; margin-top: 2%;
} }
.hi_no_select { .hi_no_select {
-webkit-touch-callout: none; /* iOS Safari */ -webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */ -webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */ -khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */ -moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */ -ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently user-select: none; /* Non-prefixed version, currently
supported by Chrome and Opera */ supported by Chrome and Opera */
} }

View File

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 478 B

View File

View File

View File

View File

View File

View File

72
app/src/main/assets/parser/background.js Normal file → Executable file
View File

@ -1,37 +1,37 @@
'use strict'; 'use strict';
const port = browser.runtime.connectNative("browser"); const port = browser.runtime.connectNative("browser");
async function sendMessageToTab(message) { async function sendMessageToTab(message) {
try { try {
let tabs = await browser.tabs.query({}) let tabs = await browser.tabs.query({})
console.log(`background:tabs:${tabs}`) console.log(`background:tabs:${tabs}`)
return await browser.tabs.sendMessage( return await browser.tabs.sendMessage(
tabs[tabs.length - 1].id, tabs[tabs.length - 1].id,
message message
) )
} catch (e) { } catch (e) {
console.log(`background:sendMessageToTab:req:error:${e}`) console.log(`background:sendMessageToTab:req:error:${e}`)
return e.toString(); return e.toString();
} }
} }
//监听 app message //监听 app message
port.onMessage.addListener(request => { port.onMessage.addListener(request => {
let action = request.action; let action = request.action;
if(action === "evalJavascript") { if(action === "evalJavascript") {
sendMessageToTab(request).then((resp) => { sendMessageToTab(request).then((resp) => {
port.postMessage(resp); port.postMessage(resp);
}).catch((e) => { }).catch((e) => {
console.log(`background:sendMessageToTab:resp:error:${e}`) console.log(`background:sendMessageToTab:resp:error:${e}`)
}); });
} }
}) })
//接收 content.js message //接收 content.js message
browser.runtime.onMessage.addListener((data, sender) => { browser.runtime.onMessage.addListener((data, sender) => {
let action = data.action; let action = data.action;
console.log("background:content:onMessage:" + action); console.log("background:content:onMessage:" + action);
if (action === 'JSBridge') { if (action === 'JSBridge') {
port.postMessage(data); port.postMessage(data);
} }
return Promise.resolve('done'); return Promise.resolve('done');
}) })

160
app/src/main/assets/parser/content.js Normal file → Executable file
View File

@ -1,81 +1,81 @@
console.log(`content:start`); console.log(`content:start`);
let JSBridge = { let JSBridge = {
postMessage: function (message) { postMessage: function (message) {
browser.runtime.sendMessage({ browser.runtime.sendMessage({
action: "JSBridge", action: "JSBridge",
data: message data: message
}); });
} }
} }
window.wrappedJSObject.JSBridge = cloneInto( window.wrappedJSObject.JSBridge = cloneInto(
JSBridge, JSBridge,
window, window,
{ cloneFunctions: true }); { cloneFunctions: true });
browser.runtime.onMessage.addListener((data, sender) => { browser.runtime.onMessage.addListener((data, sender) => {
console.log("content:eval:" + data); console.log("content:eval:" + data);
if (data.action === 'evalJavascript') { if (data.action === 'evalJavascript') {
return Promise.resolve(document.documentElement.innerHTML); return Promise.resolve(document.documentElement.innerHTML);
} }
/* Ad-B-Gone: Bookmarklet that removes obnoxious ads from pages */ /* Ad-B-Gone: Bookmarklet that removes obnoxious ads from pages */
var selectors = [ var selectors = [
/* By ID: */ /* By ID: */
'#sidebar-wrap', '#advert', '#xrail', '#middle-article-advert-container', '#sidebar-wrap', '#advert', '#xrail', '#middle-article-advert-container',
'#sponsored-recommendations', '#around-the-web', '#sponsored-recommendations', '#sponsored-recommendations', '#around-the-web', '#sponsored-recommendations',
'#taboola-content', '#taboola-below-taboola-native-thumbnails', '#inarticle_wrapper_div', '#taboola-content', '#taboola-below-taboola-native-thumbnails', '#inarticle_wrapper_div',
'#rc-row-container', '#ads', '#at-share-dock', '#at4-share', '#at4-follow', '#right-ads-rail', '#rc-row-container', '#ads', '#at-share-dock', '#at4-share', '#at4-follow', '#right-ads-rail',
'div#ad-interstitial', 'div#advert-article', 'div#ac-lre-player-ph', 'div#ad-interstitial', 'div#advert-article', 'div#ac-lre-player-ph',
/* By Class: */ /* By Class: */
'.ad', '.avert', '.avert__wrapper', '.middle-banner-ad', '.advertisement', '.ad', '.avert', '.avert__wrapper', '.middle-banner-ad', '.advertisement',
'.GoogleActiveViewClass', '.advert', '.cns-ads-stage', '.teads-inread', '.ad-banner', '.GoogleActiveViewClass', '.advert', '.cns-ads-stage', '.teads-inread', '.ad-banner',
'.ad-anchored', '.js_shelf_ads', '.ad-slot', '.antenna', '.xrail-content', '.ad-anchored', '.js_shelf_ads', '.ad-slot', '.antenna', '.xrail-content',
'.advertisement__leaderboard', '.ad-leaderboard', '.trc_rbox_outer', '.ks-recommended', '.advertisement__leaderboard', '.ad-leaderboard', '.trc_rbox_outer', '.ks-recommended',
'.article-da', 'div.sponsored-stories-component', 'div.addthis-smartlayers', '.article-da', 'div.sponsored-stories-component', 'div.addthis-smartlayers',
'div.article-adsponsor', 'div.signin-prompt', 'div.article-bumper', 'div.video-placeholder', 'div.article-adsponsor', 'div.signin-prompt', 'div.article-bumper', 'div.video-placeholder',
'div.top-ad-container', 'div.header-ad', 'div.ad-unit', 'div.demo-block', 'div.OUTBRAIN', 'div.top-ad-container', 'div.header-ad', 'div.ad-unit', 'div.demo-block', 'div.OUTBRAIN',
'div.ob-widget', 'div.nwsrm-wrapper', 'div.announcementBar', 'div.partner-resources-block', 'div.ob-widget', 'div.nwsrm-wrapper', 'div.announcementBar', 'div.partner-resources-block',
'div.arrow-down', 'div.m-ad', 'div.story-interrupt', 'div.taboola-recommended', 'div.arrow-down', 'div.m-ad', 'div.story-interrupt', 'div.taboola-recommended',
'div.ad-cluster-container', 'div.ctx-sidebar', 'div.incognito-modal', '.OUTBRAIN', '.subscribe-button', 'div.ad-cluster-container', 'div.ctx-sidebar', 'div.incognito-modal', '.OUTBRAIN', '.subscribe-button',
'.ads9', '.leaderboards', '.GoogleActiveViewElement', '.mpu-container', '.ad-300x600', '.tf-ad-block', '.ads9', '.leaderboards', '.GoogleActiveViewElement', '.mpu-container', '.ad-300x600', '.tf-ad-block',
'.sidebar-ads-holder-top', '.ads-one', '.FullPageModal__scroller', '.sidebar-ads-holder-top', '.ads-one', '.FullPageModal__scroller',
'.content-ads-holder', '.widget-area', '.social-buttons', '.ac-player-ph', '.content-ads-holder', '.widget-area', '.social-buttons', '.ac-player-ph',
/* Other: */ /* Other: */
'script', 'iframe', 'video', 'aside#sponsored-recommendations', 'aside[role="banner"]', 'aside', 'script', 'iframe', 'video', 'aside#sponsored-recommendations', 'aside[role="banner"]', 'aside',
'amp-ad', 'span[id^=ad_is_]', 'div[class*="indianapolis-optin"]', 'div[id^=google_ads_iframe]', 'amp-ad', 'span[id^=ad_is_]', 'div[class*="indianapolis-optin"]', 'div[id^=google_ads_iframe]',
'div[data-google-query-id]', 'section[data-response]', 'ins.adsbygoogle', 'div[data-google-query-id]', 'div[data-google-query-id]', 'section[data-response]', 'ins.adsbygoogle', 'div[data-google-query-id]',
'div[data-test-id="fullPageSignupModal"]', 'div[data-test-id="giftWrap"]' ]; 'div[data-test-id="fullPageSignupModal"]', 'div[data-test-id="giftWrap"]' ];
for(let i in selectors) { for(let i in selectors) {
let nodesList = document.querySelectorAll(selectors[i]); let nodesList = document.querySelectorAll(selectors[i]);
for(let i = 0; i < nodesList.length; i++) { for(let i = 0; i < nodesList.length; i++) {
let el = nodesList[i]; let el = nodesList[i];
if(el && el.parentNode) if(el && el.parentNode)
el.parentNode.removeChild(el); el.parentNode.removeChild(el);
} }
} }
document.cookie="VISITOR_INFO1_LIVE=oKckVSqvaGw; path=/; domain=.youtube.com"; document.cookie="VISITOR_INFO1_LIVE=oKckVSqvaGw; path=/; domain=.youtube.com";
}); });
function randomColor() { function randomColor() {
return "#" + Math.floor(Math.random()*16777215).toString(16); return "#" + Math.floor(Math.random()*16777215).toString(16);
} }
var pattern = "*bbc*"; var pattern = "*bbc*";
var image = ` var image = `
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"> <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
<rect width="100%" height="100%" fill="${randomColor()}"/> <rect width="100%" height="100%" fill="${randomColor()}"/>
</svg> </svg>
`; `;
function listener(details) { function listener(details) {
let redirectUrl = "https://google.com"; let redirectUrl = "https://google.com";
return {redirectUrl}; return {redirectUrl};
} }
browser.webRequest.onBeforeRequest.addListener( browser.webRequest.onBeforeRequest.addListener(
listener, listener,
{urls: [pattern], types: ["image"]}, {urls: [pattern], types: ["image"]},
["blocking"] ["blocking"]
); );

20
app/src/main/assets/parser/eslintrc.js Normal file → Executable file
View File

@ -1,11 +1,11 @@
/* This Source Code Form is subject to the terms of the Mozilla Public /* 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
module.exports = { module.exports = {
env: { env: {
webextensions: true, webextensions: true,
}, },
}; };

70
app/src/main/assets/parser/manifest.json Normal file → Executable file
View File

@ -1,36 +1,36 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "Messaging", "name": "Messaging",
"description": "Uses the proxy API to block requests to specific hosts.", "description": "Uses the proxy API to block requests to specific hosts.",
"version": "3.0", "version": "3.0",
"browser_specific_settings": { "browser_specific_settings": {
"gecko": { "gecko": {
"strict_min_version": "65.0", "strict_min_version": "65.0",
"id": "messaging@example.com" "id": "messaging@example.com"
} }
}, },
"content_scripts": [ "content_scripts": [
{ {
"matches": [ "matches": [
"<all_urls>" "<all_urls>"
], ],
"js": [ "js": [
"content.js" "content.js"
], ],
"run_at": "document_start" "run_at": "document_start"
} }
], ],
"background": { "background": {
"scripts": [ "scripts": [
"background.js" "background.js"
] ]
}, },
"permissions": [ "permissions": [
"nativeMessaging", "nativeMessaging",
"geckoViewAddons", "geckoViewAddons",
"webRequest", "webRequest",
"tabs", "tabs",
"webRequestBlocking", "webRequestBlocking",
"<all_urls>" "<all_urls>"
] ]
} }

0
app/src/main/assets/readability/.eslintrc.js Normal file → Executable file
View File

0
app/src/main/assets/readability/.gitattributes vendored Normal file → Executable file
View File

0
app/src/main/assets/readability/.gitignore vendored Normal file → Executable file
View File

0
app/src/main/assets/readability/.npmignore Normal file → Executable file
View File

0
app/src/main/assets/readability/.release-it.json Normal file → Executable file
View File

0
app/src/main/assets/readability/.taskcluster.yml Normal file → Executable file
View File

0
app/src/main/assets/readability/CHANGELOG.md Normal file → Executable file
View File

0
app/src/main/assets/readability/CODE_OF_CONDUCT.md Normal file → Executable file
View File

0
app/src/main/assets/readability/CONTRIBUTING.md Normal file → Executable file
View File

0
app/src/main/assets/readability/JSDOMParser.js Normal file → Executable file
View File

0
app/src/main/assets/readability/README.md Normal file → Executable file
View File

View File

0
app/src/main/assets/readability/Readability.js Normal file → Executable file
View File

0
app/src/main/assets/readability/index.d.ts vendored Normal file → Executable file
View File

0
app/src/main/assets/readability/index.js Normal file → Executable file
View File

0
app/src/main/assets/readability/package-lock.json generated Normal file → Executable file
View File

0
app/src/main/assets/readability/package.json Normal file → Executable file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

Some files were not shown because too many files have changed in this diff Show More