Skip to content

Instantly share code, notes, and snippets.

@ivan
Last active March 25, 2024 18:44
Show Gist options
  • Save ivan/0efa1b7625c96ad6da3994c9a62d8e2c to your computer and use it in GitHub Desktop.
Save ivan/0efa1b7625c96ad6da3994c9a62d8e2c to your computer and use it in GitHub Desktop.
Improve column layout in qbittorrent webui
for (const [k, v] of Object.entries(JSON.parse('{"sorted_column_torrentFilesTableDiv":"name","column_uploaded_visible_torrentsTableDiv":"1","column_save_path_visible_torrentsTableDiv":"1","column_last_activity_visible_torrentsTableDiv":"1","column_added_on_width_torrentsTableDiv":"143","column_total_size_width_torrentsTableDiv":"66","column_num_seeds_width_torrentsTableDiv":"54","column_tracker_width_torrentsTableDiv":"228","selected_filter":"all","column_save_path_width_torrentsTableDiv":"590","column_port_width_torrentPeersTableDiv":"57","reverse_sort_torrentFilesTableDiv":"0","column_relevance_width_torrentPeersTableDiv":"73","column_size_width_torrentsTableDiv":"68","reverse_sort_torrentsTableDiv":"1","column_num_leechs_width_torrentsTableDiv":"57","sorted_column_torrentsTableDiv":"upspeed","columns_order_torrentsTableDiv":"priority,state_icon,name,size,total_size,progress,status,num_seeds,num_leechs,dlspeed,upspeed,uploaded,eta,ratio,added_on,last_activity,category,tags,completion_on,tracker,save_path,dl_limit,up_limit,downloaded,downloaded_session,uploaded_session,amount_left,time_active,completed,max_ratio,seen_complete,availability","selected_tracker":"1","selected_tag":"1","column_tracker_visible_torrentsTableDiv":"1","column_upspeed_width_torrentsTableDiv":"64","column_total_size_visible_torrentsTableDiv":"1","column_ratio_visible_torrentsTableDiv":"0","filters_width":"145","column_status_width_torrentsTableDiv":"79","column_dl_speed_width_torrentPeersTableDiv":"74","column_files_width_torrentPeersTableDiv":"436","column_up_speed_width_torrentPeersTableDiv":"69","column_last_activity_width_torrentsTableDiv":"103","column_progress_width_torrentsTableDiv":"63","column_name_width_torrentsTableDiv":"498","properties_height_rel":"0.5177777777777778","column_ip_width_torrentPeersTableDiv":"224","column_connection_width_torrentPeersTableDiv":"59","column_progress_width_torrentPeersTableDiv":"68","column_uploaded_width_torrentPeersTableDiv":"84","column_uploaded_width_torrentsTableDiv":"79","column_flags_width_torrentPeersTableDiv":"62","column_dlspeed_width_torrentsTableDiv":"64","column_downloaded_width_torrentPeersTableDiv":"96","selected_tab":"PropPeersLink","column_eta_width_torrentsTableDiv":"78"}'))) {
localStorage.setItem(k, v);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment