Block_Obj

屏蔽内容对象库

Script này sẽ không được không được cài đặt trực tiếp. Nó là một thư viện cho các script khác để bao gồm các chỉ thị meta // @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.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

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.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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

Tác giả
pana
Phiên bản
3.0.3
Đã tạo
22-07-2020
Đã cập nhật
25-08-2021
Kích thước
40 KB
Giấy phép
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

获取配置内容对象。