Last active
January 29, 2020 08:50
-
-
Save kuanyui/8345d94ea348724a6956813de3eae30f to your computer and use it in GitHub Desktop.
User script to make the title of API documents of Pixi.js comprehensible
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Pixi API Page Title | |
| // @version 1 | |
| // @grant none | |
| // @match http://pixijs.download/release/docs/* | |
| // @match https://pixijs.download/release/docs/* | |
| // @run-at document-end | |
| // ==/UserScript== | |
| //"http://pixijs.download/release/docs/PIXI.BaseTexture.html#.from" | |
| let title = document.querySelector('.header h2').innerText | |
| window.document.title = title |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment