Skip to content

Instantly share code, notes, and snippets.

javascript:var user="";var note="";var s=document.getElementById("shipTo");var d=[],o=[];var market="";if(window.location.hostname.match(/ebay\.com/))market="Ebay";if(window.location.hostname.match(/amazon\.com/))market="Amazon";if(window.location.hostname.match(/newegg\.com/))market="Newegg";if(market=="Ebay"){var orderDate=document.getElementsByClassName("shreskin-edit-sales-record-status-subtitle");orderDate=orderDate?orderDate[0].innerText:"";orderDate=orderDate.match(/[a-z]+-\d+-\d+/i);orderDate=orderDate?new Date(orderDate[0]):"";orderDate=orderDate?orderDate.getMonth()+1+"/"+orderDate.getDate()+"/"+orderDate.getFullYear():"";o.push(document.getElementById("buyercontactname").value);o.push("");o.push(document.getElementById("buyeraddress1").value);o.push(document.getElementById("buyeraddress2").value);o.push(document.getElementById("buyercity").value);o.push(document.getElementById("buyerstateprovince").value);o.push(document.getElementById("buyerzip").value);o.push(document.getElementById("dayphone1").
javascript:function parseComputers(){var computers=[];var propertyList=["listPrice","price","stock","series","Processor","Memory","Hard Drive","Graphics","Operating System","Battery","Warranty"];var elements=document.querySelectorAll(".facetedResults-item");for(var i=0;i<elements.length;i++){var comp=parseComputer(elements[i]);if(!comp)continue;computers.push(comp);for(var key in comp){if(propertyList.indexOf(key)==-1)propertyList.push(key)}}computers=computers.map(computerToRow.bind(null,propertyList));computers.unshift(propertyList);computers=computers.map(function(r){return r.join("\t")}).join("\n");clipboardCopy(computers);return computers}function parseComputer(elem){var computer={};var seriesCondition=elem.querySelector(".facetedResults-header");seriesCondition=seriesCondition?seriesCondition.innerText:"";seriesCondition=seriesCondition.match(/(.*?)\s*-\s*([^-]*?)\s*$/);if(seriesCondition){computer.series=seriesCondition[1];computer.condition=seriesCondition[2]}var parts=elem.getElementsByTagName("dl");
javascript:function parseComputers(){var computers=[];var propertyList=["listPrice","price","stock","series","Processor","Memory","Hard Drive","Graphics","Operating System","Battery","Warranty"];var elements=document.querySelectorAll(".facetedResults-item");for(var i=0;i<elements.length;i++){var comp=parseComputer(elements[i]);if(!comp)continue;computers.push(comp);for(var key in comp){if(propertyList.indexOf(key)==-1)propertyList.push(key)}}computers=computers.map(computerToRow.bind(null,propertyList));computers.unshift(propertyList);computers=computers.map(function(r){return r.join("\t")}).join("\n");clipboardCopy(computers);clickNextPage();return computers}function clickNextPage(){var btn=document.querySelector("#results-area > div.paginationBar.top.clearfix > div.right > div > a:nth-child(8)");btn.click()}function parseComputer(elem){var computer={};var seriesCondition=elem.querySelector(".facetedResults-header");seriesCondition=seriesCondition?seriesCondition.innerText:"";seriesCondition=seriesCondition.
javascript:function parseComputers(){var computers=[];var propertyList=["listPrice","price","stock","series","Processor","Memory","Hard Drive","Graphics","Operating System","Battery","Warranty"];var elements=document.querySelectorAll(".facetedResults-item");for(var i=0;i<elements.length;i++){var comp=parseComputer(elements[i]);if(!comp)continue;computers.push(comp);for(var key in comp){if(propertyList.indexOf(key)==-1)propertyList.push(key)}}computers=computers.map(computerToRow.bind(null,propertyList));computers=computers.map(function(r){return r.join("\t")}).join("\n");clipboardCopy(computers);clickNextPage();return computers}function clickNextPage(){var btns=document.querySelector("#results-area > div.paginationBar.top.clearfix > div.right > div");var btns=btns.querySelectorAll("a");for(var i=0;i<btns.length;i++){var btn=btns[i];if(btn.innerText=="Next Page")btn.click();console.log(btn.innerText)}}function parseComputer(elem){var computer={};var seriesCondition=elem.querySelector(".facetedResults-header");
@aviynw
aviynw / papercusp-device-binding-xU-hXBvp.json
Created June 3, 2026 18:22
Papercusp device binding attestation
{
"version": 1,
"device_pubkey": "xU+hXBvpxW7QHQQUj76872RSzBNEZkftfe8aKE0Cmyg=",
"device_label": "unnamed-device",
"github_user_id": 1567022,
"github_login": "aviynw",
"created_at": 1780510961744,
"signature_by_device": "Z5HcHvwm9szIWZk1zY0spfuuvmjx/vroCdpt9rYFnkKaLZIp27+2tb9Zs/tayrURDB09IuY2rlgYB4UG4ZfkBA=="
}
@aviynw
aviynw / papercusp-device-binding-YIrI20o_.json
Created June 3, 2026 22:04
Papercusp device binding attestation
{
"version": 1,
"device_pubkey": "YIrI20o/1vSKJZwsX6AZQXjryZja/UWEO2NTcpsf/V4=",
"device_label": "unnamed-device",
"github_user_id": 1567022,
"github_login": "aviynw",
"created_at": 1780524273366,
"signature_by_device": "jQ3BuLKs0EOw1teTL5i4jpVu1rE2w1ObvNk8AEpCPXwrALbXfW9/NWS9WdL8fzMxqVIGjJuik2TjAsMaUzrsCQ=="
}
@aviynw
aviynw / papercusp-device-binding-KDwwDIRq.json
Created June 3, 2026 23:28
Papercusp device binding attestation
{
"version": 1,
"device_pubkey": "KDwwDIRqR2UnHrOi/jxaLcwMXnnsOPacBs1ewLYbVvg=",
"device_label": "unnamed-device",
"github_user_id": 1567022,
"github_login": "aviynw",
"created_at": 1780529321401,
"signature_by_device": "RQSQUFJ07X3U/uEG4mPvzHu8ssiCK579V31spjownTRSckPfqmyho3w0pda/VY4PNaSDEo+eismOq7A5+ybVBw=="
}
@aviynw
aviynw / papercusp-device-binding-c27QjF-O.json
Created June 5, 2026 14:46
Papercusp device binding attestation
{
"version": 1,
"device_pubkey": "c27QjF+OoByl6AJGobaHvy7Qhk/Ug19RlT+FiYlS2ds=",
"device_label": "unnamed-device",
"github_user_id": 1567022,
"github_login": "aviynw",
"created_at": 1780670787568,
"signature_by_device": "VNNdG4jiL+FyCQam9cxFvIq0q1jFztwkiI3WLdcdXZNUzby87/502D8XpbmtvhMhl9lPMdE+yo1m+x3JNFBgCA=="
}
@aviynw
aviynw / papercusp-device-binding-I5ETa6Pl.json
Created June 5, 2026 14:59
Papercusp device binding attestation
{
"version": 1,
"device_pubkey": "I5ETa6PlMfhtxHnNAx1jQYPLQ6W3fgTbRtJsqQs1BlQ=",
"device_label": "unnamed-device",
"github_user_id": 1567022,
"github_login": "aviynw",
"created_at": 1780671548269,
"signature_by_device": "O2f/+qWhr/bLVyAdUQH6fp+6zjUDWNMxbCrDz+s3jJ7jFU9T3xnf5SySbI2OUfCFVdMzYL2QlORT52kKgRCQAQ=="
}
@aviynw
aviynw / papercusp-device-binding-zWkotgKr.json
Created June 5, 2026 17:14
Papercusp device binding attestation
{
"version": 1,
"device_pubkey": "zWkotgKrA7Q4hH1mF8sAiFOPiGPv9zi1pQiECxlbGHc=",
"device_label": "unnamed-device",
"github_user_id": 1567022,
"github_login": "aviynw",
"created_at": 1780679681308,
"signature_by_device": "NoFUXmquG/ht+i0H/W/Y3R/FcxfsL5hFFP5C5MxVmUMseHetg/Bag9mjEa81QOrmeQ1jt85oNXwTBYbkBnwaAw=="
}