A little to the left... no, more to the right...
This commit is contained in:
parent
5fabfc4207
commit
83acbaa77c
|
@ -60,6 +60,11 @@
|
||||||
.breadcrumbs > .write-style-link:nth-last-child(2)::after {content: none}
|
.breadcrumbs > .write-style-link:nth-last-child(2)::after {content: none}
|
||||||
/* "forward slash" before path ("this URL") */
|
/* "forward slash" before path ("this URL") */
|
||||||
.breadcrumbs > .write-style-link:last-child::before {content: "\200b/"}
|
.breadcrumbs > .write-style-link:last-child::before {content: "\200b/"}
|
||||||
|
.breadcrumbs > .write-style-link:last-child:first-child::before,
|
||||||
|
.breadcrumbs > .write-style-link[subdomain=""] + .write-style-link::before {content: none}
|
||||||
|
|
||||||
|
/* suppress TLD-only link */
|
||||||
|
.breadcrumbs > .write-style-link[subdomain=""] {display: none}
|
||||||
|
|
||||||
/* :hover style */
|
/* :hover style */
|
||||||
.breadcrumbs.url\(\) > .write-style-link, /* :hover or :focus on "this URL" sets class="url()" */
|
.breadcrumbs.url\(\) > .write-style-link, /* :hover or :focus on "this URL" sets class="url()" */
|
||||||
|
|
2
popup.js
2
popup.js
|
@ -51,7 +51,7 @@ chrome.tabs.getSelected(null, function(tab) {
|
||||||
var domainLink = writeStyleTemplate.cloneNode(true);
|
var domainLink = writeStyleTemplate.cloneNode(true);
|
||||||
domainLink.href = "edit.html?domain=" + encodeURIComponent(domain);
|
domainLink.href = "edit.html?domain=" + encodeURIComponent(domain);
|
||||||
domainLink.appendChild(document.createTextNode(domain));
|
domainLink.appendChild(document.createTextNode(domain));
|
||||||
domainLink.title = "domain($)".replace("$", domain);
|
domainLink.title = "domain(\"$\")".replace("$", domain);
|
||||||
domainLink.setAttribute("subdomain", domain.substring(0, domain.indexOf(".")));
|
domainLink.setAttribute("subdomain", domain.substring(0, domain.indexOf(".")));
|
||||||
writeStyleLinks.push(domainLink);
|
writeStyleLinks.push(domainLink);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user