Skip to content

Instantly share code, notes, and snippets.

@arajkumar
Last active February 8, 2022 17:50
Show Gist options
  • Save arajkumar/887cf793291c461812f9ea4fee7e2fed to your computer and use it in GitHub Desktop.
Save arajkumar/887cf793291c461812f9ea4fee7e2fed to your computer and use it in GitHub Desktop.
extract-court-stamp.js
javascript:(() => {const doc = document.getElementsByName('loginFrame')[0].contentWindow.document.getElementById('prodPage').contentWindow.document.getElementsByName('actionFrame')[0].contentWindow.document;const e = doc.getElementsByTagName('embed')[0];document.location.replace(`${document.location.href}/../${e.getAttribute('pprintpg')}?vRcptNo=${encodeURIComponent(e.getAttribute('vpar'))}&vUsrID=${e.getAttribute('pusrid')}&vSession=${e.getAttribute('psession')}`)})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment