Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
Merge branch 'v0.9.5.3'
Browse files Browse the repository at this point in the history
* v0.9.5.3:
  - Removed donation request - Fixed issue of Rate Us link which was not working for Firefox
  • Loading branch information
uBlockAdmin committed Dec 12, 2019
2 parents 025985a + 29aa9ba commit 58f897d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 90 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
<a href="https://travis-ci.org/uBlock-LLC/uBlock">
<img src="https://travis-ci.org/uBlock-LLC/uBlock.svg?branch=master" alt="Build status">
</a>
<a href="https://www.ublock.org/donate">
<img src="https://raw.githubusercontent.com/uBlock-LLC/uBlock/master/doc/img/oncedonate.png" alt="Support development">
</a>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -105,7 +102,7 @@ Being lean and efficient doesn't mean blocking less<br>

Some users might want to check out [uBlock Origin](https://github.com/gorhill/uBlock): a noteworthy personal fork of uBlock from @gorhill with a slightly different featureset.

uBlock is a general-purpose content blocker, which means it can be used to block ads as well as other forms of content on webpages. uBlock can also be used to help users neutralize privacy-invading trackers. uBlock blocks ads through its support of the [Adblock Plus filter syntax](https://adblockplus.org/en/filters). uBlock [extends](https://github.com/uBlock-LLC/uBlock/wiki/Filter-syntax-extensions) the syntax and is designed to work with custom rules and filters. If uBlock is useful to you, [donations to support development are much appreciated](https://www.ublock.org/donate/).
uBlock is a general-purpose content blocker, which means it can be used to block ads as well as other forms of content on webpages. uBlock can also be used to help users neutralize privacy-invading trackers. uBlock blocks ads through its support of the [Adblock Plus filter syntax](https://adblockplus.org/en/filters). uBlock [extends](https://github.com/uBlock-LLC/uBlock/wiki/Filter-syntax-extensions) the syntax and is designed to work with custom rules and filters.

** Please note [recent news](https://www.ublock.org/announcement/) about the status of the uBlock project as of June 22, 2018.**

Expand Down
2 changes: 1 addition & 1 deletion platform/chromium/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,

"name": "__MSG_extName__",
"version": "0.9.5.24",
"version": "0.9.5.25",

"default_locale": "en",
"description": "__MSG_extShortDesc__",
Expand Down
2 changes: 0 additions & 2 deletions src/js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ return {
// as per list headers.
updateAssetsEvery: 97 * oneHour,
projectServerRoot: 'https://raw.githubusercontent.com/uBlock-LLC/uBlock/master/',
donationUrl: 'https://www.ublock.org/donate/',
pslPath: 'assets/thirdparties/publicsuffix.org/list/effective_tld_names.dat',

// permanent lists
permanentLists: {
// User
Expand Down
5 changes: 4 additions & 1 deletion src/js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,10 @@ var getPopupData = function(tabId) {
};

var redirectToReviewPage = function() {
window.open("https://chrome.google.com/webstore/detail/ublock-free-ad-blocker/"+ location.host +"/reviews", "_blank");
if(vAPI.browserInfo.flavor == "Chrome")
window.open("https://chrome.google.com/webstore/detail/ublock-free-ad-blocker/"+ location.host +"/reviews", "_blank");
else if(vAPI.browserInfo.flavor == "Firefox")
window.open("https://addons.mozilla.org/en-US/firefox/addon/ublock/", "_blank");
}

/******************************************************************************/
Expand Down
5 changes: 0 additions & 5 deletions src/js/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,6 @@ var onInstalled = function() {
var onDataReceived = function(data) {
entries = data.stats || {userId: µBlock.stats.generateUserId(),totalPings: 0 };
vAPI.storage.set({ 'stats': entries });
vAPI.tabs.open({
url: µBlock.donationUrl+"?u=" + entries.userId + "&lg=" + navigator.language,
select: true,
index: -1
});
}

if(!firstInstall) {
Expand Down
78 changes: 1 addition & 77 deletions src/js/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,71 +205,6 @@
var availableLists = {};
var relocationMap = {};
var locationOfAA = 'acceptable-ads';
let tempFLChangeMap = new Map([
["adblock.gardar.net/is.abp.txt", "ISL"],
["raw.githubusercontent.com/cjx82630/cjxlist/cjxlist.txt", "CHN-01"],
["raw.githubusercontent.com/gioxx/filtri.txt", "ITA-01"],
["easylist-downloads.adblockplus.org/advblock.txt", "RUS-01"],
["easylist-downloads.adblockplus.org/bitblock.txt", "RUS-02"],
["easylist-downloads.adblockplus.org/easylist.txt", "easylist"],
["easylist-downloads.adblockplus.org/exceptionrules.txt", "acceptable-ads"],
["raw.githubusercontent.com/abp-filters-anti-cv/english.txt", "abp-anti-circumvension"],
["raw.githubusercontent.com/adblock-nocoin-list/nocoin.txt", "cryptocurrency"],
["easylist-downloads.adblockplus.org/easylist_noelemhide.txt", "easylist-noelemhide"],
["easylist-downloads.adblockplus.org/easylistchina.txt", "CHN-02"],
["easylist-downloads.adblockplus.org/easylistdutch.txt", "NLD"],
["easylist-downloads.adblockplus.org/easylistgermany.txt", "DEU"],
["easylist-downloads.adblockplus.org/easylistitaly.txt", "ITA"],
["easylist-downloads.adblockplus.org/easyprivacy.txt", "easyprivacy"],
["easylist-downloads.adblockplus.org/fanboy-annoyance.txt", "fanboy-annoyance"],
["easylist-downloads.adblockplus.org/fanboy-social.txt", "fanboy-social"],
["easylist-downloads.adblockplus.org/liste_fr.txt", "FRA"],
["adblock-latvian/latvian-list.txt", "LVA"],
["raw.githubusercontent.com/DandelionSprout/adfilt/NorwegianList.txt", "NOR-DNK-ISL"],
["hosts-file.net/ad-servers", "hpHosts"],
["http://adblock.ee/list.php", "EST"],
["https://easylist-downloads.adblockplus.org/antiadblockfilters.txt", "adblock-warning-rm"],
["raw.githubusercontent.com/indonesianadblockrules/subscriptions/abpindo.txt", "IDN-MYS"],
["gitcdn.xyz/adblock-iran/filter.txt", "IRN"],
["easylist-downloads.adblockplus.org/Liste_AR.txt", "ARA"],
["margevicius.lt/easylistlithuania.txt", "LTU"],
["mirror1.malwaredomains.com/files/justdomains", "malware-01"],
["pgl.yoyo.org/as/serverlist", "peter-lowe-ad"],
["raw.githubusercontent.com/EasyListHebrew/master/EasyListHebrew.txt", "ISR"],
["raw.githubusercontent.com/polish-adblock-filters/adblock.txt", "POL-01"],
["raw.githubusercontent.com/polish-privacy-filters/anti-adblock.txt", "POL-02"],
["raw.githubusercontent.com/k2jp/abp-japanese-filters/master/abp_jp.txt", "JPN"],
["raw.githubusercontent.com/szpeter80/hufilter/master/hufilter.txt", "HUN"],
["raw.githubusercontent.com/tomasko126/easylistczechandslovak/master/filters.txt", "CZE-SVK"],
["raw.githubusercontent.com/finnish-easylist-addition/Finland_adb.txt", "FIN"],
["someonewhocares.org/hosts/hosts", "dan-pollock"],
["raw.githubusercontent.com/Spam404/lists/adblock-list.txt", "Spam404"],
["stanev.org/abp/adblock_bg.txt", "BGR"],
["winhelp2002.mvps.org/hosts.txt", "mvps"],
["www.fanboy.co.nz/enhancedstats.txt", "fanboy-enhanced-tracking"],
["www.fanboy.co.nz/fanboy-antifacebook.txt", "fanboy-antifacebook"],
["raw.githubusercontent.com/adblock-korea-contrib/filter.txt", "KOR-01"],
["raw.githubusercontent.com/YousList/youslist.txt", "KOR-02"],
["raw.githubusercontent.com/Frellwits-filter-lists/Frellwits-Swedish-Filter.txt", "SWE"],
["filters.adtidy.org/extension/ublock/filters/9.txt", "SPA-POR"],
["raw.githubusercontent.com/easylist-thailand/easylist-thailand.txt", "THA"],
["easylist-downloads.adblockplus.org/easylistspanish.txt", "SPA"],
["www.fanboy.co.nz/fanboy-ultimate.txt", "fanboy-ultimate"],
["raw.githubusercontent.com/abpvn/abpvn.txt", "VIE"],
["www.malwaredomainlist.com/hostslist/hosts.txt", "malware-02"],
["www.void.gr/kargig/void-gr-filters.txt", "GRC"],
["raw.githubusercontent.com/ROad-Block/road-block-filters-light.txt", "ROU"],
["filters.adtidy.org/extension/ublock/filters/2_without_easylist.txt", "adguard-base"],
["filters.adtidy.org/extension/ublock/filters/3.txt", "adguard-spyware"],
["filters.adtidy.org/extension/ublock/filters/14.txt", "adguard-annoyance"],
["filters.adtidy.org/extension/ublock/filters/4.txt", "adguard-social"],
["secure.fanboy.co.nz/fanboy-cookiemonster.txt", "fanboy-cookiemonster"],
["s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt", "disconnect"],
["filters.adtidy.org/extension/ublock/filters/7.txt", "JPN-01"],
["filters.adtidy.org/extension/ublock/filters/1.txt", "RUS"],
["filters.adtidy.org/extension/ublock/filters/13.txt", "TUR"]
]);

// selected lists
var onSelectedListsLoaded = function(store) {
var µb = µBlock;
Expand All @@ -289,18 +224,7 @@
off = lists[location].off === true;
}
}
location = location.replace('assets/thirdparties/','');
if(tempFLChangeMap.has(location)) {
let tmpLocation = location;
location = tempFLChangeMap.get(location);
if(off === false) {
if ( /^[a-z]+:\/\//.test(tmpLocation) ) {
µb.purgeFilterList(tmpLocation);
} else {
µb.purgeFilterList('assets/thirdparties/' + tmpLocation);
}
}
}

availableEntry = availableLists[location];
if ( availableEntry === undefined ) {
µb.purgeFilterList(location);
Expand Down

0 comments on commit 58f897d

Please sign in to comment.