Being interested in web development, I have decided to give it a shot to try coding a simple Chrome extension that might be used in my school. I have come up with the idea to create an extension that makes it easy for students to check the appearance of other students by inputing the name and student ID. The pictures are taken from one of school's website with the URL pattern matching.
The following is what I did:
- Create a manifest.json file
- Create HTML page that shows the UI of the extension (known as popup)
- External javascript file (which will be linked with the HTML
manifest.json
{
"name": "Find your classmates",
"version": "1.0.1",
"description": "Created to tackle the issue of classmates knowing their teammates name but not knowing how they look like. Useful for evaluation",
"browser_action": {
"default_icon": "rplogo.jpeg",
"popup": "rpavatar.html"
},
"icons": { "48": "rplogo.jpeg",
"128": "rplogo.jpeg" },
"permissions": [
"tabs"
]
}