This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Table Exporter Button | |
// @namespace http://tampermonkey.net/ | |
// @version 1.4 // Updated version number for the new feature | |
// @description Adds a button to export all HTML tables on any domain to CSV, using the hostname as the filename. It extracts all links from the 'Links0' column. | |
// @author FadiZ | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
// --- Core CSV Conversion Logic Function --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
// --- Core CSV Conversion Logic Function --- | |
function exportTablesToCSV() { | |
const tables = document.querySelectorAll('table'); | |
let csvOutput = ''; | |
if (tables.length === 0) { | |
console.warn('⚠️ No HTML tables found on this page.'); | |
return; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Jenkins Data Exporters | |
// @namespace http://tampermonkey.net/ | |
// @version 1.5 | |
// @description Adds buttons to export data from Grafana tables (to JSON). | |
// @author FadiZ | |
// @grant none | |
// @run-at document-idle | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name JSON Exporter Button | |
// @namespace http://tampermonkey.net/ | |
// @version 1.4 // Updated version number for the new feature | |
// @description Adds a button to export all HTML tables on any catonet.works domain to JSON, using the hostname as the filename. It extracts all the versions. | |
// @author FadiZ | |
// ==/UserScript== | |
function extractAndGroupGrafanaData() { | |
// 1. SELECTOR: Use the aggressive selector to find the table container. | |
const tableContainer = document.querySelector('.panel-content') || |