Comments (5)
heres a script for this that you can paste into chrome's console
document.addEventListener('keydown', function(event) {
if(event.key === '1') {
document.querySelector("#ui > .sizes > button:nth-child(1)").click();
}
});
document.addEventListener('keydown', function(event) {
if(event.key === '2') {
document.querySelector("#ui > .sizes > button:nth-child(2)").click();
}
});
document.addEventListener('keydown', function(event) {
if(event.key === '3') {
document.querySelector("#ui > .sizes > button:nth-child(3)").click();
}
});
document.addEventListener('keydown', function(event) {
if(event.key === '4') {
document.querySelector("#ui > .sizes > button:nth-child(4)").click();
}
});
document.addEventListener('keydown', function(event) {
if(event.key === '5') {
document.querySelector("#ui > .sizes > button:nth-child(5)").click();
}
});
from sandspiel.
thx
from sandspiel.
thx
https://pastebin.com/xtL5TW55 heres an updated script that checks to see if a menu is open before doing the action
from sandspiel.
Was thinking about key shortcuts for selecting elements and have two alt ideas:
- A: Mouse Scroll: Select elements that is at behind/front of the selected elements. If scrolling while not selecting elements
(Wind to Rocket), Selects wind. When selected element back to wind or next to rocket will make a loop. - B: Wasd/Arrow keys: Select elements that is next to selected element by pressing right arrow or D, etc...
from sandspiel.
from sandspiel.
Related Issues (20)
- Idea: button to rotate universe
- suggestion for new icon HOT 3
- Small issue HOT 2
- UI disappearing when rate limit reached (Solution kinda)
- URL and ID of old posts aren't the same
- water move to the left when placed in air
- If the previous post hasn't been loaded, it loads even when the user changes posts
- A suggestion HOT 1
- Suggestion for sandspiel update (also im back on sandspiel) HOT 1
- another idea HOT 1
- Icon favicon is bad
- Ideas 'n Stuff HOT 4
- Particle fluid pressure system idea HOT 3
- Unable to run sandspiel locally. HOT 2
- Scroll idea HOT 1
- Hey, 1nO here. I just want to report this bug when theres multiple Sandspiel tabs are open, the gravity of each element is made to go down right? Guess what, it goes to the left side of the screen I dont really know coding so I dont know why and how it does that. Farewell!
- Cant sign in to sandspiel HOT 1
- You can Destroy walls with rockets
- Suggestion for what the next sandspiel april fools look like
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sandspiel.