Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks, I was puzzling over whether I was missing something, since the callback itself can run arbitrary code.

I actually use this technique with BOSS to store the original search query parameters since they're not always possible to recover from the results object, eg:

var callback = 'YBOSS.setLastQuery(\''+quotedQuery+'\');YBOSS.retrieved';



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: