Alfred Workflow that extracts src attribute value from iframe tag
I have this in my clipboard:
<iframe frameborder="0" style="width:100%;height:207px" src="https://www.draw.io/?chrome=0&db=0&od=0#G0B42SiLJg-CebR0o0UFZ1cWExODQ"></iframe>
And I want to get this:
https://www.draw.io/?chrome=0&db=0&od=0#G0B42SiLJg-CebR0o0UFZ1cWExODQ
- Copy some iframe tag into the clipboard
- Open Alfred
- Type isrc
- If all goes well you’ll receive a notification and the src value of the iframe will be on your clipboard ready to be pasted somewhere
You can download it at packal.org
- Download the latest release here
- Extract the zip or tar.gz file
- Inside the extracted folder, double click src-from-iframe.alfredworkflow
When an app gives you an iframe embed code and you just want the URL