{"id":25799980,"url":"https://github.com/redmooner/racktables-interiortabdeleter-guide","last_synced_at":"2026-06-17T10:31:47.395Z","repository":{"id":45317024,"uuid":"513517932","full_name":"RedMooner/RackTables-InteriorTabDeleter-Guide","owner":"RedMooner","description":"Delete interior tab","archived":false,"fork":false,"pushed_at":"2022-07-14T04:03:19.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T20:38:29.398Z","etag":null,"topics":["delete","javascript","js","rackta","racktables","tabs"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RedMooner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-13T12:45:10.000Z","updated_at":"2025-01-24T03:22:55.000Z","dependencies_parsed_at":"2022-07-17T02:16:33.071Z","dependency_job_id":null,"html_url":"https://github.com/RedMooner/RackTables-InteriorTabDeleter-Guide","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RedMooner/RackTables-InteriorTabDeleter-Guide","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMooner%2FRackTables-InteriorTabDeleter-Guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMooner%2FRackTables-InteriorTabDeleter-Guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMooner%2FRackTables-InteriorTabDeleter-Guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMooner%2FRackTables-InteriorTabDeleter-Guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedMooner","download_url":"https://codeload.github.com/RedMooner/RackTables-InteriorTabDeleter-Guide/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMooner%2FRackTables-InteriorTabDeleter-Guide/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34445179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["delete","javascript","js","rackta","racktables","tabs"],"created_at":"2025-02-27T15:58:08.611Z","updated_at":"2026-06-17T10:31:47.378Z","avatar_url":"https://github.com/RedMooner.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## deleting a tab \"Interior\" from rack\nIf you want to delete a tab, you can use this script\n## Usage\n\nCopy this code:\n\t\n\n   \n```javascript\n\n    try {\n        var container = $('.rack').children('tbody');\n        var first_value = $(container).children('tr:nth(0)');\n        $(first_value).children('th:nth(2)').remove();\n        var last_value = $(container).children('tr:last');\n        $(last_value).children('th:nth(2)').remove();\n        var current = container[0].childNodes;\n        $(container).children().each(function () {\n            $(this).children('td:nth(1)').remove();\n        });\n    }\n    catch (err) {\n        console.log(err);\n    }\n```\n\n\nNow you can paste it into your console, for a one-time use\n![enter image description here](console.png)\n![enter image description here](rack.png)\n\n\n#### if you want to constantly and automatically use this script, then you will inevitably do the following:\n1. \u003e **connect** via ssh to your server, or if it is local then just go to the folder with the site.\n2. \u003e or you do not have a** local server**, then find the directory where racktables was installed\n3.  \u003e in the js folder of the wwwroot directory, find the racktables.js script\n4.  \u003e Paste the code below at the end of the file and save it\n5.  \u003e **Ready**\n\n### code to paste:\n```javascript\nwindow.onload = function () {\n    try {\n        var container = $('.rack').children('tbody');\n        var first_value = $(container).children('tr:nth(0)');\n        $(first_value).children('th:nth(2)').remove();\n        var last_value = $(container).children('tr:last');\n        $(last_value).children('th:nth(2)').remove();\n        var current = container[0].childNodes;\n        $(container).children().each(function () {\n            $(this).children('td:nth(1)').remove();\n        });\n    }\n    catch (err) {\n        console.log(err);\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredmooner%2Fracktables-interiortabdeleter-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredmooner%2Fracktables-interiortabdeleter-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredmooner%2Fracktables-interiortabdeleter-guide/lists"}