javascript:(function(){let output="------------\n";const url=window.location.href;const title=document.title;output+=url+"\n";output+=title+"\n";output+="\n";const allTriggerWordsGrouped=[];const triggerWordsHeadingP=Array.from(document.querySelectorAll('p.mantine-Text-root')).find(p=>p.textContent.includes('Trigger Words'));if(triggerWordsHeadingP){const triggerWordsContainer=triggerWordsHeadingP.nextElementSibling;if(triggerWordsContainer&&triggerWordsContainer.matches('div.m_4081bf90.mantine-Group-root')){const triggerWordBadges=triggerWordsContainer.querySelectorAll('div.m_347db0ec.mantine-Badge-root');if(triggerWordBadges.length>0){triggerWordBadges.forEach(badge=>{const wordsContainer=badge.querySelector('span.mantine-Badge-label > div.whitespace-normal');if(wordsContainer){let rawWords=wordsContainer.textContent.trim();let processedGroup=rawWords.replace(/\s*,\s*/g,',');processedGroup=processedGroup.replace(/,+/g,',');if(!processedGroup.endsWith(',')){processedGroup+=','} allTriggerWordsGrouped.push(processedGroup)}})}}} if(allTriggerWordsGrouped.length>0){output+=allTriggerWordsGrouped.join('\n\n')+'\n'} output+="------------";let fileName=title.substring(0,50).trim();fileName=fileName.replace(/[\/\\?%*:|"<>]/g,%27_%27);if(fileName===""){fileName="civitai_info"} fileName+=".txt";const blob=new Blob([output],{type:"text/plain;charset=utf-8"});const a=document.createElement("a");a.href=URL.createObjectURL(blob);a.download=fileName;document.body.appendChild(a);a.click();document.body.removeChild(a);URL.revokeObjectURL(a.href);alert(`情報をファイル「${fileName}」としてダウンロードしました!`)})();