mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Export using human-readable hostnames
This commit is contained in:
parent
4598ef3edc
commit
91d36749bb
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ function importFromFile() {
|
|||
function exportToFile() {
|
||||
const lines = [];
|
||||
for ( const hostnameNode of qsa$('.hostnames li.hostname') ) {
|
||||
const hostname = hostnameFromNode(hostnameNode);
|
||||
const hostname = punycode.toUnicode(hostnameFromNode(hostnameNode));
|
||||
const selectors = selectorsFromNode(hostnameNode);
|
||||
for ( const selector of selectors ) {
|
||||
lines.push(`${hostname}##${toPrettySelector(selector)}`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue