Block_Obj

屏蔽内容对象库

Ezt a szkriptet nem ajánlott közvetlenül telepíteni. Ez egy könyvtár más szkriptek számára, amik tartalmazzák a // @require https://update.greasyfork.org/scripts/407543/963893/Block_Obj.js hivatkozást.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Fejlesztő
pana
Verzió
3.0.3
Létrehozva
2020.07.22.
Frissítve
2021.08.25.
Size
40 KB
Licensz
GPL-3.0+

Block_Obj

屏蔽内容对象库

Class

Block_Obj

constructor(configKey: String, regConversion: Objcet[])

构造函数。

  • configKey: 配置在存储中的键名
  • regConversion: 可选,可填入正则表达式的数组的键名

init(initialization: Object)

初始化方法。

initialization = {
  id: String,  // ID 值
  menu: String,  // 菜单名称
  style: String,  // 自定义的额外样式内容
  field: Object[],  // 控制面板上的字段内容
  events: {
    save: (config: Object):Void,  // 保存事件回调函数
    change: (config: Object):Void,  // 变动事件回调函数
  }
}

getConfig():Objcet

获取配置内容对象。