Kresimiria List of Senators in Kresimiria

List of Senators in Kresimiria

This is a tool produced by YakaSys, in cooperation with the Federal Archive, to allow citizen access to the Senatorial Archives. You may click a Senator’s name to visit their page, or click their row to view all of their votes.

Showing all records
Name Party District Elected Retired Tenure Sex Total Votes Yes %
\n\n" // Grabs raw markdown, bypassing rendered HTML! }; // 2. Construct the Front Matter const frontMatterLines = [ '---', 'layout: post', `title: "${articleData.title}"`, `categories: ${articleData.categories ? articleData.categories.join(", ") : ""}` ]; if (articleData.infobox) { frontMatterLines.push('infobox:'); if (articleData.infobox.title) frontMatterLines.push(` title: "${articleData.infobox.title}"`); if (articleData.infobox.image) frontMatterLines.push(` image: "${articleData.infobox.image}"`); if (articleData.infobox.caption) frontMatterLines.push(` caption: "${articleData.infobox.caption}"`); if (articleData.infobox.data && articleData.infobox.data.length > 0) { frontMatterLines.push(' data:'); articleData.infobox.data.forEach(item => { frontMatterLines.push(` - label: "${item.label}"`); frontMatterLines.push(` value: "${item.value}"`); }); } } frontMatterLines.push('---', ''); // 3. Construct the Body (Using raw markdown, no DOM scraping) const bodyLines = [ `# ${articleData.title}`, '', articleData.content.trim() ]; const textToCopy = frontMatterLines.concat(bodyLines).join('\n'); // 4. Handle the Clipboard event button.addEventListener('click', async () => { try { await navigator.clipboard.writeText(textToCopy); button.textContent = '✓'; setTimeout(() => { button.textContent = '📋'; }, 1200); // Fixed reset icon } catch (error) { button.textContent = '!'; setTimeout(() => { button.textContent = '📋'; }, 1200); // Fixed reset icon } }); })();