first commit
This commit is contained in:
commit
46aea254d0
19 changed files with 569 additions and 0 deletions
57
README.md
Normal file
57
README.md
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
# Figma Windows UA Spoofer (Chrome + Firefox)
|
||||
|
||||
`figma.com` / `*.figma.com`에서만 User-Agent를 Windows로 바꾸고,
|
||||
페이지 JS의 `navigator.userAgent`, `navigator.platform`도 Windows 값으로 오버라이드합니다.
|
||||
|
||||
## 빠른 사용
|
||||
|
||||
### Chrome / Edge
|
||||
|
||||
1. `chrome://extensions` (Edge: `edge://extensions`) 접속
|
||||
2. 개발자 모드 ON
|
||||
3. 압축해제된 확장 프로그램 로드
|
||||
4. 프로젝트 폴더 선택
|
||||
|
||||
### Firefox unsigned 빌드
|
||||
|
||||
```bash
|
||||
./build-firefox.sh
|
||||
```
|
||||
|
||||
- 출력: `dist/figma-windows-ua-firefox-unsigned.xpi`
|
||||
- 개발/테스트용 unsigned 패키지
|
||||
|
||||
### Firefox 서명 빌드 (실사용)
|
||||
|
||||
1. AMO(Add-ons Mozilla)에서 API Key/Secret 발급
|
||||
2. `.env`에 값 저장 (자동 로드)
|
||||
|
||||
```dotenv
|
||||
AMO_JWT_ISSUER="<your-api-key>"
|
||||
AMO_JWT_SECRET="<your-api-secret>"
|
||||
```
|
||||
|
||||
3. Nix로 서명 실행 (추천)
|
||||
|
||||
```bash
|
||||
nix run .#sign-firefox
|
||||
```
|
||||
|
||||
- 출력: `dist/signed/*.xpi` (서명 완료)
|
||||
|
||||
## Firefox 설치
|
||||
|
||||
- 임시 로드: `about:debugging#/runtime/this-firefox` → 임시 부가 기능 로드 → `dist/firefox/manifest.json`
|
||||
- 실제 배포/설치: `dist/signed/*.xpi` 사용
|
||||
|
||||
## 확인
|
||||
|
||||
`figma.com`에서 콘솔 실행:
|
||||
|
||||
```js
|
||||
navigator.userAgent
|
||||
navigator.platform
|
||||
navigator.userAgentData?.platform
|
||||
```
|
||||
|
||||
Windows 계열 값이면 정상입니다.
|
||||
Loading…
Add table
Add a link
Reference in a new issue