Skip to content

Commit

Permalink
chore text
Browse files Browse the repository at this point in the history
  • Loading branch information
WanderedToLa committed Jul 16, 2024
1 parent 0c31d08 commit 6e3104b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions docs/2024/07/07-15.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@

- [react-content-script](https://github.com/yosevu/react-content-script)

Monica와 같은 디자인으로 익스텐션 개발시 sidepanel이 아닌 html안에 appendChild사용
createElement/appendChild -> 페이지별로 CSS 상이함 -> React
Monica와 같은 디자인으로 익스텐션 개발시 `chrome.sidePanel`을 사용하지 않고
body안에 html을 삽입하는 구조로 작성해야함
createElement/appendChild를 이용한 html을 생성하려고 했으나 추후 디자인까지 고려해 React로 변경

Monica와 달리 동일한 width에도 화면내 영역을 차지하지않음
window.onload시 contentscript 자동 load
Monica와 달리 동일한 width에도 화면내 영역을 차지하지않고 (fixed position때문으로 추정됨)
onload시 contentscript가 자동으로 load되는 문제

## Process

Expand Down
4 changes: 2 additions & 2 deletions docs/2024/07/07-16.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

## serviceworker to typescript

browser load시 contentscript 자동으로 실행되는 문제 -> 우선 typescript로 변경
browser load시 contentscript 자동으로 실행되는 문제 -> typescript로 변경하는과정에서 해결
변경 중 `service-worker..ts`확장자 오타 실수
`executeScript` path 문제 수정
`executeScript` 의 ScriptInjection files path를 수정하는것으로 변경

0 comments on commit 6e3104b

Please sign in to comment.