1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-16 23:42:39 +01:00

Merge branch 'master' of https://github.com/chrisaljoudi/uBlock into chrisaljoudi

This commit is contained in:
gorhill 2015-04-11 14:54:40 -04:00
commit 2595c2d980
10 changed files with 99 additions and 57 deletions

View File

@ -1,7 +1,7 @@
f4e2b58298d1d26dd0c65f3db849a15a assets/ublock/filter-lists.json f4e2b58298d1d26dd0c65f3db849a15a assets/ublock/filter-lists.json
f65a01f91142e138acdb147e5442503f assets/ublock/filters.txt 30f6b52678060ffd497564701f590a5b assets/ublock/filters.txt
dcf3e05bae803343c9d632f0baf8bedd assets/ublock/mirror-candidates.txt c9c5cc56bec563bc1885847f925b9be2 assets/ublock/mirror-candidates.txt
c0ffd2ba7a812912a903a446e2c3699f assets/ublock/privacy.txt ba85c7991d208fe26c8f74f57bb5cfe1 assets/ublock/privacy.txt
0d707b2cee4a38988662107971137d13 assets/thirdparties/abp.mozilla-hispano.org/nauscopio/filtros.txt 0d707b2cee4a38988662107971137d13 assets/thirdparties/abp.mozilla-hispano.org/nauscopio/filtros.txt
36a285b3ef9aadad4529d40153364013 assets/thirdparties/adblock-chinalist.googlecode.com/svn/trunk/adblock.txt 36a285b3ef9aadad4529d40153364013 assets/thirdparties/adblock-chinalist.googlecode.com/svn/trunk/adblock.txt
7c0d09fbccd87b5252d3bab3e822f2e4 assets/thirdparties/adblock-czechoslovaklist.googlecode.com/svn/filters.txt 7c0d09fbccd87b5252d3bab3e822f2e4 assets/thirdparties/adblock-czechoslovaklist.googlecode.com/svn/filters.txt

View File

@ -22,11 +22,6 @@
</ul> </ul>
<ul id="lists"></ul> <ul id="lists"></ul>
<div id="externalListsDiv">
<p data-i18n="3pExternalListsHint" style="margin: 0 0 0.25em 0; font-size: 13px;"></p>
<textarea id="externalLists" dir="ltr" spellcheck="false"></textarea>
<p style="margin: 0.25em 0 0 0"><button id="externalListsApply" disabled="true" data-i18n="3pExternalListsApply"></button></p>
</div>
<div id="busyOverlay"> <div id="busyOverlay">
<div></div> <div></div>
@ -42,6 +37,7 @@
<li class="listEntry"> <li class="listEntry">
<input type="checkbox"> <input type="checkbox">
<a type="text/plain" target="_blank" href=""></a> <a type="text/plain" target="_blank" href=""></a>
<i data-tip="https" data-tip-anchor="left" class="secure"><svg class="icon icon-secure"><use xlink:href="img/icons.svg#icon-secure"></use></svg></i>
<a href="" style="display: none;" target="_blank"></a>: <!-- <a href="" style="display: none;" target="_blank"></a>: <!--
--><span class="dim"></span><!-- --><span class="dim"></span><!--
--><span class="status new" style="display: none;" data-i18n="3pExternalListNew"></span><!-- --><span class="status new" style="display: none;" data-i18n="3pExternalListNew"></span><!--
@ -49,6 +45,11 @@
--><span class="status purge" style="display: none;" data-i18n="3pExternalListPurge"></span> --><span class="status purge" style="display: none;" data-i18n="3pExternalListPurge"></span>
</li> </li>
</ul> </ul>
<div id="externalListsDiv">
<p data-i18n="3pExternalListsHint" style="margin: 0 0 0.25em 0; font-size: 13px;"></p>
<textarea id="externalLists" dir="ltr" spellcheck="false"></textarea>
<p style="margin: 0.25em 0 0 0"><button id="externalListsApply" disabled="true" data-i18n="3pExternalListsApply"></button></p>
</div>
</div> </div>
<script src="js/vapi-common.js"></script> <script src="js/vapi-common.js"></script>

