javascript - Sending Text Cross Domain By Bookmarklet -
I need to navigate to a certain page, in which a fixed device is full of useful text. Then click on my bookmarklet and send the text back into my server to my server, which is different from the current domain, I successfully added jQuery and selected text on bookmarklet click. Now I need to find a way to send a cross domain to that text on my server I tried JSONP with jQuery and my text is too long for the URL. My second idea was to open a new window and load a page from my domain, and then in some way enter the selected window in a new window, after which the user can submit and post that data on my server. Cross-site did not work for reasons. Does anyone have any experience with this or for ideas? Thank you.
Create a form (with dom) and post data (you can target an iframe , But it will fire and forget).
Comments
Post a Comment