Block_Obj

屏蔽内容对象库

لا ينبغي أن لا يتم تثبيت هذا السكريت مباشرة. هو مكتبة لسكبتات لتشمل مع التوجيه الفوقية // @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 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.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

المؤلف
pana
الإصدار
3.0.3
تم إنشاؤه
22-07-2020
تم تحديثه
25-08-2021
الحجم
36.5 KB
الترخيص
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

获取配置内容对象。