View File

@ -4,11 +4,11 @@
"description":"extension name." "description":"extension name."
}, },
"extShortDesc":{ "extShortDesc":{
"message":"Äntligen, en effektiv blockerare. Lätt på processor och minne.", "message":"Äntligen en effektiv reklamblockerare! Snäll mot processor och minne.",
"description":"this will be in the chrome web store: must be 132 characters or less" "description":"this will be in the chrome web store: must be 132 characters or less"
}, },
"dashboardName":{ "dashboardName":{
"message":"µBlock — Instrumentbräda", "message":"uBlock — Kontrollpanel",
"description":"English: uBlock — Dashboard" "description":"English: uBlock — Dashboard"
}, },
"settingsPageName":{ "settingsPageName":{
@ -32,7 +32,7 @@
"description":"appears as tab name in dashboard" "description":"appears as tab name in dashboard"
}, },
"statsPageName":{ "statsPageName":{
"message":"µBlock — Logg för nätverksbegäranden", "message":"uBlock — Logg för nätverksbegäranden",
"description":"Title for the network request log window" "description":"Title for the network request log window"
}, },
"aboutPageName":{ "aboutPageName":{
@ -40,7 +40,7 @@
"description":"appears as tab name in dashboard" "description":"appears as tab name in dashboard"
}, },
"popupPowerSwitchInfo":{ "popupPowerSwitchInfo":{
"message":"Klick: avaktivera\/aktivera µBlock för denna hemsida permanent.\n\nCtrl+klick: avaktivera µBlock endast för denna sida.", "message":"Klick: avaktivera\/aktivera uBlock för hela denna hemsida permanent.\n\nCtrl+klick: avaktivera uBlock endast för denna sida.",
"description":"English: Click: disable\/enable uBlock for this site.\n\nCtrl+click: disable uBlock only on this page." "description":"English: Click: disable\/enable uBlock for this site.\n\nCtrl+click: disable uBlock only on this page."
}, },
"popupBlockedRequestPrompt":{ "popupBlockedRequestPrompt":{
@ -56,7 +56,7 @@
"description":"Example: 15 or 13%" "description":"Example: 15 or 13%"
}, },
"popupBlockedSinceInstallPrompt":{ "popupBlockedSinceInstallPrompt":{
"message":"sedan installation", "message":"sedan installationen",
"description":"English: since install" "description":"English: since install"
}, },
"popupOr":{ "popupOr":{
@ -64,7 +64,7 @@
"description":"English: or" "description":"English: or"
}, },
"popupTipDashboard":{ "popupTipDashboard":{
"message":"Klicka för att öppna instrumentbrädan", "message":"Klicka för att öppna kontrollpanelen",
"description":"English: Click to open the dashboard" "description":"English: Click to open the dashboard"
}, },
"popupTipPicker":{ "popupTipPicker":{
@ -76,11 +76,11 @@
"description":"English: Go to request log" "description":"English: Go to request log"
}, },
"popupTipNoPopups":{ "popupTipNoPopups":{
"message":"Inga popups för den här sidan", "message":"Tillåt/tillåt inte popups för den här sidan",
"description":"English: No popups for this site" "description":"English: No popups for this site"
}, },
"popupTipNoStrictBlocking":{ "popupTipNoStrictBlocking":{
"message":"Inga strikta blockeringar för den här sidan", "message":"Tillåt/tillåt inte strikta blockeringar för den här sidan",
"description":"English: No strict blocking for this site" "description":"English: No strict blocking for this site"
}, },
"popupAnyRulePrompt":{ "popupAnyRulePrompt":{
@ -112,7 +112,7 @@
"description":"" "description":""
}, },
"popupHitDomainCountPrompt":{ "popupHitDomainCountPrompt":{
"message":"anslutna domän", "message":"anslutna domäner",
"description":"appears in popup" "description":"appears in popup"
}, },
"popupHitDomainCount":{ "popupHitDomainCount":{
@ -152,7 +152,7 @@
"description":"English: Hide placeholders of blocked elements" "description":"English: Hide placeholders of blocked elements"
}, },
"settingsIconBadgePrompt":{ "settingsIconBadgePrompt":{
"message":"Visa antalet blockerade förfrågningar på ikonen", "message":"Visa antalet blockerade förfrågningar på uBlock-ikonen",
"description":"English: Show the number of blocked requests on the icon" "description":"English: Show the number of blocked requests on the icon"
}, },
"settingsContextMenuPrompt":{ "settingsContextMenuPrompt":{
@ -160,7 +160,7 @@
"description":"English: Make use of context menu where appropriate" "description":"English: Make use of context menu where appropriate"
}, },
"settingsAdvancedUserPrompt":{ "settingsAdvancedUserPrompt":{
"message":"Jag är en avancerad användare (<a href='https:\/\/github.com\/chrisaljoudi\/uBlock\/wiki\/Advanced-user-features'> obligatorisk läsning<\/a>)", "message":"Jag är en avancerad användare (<a href='https:\/\/github.com\/chrisaljoudi\/uBlock\/wiki\/Advanced-user-features'>obligatorisk läsning<\/a>)",
"description":"English: " "description":"English: "
}, },
"settingsExperimentalPrompt":{ "settingsExperimentalPrompt":{
@ -172,11 +172,11 @@
"description":"English: Storage used: {{}} bytes" "description":"English: Storage used: {{}} bytes"
}, },
"settingsLastRestorePrompt":{ "settingsLastRestorePrompt":{
"message":"Senaste återställning:", "message":"Senast återställd:",
"description":"English: Last restore:" "description":"English: Last restore:"
}, },
"settingsLastBackupPrompt":{ "settingsLastBackupPrompt":{
"message":"Senaste säkerhetskopia:", "message":"Senast säkerhetskopierad:",
"description":"English: Last backup:" "description":"English: Last backup:"
}, },
"3pListsOfBlockedHostsPrompt":{ "3pListsOfBlockedHostsPrompt":{
@ -184,7 +184,7 @@
"description":"English: {{netFilterCount}} network filters {{cosmeticFilterCount}} cosmetic filters from:" "description":"English: {{netFilterCount}} network filters {{cosmeticFilterCount}} cosmetic filters from:"
}, },
"3pListsOfBlockedHostsPerListStats":{ "3pListsOfBlockedHostsPerListStats":{
"message":"{{used}} använda utav {{total}}", "message":"{{used}} använda av {{total}}",
"description":"English: {{used}} used out of {{total}}" "description":"English: {{used}} used out of {{total}}"
}, },
"3pAutoUpdatePrompt1":{ "3pAutoUpdatePrompt1":{
@ -196,7 +196,7 @@
"description":"English: Update now" "description":"English: Update now"
}, },
"3pPurgeAll":{ "3pPurgeAll":{
"message":"Rensa alla cachar", "message":"Rensa all cache",
"description":"English: Purge all caches" "description":"English: Purge all caches"
}, },
"3pParseAllABPHideFiltersPrompt1":{ "3pParseAllABPHideFiltersPrompt1":{
@ -204,7 +204,7 @@
"description":"English: Parse and enforce Adblock+ element hiding filters." "description":"English: Parse and enforce Adblock+ element hiding filters."
}, },
"3pParseAllABPHideFiltersInfo":{ "3pParseAllABPHideFiltersInfo":{
"message":"<p>Det här alternativet aktiverar tolkning och applicering av <a href=\"https:\/\/adblockplus.org\/en\/faq_internal#elemhide\">Adblock Plus-kompatibla &ldquo;elementdöljningsfilter&rdquo;<\/a>. Dessa filter är i huvudsak kosmetiska. De tjänar till att dölja element som anses vara till visuella besvär och som inte kan bli blockerade av den nätförfrågningsbaserade filtreringsmotorn.<\/p><p>Genom att aktivera denna funktion ökar <i>µBlocks<\/i> minnesanvändning.<\/p>", "message":"<p>Det här alternativet aktiverar tolkning och applicering av <a href=\"https:\/\/adblockplus.org\/en\/faq_internal#elemhide\">Adblock Plus-kompatibla &ldquo;elementdöljningsfilter&rdquo;<\/a>. Dessa filter är i huvudsak kosmetiska. De tjänar till att dölja element som anses vara till visuella besvär och som inte kan bli blockerade av den nätförfrågningsbaserade filtreringsmotorn.<\/p><p>Genom att aktivera denna funktion ökar <i>uBlocks<\/i> minnesanvändning.<\/p>",
"description":"English: see English messages.json" "description":"English: see English messages.json"
}, },
"3pListsOfBlockedHostsHeader":{ "3pListsOfBlockedHostsHeader":{
@ -244,7 +244,7 @@
"description":"English: Custom" "description":"English: Custom"
}, },
"3pExternalListsHint":{ "3pExternalListsHint":{
"message":"En adress per rad. Rader med prefixet &lsquo;!&rsquo; kommer att ignoreras. Ogiltiga adresser kommer också ignoreras.", "message":"En adress per rad. Rader med prefixet &lsquo;!&rsquo; kommer att ignoreras. Ogiltiga adresser kommer också att ignoreras.",
"description":"English: One URL per line. Lines prefixed with &lsquo;!&rsquo; will be ignored. Invalid URLs will be silently ignored." "description":"English: One URL per line. Lines prefixed with &lsquo;!&rsquo; will be ignored. Invalid URLs will be silently ignored."
}, },
"3pExternalListsApply":{ "3pExternalListsApply":{
@ -260,11 +260,11 @@
"description":"English: new version available" "description":"English: new version available"
}, },
"3pExternalListObsolete":{ "3pExternalListObsolete":{
"message":"utdaterad", "message":"föråldrad",
"description":"English: outdated" "description":"English: outdated"
}, },
"3pLastUpdate":{ "3pLastUpdate":{
"message":"Senaste uppdatering: {{ago}}", "message":"Senast uppdaterad: {{ago}}",
"description":"English: Last update: {{ago}}, where 'ago' will be replaced with something like '2 days ago'" "description":"English: Last update: {{ago}}, where 'ago' will be replaced with something like '2 days ago'"
}, },
"1pFormatHint":{ "1pFormatHint":{
@ -312,11 +312,11 @@
"description":"Will save manually-edited content and exit manual-edit mode" "description":"Will save manually-edited content and exit manual-edit mode"
}, },
"rulesEditDiscard":{ "rulesEditDiscard":{
"message":"Förkasta", "message":"Ignorera",
"description":"Will discard manually-edited content and exit manual-edit mode" "description":"Will discard manually-edited content and exit manual-edit mode"
}, },
"rulesImport":{ "rulesImport":{
"message":"Importera från fil...", "message":"Importera från fil",
"description":"" "description":""
}, },
"rulesExport":{ "rulesExport":{
@ -328,15 +328,15 @@
"description":"default file name to use" "description":"default file name to use"
}, },
"rulesHint":{ "rulesHint":{
"message":"Lista över din dynamiska filterregler.", "message":"Lista över dina dynamiska filterregler.",
"description":"English: List of your dynamic filtering rules." "description":"English: List of your dynamic filtering rules."
}, },
"rulesFormatHint":{ "rulesFormatHint":{
"message":"Regel syntax: <code>källa destination typ åtgärd<\/code> (<a href='https:\/\/github.com\/chrisaljoudi\/uBlock\/wiki\/Dynamic-filtering:-rule-syntax'>full dokumentation<\/a>).", "message":"Regelsyntax: <code>källa destination typ åtgärd<\/code> (<a href='https:\/\/github.com\/chrisaljoudi\/uBlock\/wiki\/Dynamic-filtering:-rule-syntax'>full dokumentation<\/a>).",
"description":"English: dynamic rule syntax and full documentation." "description":"English: dynamic rule syntax and full documentation."
}, },
"whitelistPrompt":{ "whitelistPrompt":{
"message":"Din lista över vilka värdnamn där μBlock inaktiveras. En post per rad. Ogiltiga värdnamn kommer att ignoreras.", "message":"Din lista över vilka värdnamn där uBlock inaktiveras. En post per rad. Ogiltiga värdnamn kommer att ignoreras.",
"description":"English: Your list of host names for which uBlock will be disabled. One host name per line. Invalid host names will be silently ignored." "description":"English: Your list of host names for which uBlock will be disabled. One host name per line. Invalid host names will be silently ignored."
}, },
"whitelistImport":{ "whitelistImport":{
@ -360,7 +360,7 @@
"description":"English: Enable the logging of network requests" "description":"English: Enable the logging of network requests"
}, },
"logNetRequestsHelp":{ "logNetRequestsHelp":{
"message":"Om du vill kan du inspektera detaljer över blockerade förfrågningar genom att aktivera detta alternativ. Loggning av nätverksförfrågningar ökar µBlocks minnesanvändning. Eftersom de flesta användare aldrig kommer att använda denna funktion är den inaktiverad som standard.", "message":"Om du vill kan du inspektera detaljer över blockerade förfrågningar genom att aktivera detta alternativ. Loggning av nätverksförfrågningar ökar uBlocks minnesanvändning. Eftersom att de flesta användare aldrig kommer att använda denna funktion är den inaktiverad som standard.",
"description":"English: see _locales\/en\/messages.log" "description":"English: see _locales\/en\/messages.log"
}, },
"logBlockedRequestsHeader":{ "logBlockedRequestsHeader":{
@ -424,7 +424,7 @@
"description":"English: Contributors" "description":"English: Contributors"
}, },
"aboutBackupDataButton":{ "aboutBackupDataButton":{
"message":"Backup till fil...", "message":"Backup till fil",
"description":"English: Backup to file" "description":"English: Backup to file"
}, },
"aboutBackupFilename":{ "aboutBackupFilename":{
@ -432,23 +432,23 @@
"description":"English: my-ublock-backup_{{datetime}}.txt" "description":"English: my-ublock-backup_{{datetime}}.txt"
}, },
"aboutRestoreDataButton":{ "aboutRestoreDataButton":{
"message":"Återställ från fil...", "message":"Återställ från fil",
"description":"English: Restore from file..." "description":"English: Restore from file..."
}, },
"aboutResetDataButton":{ "aboutResetDataButton":{
"message":"Återställ standardinställningar...", "message":"Återställ standardinställningar",
"description":"English: Reset to default settings..." "description":"English: Reset to default settings..."
}, },
"aboutRestoreDataConfirm":{ "aboutRestoreDataConfirm":{
"message":"Alla dina inställningar kommer överskrivas med data som säkerhetskopierats den {{time}} och µBlock kommer startas om.\n\nVill du skriva över befintliga inställningar med säkerhetskopierade data?", "message":"Alla dina inställningar kommer att ersättas med data som säkerhetskopierades {{time}} och uBlock kommer att starta om.\n\nVill du skriva över befintliga inställningar med säkerhetskopierad data?",
"description":"Message asking user to confirm restore" "description":"Message asking user to confirm restore"
}, },
"aboutRestoreDataError":{ "aboutRestoreDataError":{
"message":"Datan gick inte att läsa eller är ogiltig", "message":"Datan gick inte att läsa eller är den ogiltig",
"description":"Message to display when an error occurred during restore" "description":"Message to display when an error occurred during restore"
}, },
"aboutResetDataConfirm":{ "aboutResetDataConfirm":{
"message":"Alla dina inställningar kommer att raderas, och µBlock kommer att startas om.\n\nÅterställ µBlock till fabriksinställningar?", "message":"Alla dina inställningar kommer att raderas och uBlock kommer att starta om.\n\nÅterställ uBlock till fabriksinställningar?",
"description":"Message asking user to confirm reset" "description":"Message asking user to confirm reset"
}, },
"errorCantConnectTo":{ "errorCantConnectTo":{
@ -456,7 +456,7 @@
"description":"English: Network error: unable to connect to {{url}}" "description":"English: Network error: unable to connect to {{url}}"
}, },
"subscriberConfirm":{ "subscriberConfirm":{
"message":"µBlock: Lägg till den följande URLen till din skräddarsydda filter lista?\n\nTitel: \"{{title}}\"\nURL: {{url}}", "message":"uBlock: Lägg till följande URL till din skräddarsydda filterlista?\n\nTitel: \"{{title}}\"\nURL: {{url}}",
"description":"English: The message seen by the user to confirm subscription to a ABP filter list" "description":"English: The message seen by the user to confirm subscription to a ABP filter list"
}, },
"elapsedOneMinuteAgo":{ "elapsedOneMinuteAgo":{
@ -484,11 +484,11 @@
"description":"English: {{value}} days ago" "description":"English: {{value}} days ago"
}, },
"showDashboardButton":{ "showDashboardButton":{
"message":"Visa instrumentbrädan", "message":"Visa kontrollpanelen",
"description":"Firefox\/Fennec-specific: Show Dashboard" "description":"Firefox\/Fennec-specific: Show Dashboard"
}, },
"showNetworkLogButton":{ "showNetworkLogButton":{
"message":"Visa nätverksbegäranlogg", "message":"Visa logg över nätverksförfrågningar",
"description":"Firefox\/Fennec-specific: Show Network Request Log" "description":"Firefox\/Fennec-specific: Show Network Request Log"
}, },
"fennecMenuItemBlockingOff":{ "fennecMenuItemBlockingOff":{
@ -496,11 +496,11 @@
"description":"Firefox-specific: appears as 'uBlock (off)'" "description":"Firefox-specific: appears as 'uBlock (off)'"
}, },
"docblockedPrompt1":{ "docblockedPrompt1":{
"message":"uBlock har förhindrat följande sida från att ladda:", "message":"uBlock har förhindrat följande sida från att laddas:",
"description":"English: uBlock has prevented the following page from loading:" "description":"English: uBlock has prevented the following page from loading:"
}, },
"docblockedPrompt2":{ "docblockedPrompt2":{
"message":"P.g.a. följande filter", "message":"på grund av följande filter",
"description":"English: Because of the following filter" "description":"English: Because of the following filter"
}, },
"docblockedBack":{ "docblockedBack":{

View File

@ -6,7 +6,7 @@ ul {
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
#lists { #lists {
margin: 0.5em 0 0 0; margin: 0.5em 0 4em 0;
padding-left: 1em; padding-left: 1em;
padding-right: 0em; padding-right: 0em;
} }
@ -37,7 +37,8 @@ body[dir=rtl] #lists {
#lists > .groupEntry > ul { #lists > .groupEntry > ul {
margin: 0.25em 0 0 0; margin: 0.25em 0 0 0;
} }
#lists > .groupEntry.collapsed > ul { #lists > .groupEntry.collapsed > ul,
#lists > .groupEntry.collapsed > div {
display: none; display: none;
} }
li.listEntry { li.listEntry {
@ -47,6 +48,14 @@ li.listEntry {
margin-right: 0em; margin-right: 0em;
text-indent: -2em; text-indent: -2em;
} }
li.listEntry .icon-secure {
display: none;
color: #aaa;
font-size: 13px;
}
li.listEntry.secure .icon-secure {
display: inline-block;
}
body[dir=rtl] li.listEntry { body[dir=rtl] li.listEntry {
margin-left: 0em; margin-left: 0em;
margin-right: 1em; margin-right: 1em;
@ -131,10 +140,10 @@ span.new {
background-color: hsl(36, 100%, 75%); background-color: hsl(36, 100%, 75%);
} }
#externalListsDiv { #externalListsDiv {
margin: 2em auto 2em 2em; margin: 2em auto 0 2em;
} }
body[dir=rtl] #externalListsDiv { body[dir=rtl] #externalListsDiv {
margin: 2em 2em 2em; margin: 2em 2em 0;
} }
#externalLists { #externalLists {
box-sizing: border-box; box-sizing: border-box;

