Skip to content

Commit f2fa706

Browse files
committed
release: bump version to 1.2.3
1 parent bf28b47 commit f2fa706

8 files changed

Lines changed: 23 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ eCampus 페이지에서 과목별 학습 항목(과제/퀴즈/강의/토론/자
1616

1717
## 버전별 업데이트
1818

19+
### v1.2.3 (업데이트: 2026-04-04)
20+
21+
- `https://ecampus.smu.ac.kr/login.php` 페이지에는 content script가 주입되지 않도록 제외 규칙을 추가했습니다.
22+
- 런타임에서도 로그인 페이지에서는 UI와 크롤링 로직이 실행되지 않도록 가드를 추가했습니다.
23+
1924
### v1.2.2 (업데이트: 2026-03-31)
2025

2126
- Chrome Web Store 배포 워크플로가 저장된 GitHub secret 이름(`CHROME_*`)을 올바르게 참조하도록 수정했습니다.

manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "eHelper",
4-
"version": "1.2.2",
4+
"version": "1.2.3",
55
"description": "eCampus 과목별 과제/퀴즈/강의/토론/자료를 한눈에 보는 확장 프로그램",
66
"permissions": ["storage", "downloads"],
77
"host_permissions": ["https://ecampus.smu.ac.kr/*"],
@@ -18,6 +18,7 @@
1818
"content_scripts": [
1919
{
2020
"matches": ["https://ecampus.smu.ac.kr/*"],
21+
"exclude_matches": ["https://ecampus.smu.ac.kr/login.php*"],
2122
"js": ["dist/content.js"],
2223
"css": ["dist/content.css"],
2324
"run_at": "document_idle"

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ecampus-dashboard-smu",
3-
"version": "1.2.2",
3+
"version": "1.2.3",
44
"private": true,
55
"type": "module",
66
"scripts": {

src/content/bootstrap.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
(() => {
33
const E = window.__ECDASH__;
44
if (!E) return;
5+
if (E.isBlockedPage?.()) return;
56

67
// 진입 오케스트레이터: 캐시 초기화, 크롤링 스케줄링, 자동 새로고침.
78
let inFlight = false;

src/content/modules/school.adapter.smu.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
storagePrefix: 'ecdash:smu',
1010
hostPatterns: [/^ecampus\.smu\.ac\.kr$/i],
1111
match: ({ location: pageLocation }) =>
12-
/^ecampus\.smu\.ac\.kr$/i.test(pageLocation.hostname || ''),
12+
/^ecampus\.smu\.ac\.kr$/i.test(pageLocation.hostname || '') &&
13+
!E.isBlockedPage?.(pageLocation),
1314
isDashboardPage: () => Boolean(E.isDashboardSMU?.()),
1415
collectDashboardCourses: () =>
1516
E.collectCoursesFromDashboardSMU?.() || [],

src/content/modules/shared.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@
5858
}
5959
};
6060

61+
E.isBlockedPage = function isBlockedPage(pageLocation = location) {
62+
try {
63+
const pathname = String(pageLocation?.pathname || '').toLowerCase();
64+
return pathname === '/login.php';
65+
} catch {
66+
return false;
67+
}
68+
};
69+
6170
E.resolveUrl = function resolveUrl(url, baseUrl) {
6271
const raw = E.cleanText(url || '');
6372
if (!raw) return '';

src/content/ui/installReactUi.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
(() => {
1212
// React UI 설치 진입점: 런타임 초기화 후 루트 마운트와 공개 API를 연결한다.
1313
const runtime = (window.__ECDASH__ = window.__ECDASH__ || {});
14+
if (runtime.isBlockedPage?.()) return;
1415

1516
initializeRuntimeState(runtime);
1617
const store = createUiStore(runtime);

0 commit comments

Comments
 (0)