Last active
December 15, 2025 11:47
-
-
Save victorhenrion/4c2c8a0508682f46aa5d3453eec5d166 to your computer and use it in GitHub Desktop.
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
| javascript:(async()=>{const url=window.location.href.split('?')[0];const name=document.querySelector('h1')?.innerText?.trim()||'';const expSection=document.querySelector('[id*="experience"]')?.closest('section');let company='',position='';if(expSection){const firstExp=expSection.querySelector('li');if(firstExp){const spans=firstExp.querySelectorAll('span[aria-hidden="true"]');if(spans.length>=2){position=spans[0]?.innerText?.trim()||'';company=spans[1]?.innerText?.trim()||'';}}}if(!company){const headline=document.querySelector('.text-body-medium')?.innerText?.trim()||'';const atMatch=headline.match(/(?:at|@|chez)\s+(.+)/i);if(atMatch)company=atMatch[1].trim();}const row=[url,name,company,position].join('\t');try{await navigator.clipboard.writeText(row);}catch(e){prompt('Copy this:',row);}})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment