chrome-extensionfeature-requestgood first issuehacktoberfestintermediatejavascriptrefactortesting
Repository-Metriken
- Stars
- (6 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
Problem
popup.html contains over 250 lines of hardcoded <option> tags for countries. This bloats the HTML and makes updates hard.
Suggested Refactor
- Move country list to
extension/countries.jsas a JS array. - Load countries dynamically in
popup.jsinsideaddAuthor()function. - Reduce HTML size and improve data reusability.
Benefit
Makes country data reusable and reduces clutter in popup HTML.