JSでボタンにクリックイベントくっつけてるんだけど、そのイベントリスナーを定義する命令を読まれると、クリック時に走って欲しい関数が呼ばれちゃうのどうしたら良いの!
https://twitter.com/FromAtom/status/361897216849358848
に関して、Javascript の addEventListener の引数は
| $default-color: #CCCCCC; | |
| $ada-color: #02F88C; | |
| $arc-color: #CA2AFE; | |
| $arduino-color: #BD79D1; | |
| $asp-color: #6A40FD; | |
| $assembly-color: #A67219; | |
| $autohotkey-color: #6594B9; | |
| $boo-color: #D4BEC1; |
| // get your image | |
| var image = UIImage(named: "image.jpg") | |
| // begin a new image | |
| UIGraphicsBeginImageContextWithOptions(imageView.bounds.size, false, UIScreen.mainScreen().scale) | |
| // add a clip in the shape of a rounded rectangle | |
| UIBezierPath(roundedRect: imageView.bounds, cornerRadius: 10.0).addClip() | |
| // draw the image in the view | |
| image.drawInRect(imageView.bounds) | |
| // set the image | |
| imageView.image = UIGraphicsGetImageFromCurrentImageContext() |
hi! this is a list of all¹ the paths in the splatnet 3 application as of september 10th, 2022.
a lot of these are probably not useful for external applications.
i found all these manually through developer tools. some may be incorrect.
a : indicates that it's a parameter.
i have marked what i considered to be notable with a ⭐️ emoji.
these can be used to launch the splatnet 3 application on a device with the nintendo switch online app installed.
on ios, this is done with com.nintendo.znca://znca/game/4834290508791808?p=<url encoded path>.
i am not sure how this works on android, but it's probably similar.
for example, to open the anarchy schedule, use com.nintendo.znca://znca/game/4834290508791808?p=%2Fschedule%2Fbankara.