182 Commits

Author SHA1 Message Date
Libin YANG e70fa9e92a chore: add Prettier formatting config and pre-commit hooks (#253) 2026-06-17 19:40:35 +08:00
Libin YANG 5a7d170044 ci: add GitHub Actions workflow for PR validation (#252)
Run install, Chromium build, tests, and Firefox lint on pull_request
and main pushes without secrets so fork PRs can use the same checks.
2026-06-17 19:29:26 +08:00
Libin YANG c876428706 chore: upgrade dev deps and fix extension build pipeline (#251)
Upgrade vite/web-ext toolchain to resolve security advisories, configure
pnpm 11 allowBuilds, and ensure popup/offscreen HTML land in dist root.
2026-06-17 19:19:49 +08:00
Cooper Oak ae0e34957d fix(wechat): inject official account content via JSAPI (#250)
* fix(wechat): inject official account content via JSAPI
* test(wechat): assert paste fallback avoids direct body HTML writes

Closes #249
2026-06-17 18:10:33 +08:00
kimhuang 062a4f0083 fix(wechat): wait for the body editor before pasting (#246)
* fix(wechat): wait for the body editor before pasting

* fix(wechat): inline helpers in fillWechatContent for executeScript injection

chrome.scripting.executeScript only serializes the function body,
so top-level helpers (pickWechatBodyProseMirrorCandidate, isWechatTitleEditor,
getEditorArea) are not available in the injected context.

Move these helpers inline inside pickWechatBodyProseMirror() within
fillWechatContent to fix 'pickWechatBodyProseMirrorCandidate is not defined'.

Also bump version to 1.3.6.

---------

Co-authored-by: John Howe <89397553+timerring@users.noreply.github.com>
v1.3.6
2026-06-02 02:10:49 +08:00
Neo e64052bf37 chore(extension): bump version to 1.3.5 (#245) v1.3.5 2026-05-20 23:08:47 +08:00
TUARAN 97d88b3da8 fix(wechat): pick body ProseMirror when title is also ProseMirror (#242)
* fix(wechat): resolve body editor when multiple ProseMirror exist

Prefer placeholder text, then ProseMirror below #title, then largest
region. Fill title before polling for body to avoid wrong focus.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(wechat): fill visible title editor

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: John Howe <89397553+timerring@users.noreply.github.com>
2026-05-20 22:57:19 +08:00
Neo 57b27e3866 chore: Add Apache 2.0 license re #237 (#238) 2026-05-08 15:03:45 +08:00
Neo 4e32015064 feat: add popup page for extension installation guide (#236) v1.3.4 2026-04-30 02:37:09 +08:00
John Howe 2cb144e24d fix: replace nested div with p align for proper Markdown rendering
GitHub Markdown does not support nested div elements for centering.
Use <p align='center'> instead which is supported.

Ref: https://github.com/orgs/community/discussions/192845
2026-04-27 02:50:24 +08:00
Neo 25f526e2c0 feat(zhihu): wait for image uploads to complete before refreshing page (#235)
* feat(zhihu): wait for image uploads to complete before refreshing page

* chore: bump version to 1.3.3
v1.3.3
2026-04-25 03:50:08 +08:00
John Howe 4c4c4901fe build: v1.3.2.2 2026-04-04 19:08:22 +08:00
Neo eadbe5d43c fix: douban detection error (#230) 2026-04-04 19:04:44 +08:00
Neo 3f17f90f70 build: release v1.3.2 (#229) v1.3.2 2026-04-04 18:36:46 +08:00
Neo 3498d142e1 fix: zhihu sync issue (#228) 2026-04-04 16:33:30 +08:00
Neo f31d58ef04 fix: zhihu sync method (#226) 2026-04-04 03:01:06 +08:00
Neo 84e7b90b8e docs: update readme (#224)
* docs: update readme
2026-04-04 01:46:02 +08:00
Neo 7225b2a7d6 feat: support douban sync (#223) 2026-04-04 01:30:31 +08:00
Neo 567c5f35d5 fix: wechat offical dashed border display (#222) 2026-03-25 14:01:47 +08:00
Neo e5e8105d23 build: release v1.3.1 (#208) v1.3.1 2026-02-24 19:57:09 +08:00
Neo 87b62318c1 refactor: wangyihao sync logic (#205) 2026-02-23 21:38:37 +08:00
Neo 15b0b6850c fix: zhihu sync activation (#204) 2026-02-23 20:43:17 +08:00
John Howe d583737263 build: release v1.3.0 2026-02-21 21:51:00 +08:00
Neo a96b4254d7 fix: login detection with offscreen fallback (#203) v1.3.0 2026-02-21 17:08:45 +08:00
Neo 58f8e26f62 fix: switch to Markdown editor before filling content (#202) 2026-02-21 16:20:38 +08:00
Neo e447e11159 fix: improve offscreen messaging reliability for concurrent detection (#201) 2026-02-21 14:33:07 +08:00
Neo ad2c47d6f5 chore: add timestamp logs (#200) 2026-02-21 13:38:16 +08:00
Neo 2ee28eeed1 fix: message routing conflict (#199) 2026-02-21 13:05:59 +08:00
Neo 2a6ca38d92 fix: jianshu timeout (#198) v1.2.8 2026-02-18 21:52:34 +08:00
Neo ed66b2b29e fix: baiducloud intercept (#197) 2026-02-18 21:20:01 +08:00
John Howe 13c3b75c7b fix: update vite 2026-02-18 15:34:04 +08:00
Neo 2fae21eac9 fix: update offscreen method (#196) 2026-02-18 15:10:35 +08:00
Neo 9e9a8c16a5 revoke: huaweicloud logic (#195) 2026-02-18 11:59:38 +08:00
Neo e0f07065df refactor: detectByApi (#194) 2026-02-17 10:52:50 +08:00
Neo 3562175cc8 refactor: get username from dom (#193) 2026-02-17 10:21:05 +08:00
Neo 48a604f943 refactor: huaweicloud logic (#192)
* refactor: huaweicloud logic

* refactor: ua first
v1.2.7
2026-02-15 18:06:19 +08:00
Neo aee824807d fix: wangyihao detection logic (#191) 2026-02-15 01:44:15 +08:00
Neo 560b33ddbd fix: cnblogs detection logic (#190) 2026-02-15 01:22:28 +08:00
Neo cf426af95b fix: oschina detection (#189) 2026-02-15 00:58:52 +08:00
Neo 8f456588fc refactor: remove redundant code (#187)
* refactor: remove redundant code

* fix: retry delay
2026-02-11 20:53:43 +08:00
Neo 0bfba5d7c6 fix: huaweidev & cloud detection (#186)
* fix: huaweidev & cloud detection

* fix: huaweicloud logic

* fix: huaweidev logic
2026-02-11 19:43:54 +08:00
Neo 1e458f4ca8 fix: elecfans detection (#185) v1.2.6 2026-02-09 23:56:23 +08:00
Neo e2a8618961 fix: bypass samesite restriction (#184) 2026-02-09 23:09:23 +08:00
Neo 3b5b97fe31 fix: modelscope detection (#183) 2026-02-09 21:58:47 +08:00
Neo 4b038b22f3 fix: huaweidev cors detection (#182) 2026-02-09 17:01:25 +08:00
Neo e6e595194c fix: aliyun cors detection (#181) 2026-02-09 14:38:32 +08:00
John Howe 0f7746a04c chore: update comment 2026-02-09 14:14:25 +08:00
Neo 49b83b3d8e fix: qianfan detection (#180) v1.2.5 2026-02-09 12:03:02 +08:00
Neo 7019d44cc2 fix: huaweicloud detection logic (#179) 2026-02-09 11:45:49 +08:00
Neo ee6adf494d fix: tencentcloud detection logic (#178) 2026-02-09 11:29:31 +08:00