Block_Obj

屏蔽内容对象库

Ovu skriptu ne treba izravno instalirati. To je biblioteka za druge skripte koje se uključuju u meta direktivu // @require https://update.greasyfork.org/scripts/407543/963893/Block_Obj.js

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!)

Autor
pana
Verzija
3.0.3
Stvoreno
22.07.2020.
Ažurirano
25.08.2021.
Size
36,5 KB
Licenza
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

获取配置内容对象。