SG Legal Citation Extension
This web extension auto generates citations, when the user copies the text from the specified Singapore legal websites. https://www.youtube.com/watch?v=jbQzD6GLr1I
Additional files are visible only to premium users
manifest.json
{
"manifest_version": 2,
"name": "SG Legal Citation Extension",
"version": "2.1.1",
"browser_action": {
"default_popup": "index.html",
"default_title": "Open the popup",
"default_icon": "icons/scroll.png"
},
"icons": {
"48": "icons/scroll.png"
},
"content_scripts": [
{
"matches": [
"https://sso.agc.gov.sg/*"
],
"js": [
"browser-polyfill.js",
"content-scripts/statutes/index.js"
]
}
],
"background": {
"scripts": [
"browser-polyfill.js",
"background-scripts/index.js"
]
},
"permissions": [
"contextMenus",
"clipboardWrite"
],
"browser_specific_settings": {
"gecko": {
"id": "{2d1b1412-4b75-47e2-b07c-eb327b555b67}"
}
}
}