mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
force all View/Add links to be Piwik downloads
related to #10, after 30ish days, it’ll no longer be necessary to make the second set of api calls for outlinks when calculating the FilScore
This commit is contained in:
parent
f55bfd8761
commit
a251c01573
4 changed files with 4 additions and 4 deletions
|
|
@ -6,7 +6,7 @@ function GenerateHtmlAddLink(url, listName) {
|
|||
return url;
|
||||
} else {
|
||||
if (url && url != "#N/A") {
|
||||
var html = "<a href=\"abp:subscribe?location=" + url + "&title=" + listName + "\" title=\"Subscribe to " + listName + " in your content blocker.\" class=\"button\">Add</a>";
|
||||
var html = "<a href=\"abp:subscribe?location=" + url + "&title=" + listName + "\" title=\"Subscribe to " + listName + " in your content blocker.\" class=\"button piwik_download\">Add</a>";
|
||||
return html;
|
||||
} else {
|
||||
return "";
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ function GenerateHtmlAddLinkCombo(url, listName, masterLists) {
|
|||
listName = listName.slice(0, -3)
|
||||
}
|
||||
if (url && url != "#N/A") {
|
||||
var html = "<a href=\"abp:subscribe?location=" + url + "&title=" + listName + "\" title=\"Subscribe to " + listName + " in your content blocker.\" class=\"button\">Add</a>";
|
||||
var html = "<a href=\"abp:subscribe?location=" + url + "&title=" + listName + "\" title=\"Subscribe to " + listName + " in your content blocker.\" class=\"button piwik_download\">Add</a>";
|
||||
return html;
|
||||
} else {
|
||||
return "";
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ function GenerateHtmlViewLink(url, listName) {
|
|||
return url;
|
||||
} else {
|
||||
if (url && url != "#N/A") {
|
||||
var html = "<a href=\"" + url + "\" title=\"Preview " + listName + " in your browser.\" class=\"button\">View</a>";
|
||||
var html = "<a href=\"" + url + "\" title=\"Preview " + listName + " in your browser.\" class=\"button piwik_download\">View</a>";
|
||||
return html;
|
||||
} else {
|
||||
return "";
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ function GenerateHtmlViewLinkCombo(url, listName, masterLists) {
|
|||
listName = listName.slice(0, -3)
|
||||
}
|
||||
if (url && url != "#N/A") {
|
||||
var html = "<a href=\"" + url + "\" title=\"Preview " + listName + " in your browser.\" class=\"button\">View</a>";
|
||||
var html = "<a href=\"" + url + "\" title=\"Preview " + listName + " in your browser.\" class=\"button piwik_download\">View</a>";
|
||||
return html;
|
||||
} else {
|
||||
return "";
|
||||
|
|
|
|||
Loading…
Reference in a new issue