Add a "Go to Github" button on Graphite PRs
ของเมื่อวันที่ 16-01-2023 ดู เวอร์ชันล่าสุด
นี่คือเวอร์ชันของสคริปต์นี้ที่โค้ดมีการอัปเดต แสดงเวอร์ชันทั้งหมด
If the toolbar already exists, add the button immediately
Run on document-idle, not document-start. This should help the button appear more reliably by waiting a bit longer for the page to load all elements.
- update styling to work in dark mode (steal styling from 'Review changes' button)
- match their new URL: app.graphite.com- update matching regex to handle dash (-) in repo or project name (thanks @gaosong2101!)
Fixes issue where the button might show twice