diff --git a/data/FilterList.json b/data/FilterList.json index 2c0416652..fa45f31a9 100644 --- a/data/FilterList.json +++ b/data/FilterList.json @@ -7095,15 +7095,15 @@ }, { "id": 670, - "description": "A version of the Norwegian filter list for Little Snitch. It currently doesn't see much work done on it, as the maintainer does not have a Mac to test it with.", + "description": "A version of the Nordic filter list for Little Snitch. It currently doesn't see much work done on it, as the maintainer does not have a Mac to test it with.", "donateUrl": "https://sproutsluckycorner.wordpress.com/2017/11/14/my-work-and-contact-resume/#donations", "emailAddress": "imreeil42@gmail.com", "homeUrl": "https://github.com/DandelionSprout/adfilt", "issuesUrl": "https://github.com/DandelionSprout/adfilt/issues", "licenseId": 10, - "name": "Dandelion Sprout's Norwegian Filters for Tidier Websites (Little Snitch)", + "name": "Dandelion Sprout's Nordic Filters for Tidier Websites (Little Snitch)", "syntaxId": 18, - "updatedDate": "2018-09-30T04:23:50", + "updatedDate": "2019-05-02T00:00:00", "viewUrl": "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList%20alternate%20versions/LittleSnitchNorwegianList.lsrules", "viewUrlMirror1": "https://repo.or.cz/FilterMirrorRepo.git/blob_plain/refs/heads/master:/NorwegianExperimentalList%20alternate%20versions/LittleSnitchNorwegianList.lsrules", "viewUrlMirror2": "https://gitlab.com/DandelionSprout/adfilt/raw/master/NorwegianExperimentalList%20alternate%20versions/LittleSnitchNorwegianList.lsrules" @@ -16946,5 +16946,26 @@ "viewUrl": "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Anti-'Custom%20cursors'%20List.txt", "viewUrlMirror1": "https://repo.or.cz/FilterMirrorRepo.git/blob_plain/refs/heads/master:/Anti-'Custom%20cursors'%20List.txt", "viewUrlMirror2": "https://gitlab.com/DandelionSprout/adfilt/raw/master/Anti-'Custom%20cursors'%20List.txt" + }, + { + "id": 1577, + "donateUrl": "https://opencollective.com/adnauseam", + "homeUrl": "https://github.com/dhowe/uAssets", + "issuesUrl": "https://github.com/dhowe/uAssets/issues", + "licenseId": 4, + "name": "AdNauseam Filters", + "syntaxId": 4, + "viewUrl": "https://raw.githubusercontent.com/dhowe/uAssets/master/filters/adnauseam.txt" + }, + { + "id": 1578, + "description": "This is a long list of domains accociated with facebook taken from https://github.com/jmdugan/blocklists", + "descriptionSourceUrl": "https://raw.githubusercontent.com/fabianmoronzirfas/block-facebook/master/block-facebook.lsrules", + "homeUrl": "https://github.com/fabianmoronzirfas/block-facebook", + "issuesUrl": "https://github.com/fabianmoronzirfas/block-facebook/issues", + "licenseId": 28, + "name": "Little Snitch Block Facebook Rule Set", + "syntaxId": 18, + "viewUrl": "https://raw.githubusercontent.com/fabianmoronzirfas/block-facebook/master/block-facebook.lsrules" } ] diff --git a/data/FilterListLanguage.json b/data/FilterListLanguage.json index 3b9dc5573..7e5cfb4a8 100644 --- a/data/FilterListLanguage.json +++ b/data/FilterListLanguage.json @@ -2126,5 +2126,9 @@ { "filterListId": 1242, "languageId": 167 + }, + { + "filterListId": 670, + "languageId": 106 } ] diff --git a/data/FilterListTag.json b/data/FilterListTag.json index 33cf010ec..2f8121a80 100644 --- a/data/FilterListTag.json +++ b/data/FilterListTag.json @@ -6722,5 +6722,17 @@ { "filterListId": 1576, "tagId": 27 + }, + { + "filterListId": 1577, + "tagId": 2 + }, + { + "filterListId": 1577, + "tagId": 10 + }, + { + "filterListId": 1578, + "tagId": 19 } ] diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/linkButtons/SubscribeButton.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/linkButtons/SubscribeButton.tsx index 15e0c462a..f7f3d4c1b 100644 --- a/src/FilterLists.Web/ClientApp/modules/home/components/linkButtons/SubscribeButton.tsx +++ b/src/FilterLists.Web/ClientApp/modules/home/components/linkButtons/SubscribeButton.tsx @@ -28,16 +28,25 @@ if (props.url.indexOf(".tpl") > 0) { href = `javascript:window.external.msAddTrackingProtectionList('${encodeURIComponent(props.url)}', '${hrefTitle}')`; } else if (props.url.indexOf(".lsrules") > 0) +{ + href = `x-littlesnitch:subscribe-rules?url=${encodeURIComponent(props.url)}`; +} else if (props.url.indexOf("?hostformat=littlesnitch") > 0) { href = `x-littlesnitch:subscribe-rules?url=${encodeURIComponent(props.url)}`; } else { href = `abp:subscribe?location=${encodeURIComponent(props.url)}&title=${hrefTitle}`; }; + + + let title; if (props.url.indexOf(".tpl") > 0) { title = `${titlePrefix}Subscribe to ${props.name} with Internet Explorer's Tracking Protection List feature.`; } else if (props.url.indexOf(".lsrules") > 0) +{ + title = `${titlePrefix}Subscribe to ${props.name} with Little Snitch's rule group subscription feature.`; +} else if (props.url.indexOf("?hostformat=littlesnitch") > 0) { title = `${titlePrefix}Subscribe to ${props.name} with Little Snitch's rule group subscription feature.`; } else {