I'm totally new to Greasemonkey, javascript, in fact all the UI stuff.
Requirement: Userscript is run by GS once after the page loads. However, I need the same script to be run multiple times without refresh
Use case: For ex, Amazon.com search happens using Ajax. I need to embed a custom element in the search results.
I need to inject my content to the search-results-div along with the results every time a search happens in the same page (there's no page refresh)
My current script runs only with the page refresh.
I hope above explanation is clear. Please help.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…