NTHU_ScoreSharing

NTHU_ScoreSharing

A community sharing score distributions

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "NTHU_ScoreSharing",
  "description": "A community sharing score distributions",
  "version": "2.1.0",
  "manifest_version": 2,
  "permissions": [
    "https://mighty-woodland-62500.herokuapp.com/*"
  ],
  "background": {
    "scripts": [
      "src/background/nthu/parseNthuTranscriptToJson.js",
      "src/background/nthu/parseNthuDistributionToJson.js",
      "src/background/handler.js",
      "src/background/nthu/loadNthuTranscript.js",
      "src/background/fetchEnrollments.js",
      "src/background/addListener.js"
    ]
  },
  "browser_action": {
    "default_popup": "popup/index.html"
  },
  "content_scripts": [
    {
      "matches": [
        "https://www.ccxp.nthu.edu.tw/ccxp/INQUIRE/top.php*"
      ],
      "js": [
        "src/content_script/fetchMessage.js",
        "src/content_script/fetchTranscript.js",
        "src/content_script/nthu/dashboard/main.js"
      ],
      "all_frames": true
    },
    {
      "matches": [
        "https://www.ccxp.nthu.edu.tw/ccxp/INQUIRE/"
      ],
      "js": [
        "src/content_script/fetchMessage.js",
        "src/content_script/nthu/login/main.js"
      ],
      "all_frames": true
    },
    {
      "matches": [
        "https://www.ccxp.nthu.edu.tw/ccxp/COURSE/JH/7/7.6/7.6.1/*",
        "https://www.ccxp.nthu.edu.tw/ccxp/COURSE/JH/7/7.1/7.1.3/*"
      ],
      "css": [
        "lib/swiper-bundle.min.css"
      ],
      "js": [
        "lib/swiper-bundle.min.js",
        "lib/Chart.min.js",
        "lib/popper.min.js",
        "src/content_script/fetchMessage.js",
        "src/content_script/loadCourses.js",
        "src/content_script/nthu/presentation/enroll/parseRow.js",
        "src/content_script/nthu/presentation/enroll/getAllRows.js",
        "src/content_script/nthu/presentation/insertPopper.js",
        "src/content_script/nthu/presentation/insertPieChart.js",
        "src/content_script/nthu/presentation/insertListenerToDom.js",
        "src/content_script/nthu/presentation/main.js"
      ],
      "all_frames": true
    },
    {
      "matches": [
        "https://www.ccxp.nthu.edu.tw/ccxp/INQUIRE/JH/6/*"
      ],
      "css": [
        "lib/swiper-bundle.min.css"
      ],
      "js": [
        "lib/swiper-bundle.min.js",
        "lib/Chart.min.js",
        "lib/popper.min.js",
        "src/content_script/fetchMessage.js",
        "src/content_script/loadCourses.js",
        "src/content_script/nthu/presentation/course_search/parseRow.js",
        "src/content_script/nthu/presentation/course_search/getAllRows.js",
        "src/content_script/nthu/presentation/insertPopper.js",
        "src/content_script/nthu/presentation/insertPieChart.js",
        "src/content_script/nthu/presentation/insertListenerToDom.js",
        "src/content_script/nthu/presentation/main.js"
      ],
      "all_frames": true
    }
  ],
  "icons": {
    "16": "images/network16.png",
    "24": "images/network24.png",
    "32": "images/network32.png",
    "64": "images/network64.png",
    "128": "images/network128.png",
    "512": "images/network512.png"
  }
}