View File

@ -47,6 +47,18 @@ body[dir=rtl] [data-tip][data-tip-anchor="top"]:hover:after {
left: 0; left: 0;
} }
body[dir=ltr] [data-tip][data-tip-anchor="left"]:hover:after {
right: 105%;
top: initial;
left: initial;
bottom: -4px;
}
body[dir=rtl] [data-tip][data-tip-anchor="left"]:hover:after {
left: 105%;
top: initial;
right: initial;
bottom: -4px;
}
body [data-tip][data-tip-anchor="topcenter"]:hover:after { body [data-tip][data-tip-anchor="topcenter"]:hover:after {
bottom: 140%; bottom: 140%;
left: -225%; left: -225%;

View File

@ -44,7 +44,7 @@ div > p:last-child {
.para { .para {
width: 40em; width: 40em;
} }
.whatisthis { button.whatisthis {
margin: 0 0 0 8px; margin: 0 0 0 8px;
border: 0; border: 0;
padding: 0 0 4px 0; padding: 0 0 4px 0;
@ -54,8 +54,10 @@ div > p:last-child {
cursor: pointer; cursor: pointer;
opacity: 0.5; opacity: 0.5;
vertical-align: middle; vertical-align: middle;
-webkit-transition: 0.2s background, 0.2s border-color, 0.2s box-shadow, 0.2s opacity;
transition: 0.2s background, 0.2s border-color, 0.2s box-shadow, 0.2s opacity;
} }
.whatisthis:hover { button.whatisthis:hover {
opacity: 1.0; opacity: 1.0;
} }
.whatisthis-expandable { .whatisthis-expandable {

View File

@ -12,6 +12,7 @@ html, body {
} }
body { body {
padding:8px; padding:8px;
box-sizing: border-box;
} }
#dashboard-nav { #dashboard-nav {
margin: 0; margin: 0;
@ -62,7 +63,7 @@ iframe {
border: 0; border: 0;
padding: 0; padding: 0;
background-color: transparent; background-color: transparent;
width: calc(100% - 16px); width: 100%;
} }
@media (max-width: 600px) { @media (max-width: 600px) {

View File

@ -28,9 +28,6 @@ body {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
#toolbar input {
padding: 5px;
}
#toolbar .button { #toolbar .button {
border: none; border: none;
box-sizing: border-box; box-sizing: border-box;
@ -48,8 +45,13 @@ body.filterOff #toolbar #filterButton {
#filterExpression.bad { #filterExpression.bad {
background-color: #fee; background-color: #fee;
} }
input {
border: 1px solid #ddd;
padding: 5px;
}
input:focus { input:focus {
background-color: #ffe; outline: 0;
border-color: deepskyblue;
} }
#content { #content {
position: absolute; position: absolute;

View File

@ -16,6 +16,14 @@
<title>eyedropper</title> <title>eyedropper</title>
<path class="path1" d="M986.51 37.49c-49.988-49.986-131.032-49.986-181.020 0l-172.118 172.118-121.372-121.372-135.764 135.764 106.426 106.426-472.118 472.118c-8.048 8.048-11.468 18.958-10.3 29.456h-0.244v160c0 17.674 14.328 32 32 32h160c0 0 2.664 0 4 0 9.212 0 18.426-3.516 25.456-10.544l472.118-472.118 106.426 106.426 135.764-135.764-121.372-121.372 172.118-172.118c49.986-49.988 49.986-131.032 0-181.020zM173.090 960h-109.090v-109.090l469.574-469.572 109.088 109.088-469.572 469.574z"></path> <path class="path1" d="M986.51 37.49c-49.988-49.986-131.032-49.986-181.020 0l-172.118 172.118-121.372-121.372-135.764 135.764 106.426 106.426-472.118 472.118c-8.048 8.048-11.468 18.958-10.3 29.456h-0.244v160c0 17.674 14.328 32 32 32h160c0 0 2.664 0 4 0 9.212 0 18.426-3.516 25.456-10.544l472.118-472.118 106.426 106.426 135.764-135.764-121.372-121.372 172.118-172.118c49.986-49.988 49.986-131.032 0-181.020zM173.090 960h-109.090v-109.090l469.574-469.572 109.088 109.088-469.572 469.574z"></path>
</symbol> </symbol>
<symbol id="icon-secure" viewBox="0 0 1024 1024">
<title>secure</title>
<path class="path1" d="M912 448h-16v-192c0-105.87-86.13-192-192-192h-128c-105.87 0-192 86.13-192 192v192h-16c-26.4 0-48 21.6-48 48v480c0 26.4 21.6 48 48 48h544c26.4 0 48-21.6 48-48v-480c0-26.4-21.6-48-48-48zM512 256c0-35.29 28.71-64 64-64h128c35.29 0 64 28.71 64 64v192h-256v-192z"></path>
</symbol>
<symbol id="icon-insecure" viewBox="0 0 1024 1024">
<title>insecure</title>
<path class="path1" d="M192 64c-105.87 0-192 86.13-192 192v192h128v-192c0-35.29 28.71-64 64-64h128c35.29 0 64 28.71 64 64v192h-16c-26.4 0-48 21.6-48 48v480c0 26.4 21.6 48 48 48h544c26.4 0 48-21.6 48-48v-480c0-26.4-21.6-48-48-48h-400v-192c0-105.87-86.13-192-192-192h-128z"></path>
</symbol>
<symbol id="icon-stats" viewBox="0 0 1024 1024"> <symbol id="icon-stats" viewBox="0 0 1024 1024">
<title>stats</title> <title>stats</title>
<path class="path1" d="M0 832h1024v128h-1024zM128 576h128v192h-128zM320 320h128v448h-128zM512 512h128v256h-128zM704 128h128v640h-128z"></path> <path class="path1" d="M0 832h1024v128h-1024zM128 576h128v192h-128zM320 320h128v448h-128zM512 512h128v256h-128zM704 128h128v640h-128z"></path>

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -93,10 +93,14 @@ var renderFilterLists = function() {
var elem, text; var elem, text;
var entry = listDetails.available[listKey]; var entry = listDetails.available[listKey];
var li = listEntryTemplate.clone(); var li = listEntryTemplate.clone();
if ( entry.off !== true ) { if ( entry.off !== true ) {
li.descendants('input').attr('checked', ''); li.descendants('input').attr('checked', '');
} }
if(entry.homeURL) {
if(entry.homeURL.lastIndexOf("https:", 0) === 0) {
li.addClass("secure", true);
}
}
elem = li.descendants('a:nth-of-type(1)'); elem = li.descendants('a:nth-of-type(1)');
elem.attr('href', encodeURI(listKey)); elem.attr('href', encodeURI(listKey));
@ -158,6 +162,9 @@ var renderFilterLists = function() {
var liFromListGroup = function(groupKey, listKeys) { var liFromListGroup = function(groupKey, listKeys) {
var liGroup = listGroupTemplate.clone(); var liGroup = listGroupTemplate.clone();
if(groupKey === 'custom') {
liGroup.append(uDom('#externalListsDiv'));
}
var groupName = vAPI.i18n('3pGroup' + groupKey.charAt(0).toUpperCase() + groupKey.slice(1)); var groupName = vAPI.i18n('3pGroup' + groupKey.charAt(0).toUpperCase() + groupKey.slice(1));
if ( groupName !== '' ) { if ( groupName !== '' ) {
liGroup.descendants('span.geName').text(groupName); liGroup.descendants('span.geName').text(groupName);
@ -241,6 +248,7 @@ var renderFilterLists = function() {
uDom('#autoUpdate').prop('checked', listDetails.autoUpdate === true); uDom('#autoUpdate').prop('checked', listDetails.autoUpdate === true);
uDom('#parseCosmeticFilters').prop('checked', listDetails.cosmetic === true); uDom('#parseCosmeticFilters').prop('checked', listDetails.cosmetic === true);
renderExternalLists();
renderWidgets(); renderWidgets();
renderBusyOverlay(details.manualUpdate, details.manualUpdateProgress); renderBusyOverlay(details.manualUpdate, details.manualUpdateProgress);
}; };
@ -535,7 +543,6 @@ uDom.onLoad(function() {
uDom('#lists').on('click', '.groupEntry > span', groupEntryClickHandler); uDom('#lists').on('click', '.groupEntry > span', groupEntryClickHandler);
renderFilterLists(); renderFilterLists();
renderExternalLists();
}); });
/******************************************************************************/ /******************************************************************************/