Old School GitHub
Revert GitHub's UI back to its classic look (before the June 23, 2020 update that has a flat, rounded and more whitespaced design).
什么是Old School GitHub?
Old School GitHub是由https://deanattali.com开发的Chrome扩展程序,该扩展的主要功能是“Revert GitHub's UI back to its classic look (before the June 23, 2020 update that has a flat, rounded and more whitespaced design).”。
扩展截图
下载Old School GitHub扩展crx文件
下载Old School GitHub扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。
扩展使用说明
Code available on GitHub https://github.com/daattali/oldschool-github-extension Features ========= 1. **Move header tabs to main content area:** In the June update, GitHub moved the header buttons ("Code"/"Issues"/"Pull Requests"/etc) to the far left of the page. This became an issue if you have a big wide monitor because those buttons are now very very far from the rest of the page content. If you're on a laptop you probably won't notice the difference. 2. **Highlight selected page in header:** Prior to the update, the selected page you're on was clearly highlighted. The update made the current page selection much more subtle. 3. **Classic-syle buttons and labels:** The old buttons had depth and bold font, and the new buttons are flat and look less clickable. 4. **Add row separators in file explorer:** The file explorer that shows all the files and folders currently has no borders between rows, making it harder to read the file list. 5. **Remove circular user images and rounded corners everywhere:** The new circular user photos result in unwanted rounding near the corners, cropping significant features from photos that are intended to be square for some users. Many other items were also made very round. And many other UI fixes such as fix the text width of issue counters and issue label, fix the whitespace of issues, add a slight background to README title, and more. Limitations ========= This extension can change the look of existing items on the page, but it cannot change the layout of the page by moving things around. For example, a common question is whether the repository sidebar can be moved to be above the main code section, like it was previously. Unfortunately that is not possible (or extremely difficult). The reason is because of the strange way GitHub handles internal links: some pages are actual page reloads, but some pages are fully loaded with AJAX. This makes it impossible to use JavaScript to fix any UI issues, and only CSS can be used. If you're on the Code tab and you click on Pull Requests then you don't actually refresh the page, but if you click on Issues then it is a new page. What that means is that after moving from Code to Pull Requests, any JavaScript changes are reverted because large portions of the page body were re-written. Technically it's possible to find hacky ways around that, using event listeners or mutator observers or any other technique and try to force a re-initialization of the JavaScript when a new page is AJAX-loaded, but that would be extremely difficult to work correctly and would be non performant. So unfortunately only CSS is used. The layout of GitHub.com also changes constantly, so as time goes by this extension may find it harder and harder to kep up with GitHub's changes.
扩展基本信息
名称 | Old School GitHub |
ID | blkkkhifjoiedclojflfcenbjigdajeb |
官方URL | https://chromewebstore.google.com/detail/old-school-github/blkkkhifjoiedclojflfcenbjigdajeb |
简介 | Revert GitHub's UI back to its classic look (before the June 23, 2020 update that has a flat, rounded and more whitespaced design). |
文件大小 | 18.3 KB |
安装次数 | 311 |
当前版本 | 1.8.0 |
更新时间 | 2023-04-30 |
上架时间 | 2020-06-29 |
评分 | 5.00/5 共12次评分 |
开发者 | https://deanattali.com |
电子邮箱 | [email protected] |
付费类型 | free |
扩展官网 | https://github.com/daattali/oldschool-github-extension |
支持的语言 | en-US |
manifest.json | |
{ "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx", "name": "Old School GitHub", "version": "1.8.0", "manifest_version": 3, "description": "Revert GitHub's UI back to its classic look (before the June 23, 2020 update that has a flat, rounded and more whitespaced design).", "icons": { "16": "img\/icon-16.png", "48": "img\/icon-48.png", "128": "img\/icon-128.png" }, "content_scripts": [ { "matches": [ "https:\/\/github.com\/*", "https:\/\/gist.github.com\/*" ], "css": [ "css\/osgh.css" ], "run_at": "document_start" } ], "homepage_url": "https:\/\/github.com\/daattali\/oldschool-github-extension" } |