This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/griffpatch/Scratch3-Dev-T…
- Loading branch information
Showing
2 changed files
with
46 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// ==UserScript== | ||
// @name Scratch 3 Developer Tools | ||
// @namespace https://github.com/griffpatch/Scratch3-Dev-Tools | ||
// @version 1.0.0 | ||
// @description ...to enhance your Scratch Editing Experience. Injects the code on the source code. Ported, based on the extension. (https://chrome.google.com/webstore/detail/scratch-3-developer-tools/phacniajokfchdcamjhonkbhlcipplno) | ||
// @author griffpatch, ported by Hans5958 | ||
// @match http*://scratch.mit.edu/projects/editor | ||
// @match http*://scratch.mit.edu/projects/* | ||
// @match http*://scratch.mit.edu/projects/*/editor | ||
// @icon https://cdn.jsdelivr.net/gh/griffpatch/Scratch3-Dev-Tools/bigIcon.png | ||
// @updateURL https://cdn.jsdelivr.net/gh/griffpatch/Scratch3-Dev-Tools/inject.user.js | ||
// @grant none | ||
// ==/UserScript== | ||
|
||
var js = document.createElement('script') | ||
js.src = 'https://cdn.jsdelivr.net/gh/griffpatch/Scratch3-Dev-Tools/inject3.js' | ||
|
||
var css = document.createElement('link') | ||
css.href = 'https://cdn.jsdelivr.net/gh/griffpatch/Scratch3-Dev-Tools/inject.css' | ||
css.rel = 'stylesheet' | ||
|
||
var head = document.getElementsByTagName('head')[0] | ||
head.appendChild(js) | ||
head.appendChild(css) |