SlashJs

No need for javascript with this library. Use commands inside of elements such as /time, /animate, and more!

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.org/scripts/496001/1382611/SlashJs.js

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
DarkHeart Productions (DarkHeart)
版本
Alpha 1.0.0
创建于
2024-05-24
更新于
2024-05-24
大小
2.3 KB
许可证
暂无

SlashJs


Slash is in it's name. A library I started a while ago will come back to life. Make JavaScript simple by slashing your code in half, do more, with less. SlashJs also includes another extension that allows you to create or add extensions created by others to SlashJs. If you do not need extensions, there is no need to link them.

SlashExtends current only ability is to load files and read the page. The files will not be ran as there is no code to run extensions yet.

See it in action! open


Key/Usage in JavaScript: slash(args)

Args:

exe to begin looking for commands
update update elements to show live status

Key/Usage in HTML5: /(action) (args)

Actions:

/time shows basic time like on your computer
/timefull shows full time, including seconds

What actions were looking to add:

/animate (classOrSingleStyle) (lengthOfAnimation) (colorOrSizeToChangeTo)
/focus
/loadData (dataId) (objectToLoad)