Skip to content
Snippets Groups Projects
Commit 291bfb6f authored by David Byers's avatar David Byers
Browse files

Fix styles. Add Swedish translation.

parent cf9c4c30
No related branches found
No related tags found
No related merge requests found
Pipeline #31648 passed
{
"extensionDescription": {
"message": "Clean up display of links rewritten by Microsoft Defender for Office 365 Safe Links, so it is easy to see and copy the original link.",
"description": "Description of the extension."
},
"copyLinkMenuTitle": {
"message": "Copy original link",
"description": "Title of the copy original link menu item."
}
}
{
"extensionDescription": {
"message": "Ändra visning av länkar omskrivna av Microsoft Defender för Office 365 Safe Links, så det är enkelt att se och kopiera den ursrpungliga länken.",
"description": "Description of the extension."
},
"copyLinkMenuTitle": {
"message": "Kopiera ursprunglig länk",
"description": "Title of the copy original link menu item."
}
}
......@@ -9,9 +9,12 @@ browser.messageDisplayScripts.register({
});
console.log(browser);
console.log(browser.i18n);
browser.menus.create({
id: "liu-safelinks-copy",
title: "Copy original link",
title: browser.i18n.getMessage("copyLinkMenuTitle"),
contexts: ["link"],
visible: true,
targetUrlPatterns: ["*://*.safelinks.protection.outlook.com/*"],
......
{
"manifest_version": 2,
"name": "Safelinks Cleaner",
"description": "Clean up display of Microsoft Advanced Threat Protection Safe Links",
"name": "Safe Links Cleaner",
"description": "__MSG_extensionDescription__",
"version": "1.0",
"author": "David Byers",
"homepage_url": "https://gitlab.liu.se/davby02/safelinkscleaner/",
"homepage_url": "https://safelinks.gitlab-pages.liu.se/safelinks-cleaner-mailextension/",
"default_locale": "en",
"icons": {
"48": "icon.svg",
"96": "icon.svg",
......@@ -27,8 +28,5 @@
"messagesModify",
"clipboardWrite",
"menus"
],
"web_accessible_resources": [
"assets/*.png"
]
}
......@@ -4,10 +4,9 @@ a:hover .liu_safelinks_tooltip {
.liu_safelinks_tooltip {
display: none;
background: #fffff0 url(assets/shield.png) no-repeat 3px;
background-size: 14px 14px;
background: #fffff8;
color: black;
padding: 3px 3px 4px 22px;
padding: 3px 3px 4px 3px;
position: absolute;
z-index: 1000;
border: 1px solid black;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment