-
Notifications
You must be signed in to change notification settings - Fork 6
Home
powerbox1000 edited this page Nov 18, 2020
·
3 revisions
The URLs in URL parameters should be URI encoded.
URL parameter | Description |
---|---|
extension=[URL] or url=[URL]
|
Load an extension dynamically (more info on making an extension here). |
width=[NUMBER] |
Custom stage width (default 480). |
height=[NUMBER] |
Custom stage width (default 360). |
username=[STRING] |
Set a custom username (default "username") |
cloud_host=[URL] |
Use a custom cloud host instead of the default behavior, which is to save cloud variables to localStorage. Note that for some reason, Scratch doesn't want you to include the protocol (ie, omit ws:// or wss:// ). |
compatibility_mode=false |
Disables compatibility mode, which forces projects to run at 30 fps. |
limits=false |
Removes many limits, such as for clones and lists. Note that a few limits, like the number of cloud variables, are removed by default in this mod. |
load_plugin=[URL] |
Loads the given script into the web page. This could be used for loading userscripts that edit the Scratch editor. They're called "plugins" here to skirt around Scratch's userscript policy. |
In addition, you can finish the URL with a hash followed by a project ID to load a project from the Scratch website or a URI encoded URL to a project file.
For example, https://learn-devtime.web.app/blocks/?url=https://cdn.powerbox1000.repl.co/DevBlocks/devblocksUtils.js&width=640&height=360 will load the new DevBlocks Utilities extension and use a 16:9 stage size.
Note that if you use #projectid (shared on unshared) it will load that project. For example: https://learn-devtime.web.app/blocks/#448345551 will load the whiteboard 1.6 project.