Sending Text Cross Domain By Bookmarklet

前端 未结 3 566
遥遥无期
遥遥无期 2020-12-15 14:11

I need a user to navigate to a certain page that has a certain div full of useful text. Then click my bookmarklet and send the text in that div back to my server, which is

3条回答
  •  粉色の甜心
    2020-12-15 14:52

    Generate a form (with DOM) and POST the data (you might want to target an iframe, but it will be fire and forget).

提交回复
热议问题