{"slug":"code-unloader","name":"Code Unloader","description":"Per-page JavaScript & CSS asset management. Surgically dequeue scripts and styles on any page using exact, wildcard, or regex URL rules.","author":"Dalibor","active_installs":10,"version":"1.4.10","wp_org_url":"https://wordpress.org/plugins/code-unloader/","is_closed":false,"cleanup":{"has_uninstall_hook":true,"drops_tables_on_uninstall":true,"deletes_options_on_uninstall":true},"tables":[{"table_name":"cu_group_items","full_table_name":"wp_cu_group_items","description":"Stores cu group items data created by this plugin.","detection_method":"static","confidence":"high","columns":[{"name":"id","type":"INT UNSIGNED","nullable":false,"primary_key":true},{"name":"group_id","type":"INT UNSIGNED","nullable":false,"primary_key":false},{"name":"url_pattern","type":"VARCHAR(2048)","nullable":false,"primary_key":false},{"name":"match_type","type":"ENUM('exact','wildcard','regex')","nullable":false,"primary_key":false},{"name":"asset_handle","type":"VARCHAR(255)","nullable":false,"primary_key":false},{"name":"asset_type","type":"ENUM('js','css','inline_js','inline_css')","nullable":false,"primary_key":false},{"name":"source_label","type":"VARCHAR(255)","nullable":false,"primary_key":false},{"name":"device_type","type":"ENUM('all','desktop','mobile')","nullable":false,"primary_key":false},{"name":"condition_type","type":"VARCHAR(64)","nullable":true,"primary_key":false},{"name":"condition_value","type":"VARCHAR(255)","nullable":true,"primary_key":false},{"name":"condition_invert","type":"TINYINT(1)","nullable":false,"primary_key":false},{"name":"label","type":"VARCHAR(255)","nullable":true,"primary_key":false},{"name":"created_by","type":"BIGINT UNSIGNED","nullable":true,"primary_key":false},{"name":"created_at","type":"DATETIME","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE wp_cu_group_items ( id INT UNSIGNED NOT NULL AUTO_INCREMENT, group_id INT UNSIGNED NOT NULL, url_pattern VARCHAR(2048) NOT NULL, match_type ENUM('exact','wildcard','regex') NOT NULL DEFAULT 'exact', asset_handle VARCHAR(255) NOT NULL, asset_type ENUM('js','css','inline_js','inline_css') NOT NULL, source_label VARCHAR(255) NOT NULL DEFAULT '', device_type ENUM('all','desktop','mobile') NOT NULL DEFAULT 'all', condition_type VARCHAR(64) DEFAULT NULL, condition_value VARCHAR(255) DEFAULT NULL, condition_invert TINYINT(1) NOT NULL DEFAULT 0, label VARCHAR(255) DEFAULT NULL, created_by BIGINT UNSIGNED DEFAULT NULL, created_at DATETIME NOT NULL, PRIMARY KEY (id), KEY idx_group_id (group_id), UNIQUE KEY uniq_group_item (group_id, url_pattern(191), match_type, asset_handle(191), asset_type, device_type, condition_type(64), condition_value(191), condition_invert) ) ENGINE"},{"table_name":"cu_groups","full_table_name":"wp_cu_groups","description":"Stores cu groups data created by this plugin.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"INT UNSIGNED","nullable":false,"primary_key":true},{"name":"name","type":"VARCHAR(255)","nullable":false,"primary_key":false},{"name":"description","type":"VARCHAR(1000)","nullable":true,"primary_key":false},{"name":"enabled","type":"TINYINT(1)","nullable":false,"primary_key":false},{"name":"created_at","type":"DATETIME","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE wp_cu_groups ( id INT UNSIGNED NOT NULL AUTO_INCREMENT, name VARCHAR(255) NOT NULL, description VARCHAR(1000) DEFAULT NULL, enabled TINYINT(1) NOT NULL DEFAULT 1, created_at DATETIME NOT NULL, PRIMARY KEY (id), KEY idx_enabled (enabled) ) ENGINE"},{"table_name":"cu_log","full_table_name":"wp_cu_log","description":"A logging table that records activity, events, or audit history.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"INT UNSIGNED","nullable":false,"primary_key":true},{"name":"user_id","type":"BIGINT UNSIGNED","nullable":false,"primary_key":false},{"name":"action","type":"ENUM('create','delete','group_toggle','group_activate','group_deactivate','killswitch')","nullable":false,"primary_key":false},{"name":"rule_id","type":"INT UNSIGNED","nullable":true,"primary_key":false},{"name":"snapshot","type":"TEXT","nullable":true,"primary_key":false},{"name":"created_at","type":"DATETIME","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE wp_cu_log ( id INT UNSIGNED NOT NULL AUTO_INCREMENT, user_id BIGINT UNSIGNED NOT NULL DEFAULT 0, action ENUM('create','delete','group_toggle','group_activate','group_deactivate','killswitch') NOT NULL, rule_id INT UNSIGNED DEFAULT NULL, snapshot TEXT DEFAULT NULL, created_at DATETIME NOT NULL, PRIMARY KEY (id), KEY idx_action (action), KEY idx_created (created_at) ) ENGINE"},{"table_name":"cu_rules","full_table_name":"wp_cu_rules","description":"Stores cu rules data created by this plugin.","detection_method":"static","confidence":"high","columns":[{"name":"id","type":"INT UNSIGNED","nullable":false,"primary_key":true},{"name":"url_pattern","type":"VARCHAR(2048)","nullable":false,"primary_key":false},{"name":"match_type","type":"ENUM('exact','wildcard','regex')","nullable":false,"primary_key":false},{"name":"asset_handle","type":"VARCHAR(255)","nullable":false,"primary_key":false},{"name":"asset_type","type":"ENUM('js','css','inline_js','inline_css')","nullable":false,"primary_key":false},{"name":"source_label","type":"VARCHAR(255)","nullable":false,"primary_key":false},{"name":"device_type","type":"ENUM('all','desktop','mobile')","nullable":false,"primary_key":false},{"name":"condition_type","type":"VARCHAR(64)","nullable":true,"primary_key":false},{"name":"condition_value","type":"VARCHAR(255)","nullable":true,"primary_key":false},{"name":"condition_invert","type":"TINYINT(1)","nullable":false,"primary_key":false},{"name":"group_id","type":"INT UNSIGNED","nullable":true,"primary_key":false},{"name":"group_item_id","type":"INT UNSIGNED","nullable":true,"primary_key":false},{"name":"label","type":"VARCHAR(255)","nullable":true,"primary_key":false},{"name":"created_by","type":"BIGINT UNSIGNED","nullable":true,"primary_key":false},{"name":"created_at","type":"DATETIME","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE wp_cu_rules ( id INT UNSIGNED NOT NULL AUTO_INCREMENT, url_pattern VARCHAR(2048) NOT NULL, match_type ENUM('exact','wildcard','regex') NOT NULL DEFAULT 'exact', asset_handle VARCHAR(255) NOT NULL, asset_type ENUM('js','css','inline_js','inline_css') NOT NULL, source_label VARCHAR(255) NOT NULL DEFAULT '', device_type ENUM('all','desktop','mobile') NOT NULL DEFAULT 'all', condition_type VARCHAR(64) DEFAULT NULL, condition_value VARCHAR(255) DEFAULT NULL, condition_invert TINYINT(1) NOT NULL DEFAULT 0, group_id INT UNSIGNED DEFAULT NULL, group_item_id INT UNSIGNED DEFAULT NULL, label VARCHAR(255) DEFAULT NULL, created_by BIGINT UNSIGNED DEFAULT NULL, created_at DATETIME NOT NULL, PRIMARY KEY (id), KEY idx_url_pattern (url_pattern(191)), UNIQUE KEY uniq_rule (url_pattern(191), match_type, asset_handle(191), asset_type, device_type, group_id) ) ENGINE"}],"table_count":4}