英文:
How to make a button in a Scratch that takes you to some website?,
问题
我知道这在普通的Scratch中不会起作用。最多只能在Turbowarp中使用,但有一个问题。Turbowarp将Scratch转化为JavaScript,不幸的是,我不懂这种语言。我该怎么办,或者我应该输入什么命令,以便按钮将我带到网站?
英文:
I know that this won't work in a normal Scratch. Maximum with Turbowarp, but there is one problem. Turbowarp makes JavaScript out of Scratch, and unfortunately I don't know this language. What should I do, or what command should I enter, so that the button takes me to the site?
答案1
得分: 2
TurboWarp有一个名为Network的扩展,提供以下功能之一:
- 在新标签页中打开(...)
- 在新窗口中打开(...)
- 重定向此标签页至(...)
快速尝试链接:
https://turbowarp.org/editor?extension=https://extensions.turbowarp.org/true-fantom/network.js
示例:
执行时,这些块将始终在继续之前请求权限。
英文:
TurboWarp has an extension called Network that offers you (among others) the following blocks:
- open (...) in new tab
- open (...) in new window
- redirect this tab to (...)
Quick link to try it out:
https://turbowarp.org/editor?extension=https://extensions.turbowarp.org/true-fantom/network.js
Example:
When executed, the blocks will always ask permission before proceeding.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论