initial commit
[anchor2post.git] / README.md
1 # anchor2post
2
3 (deutsch weiter unten / German text below)
4
5 USAGE:
6 provide the key-value pairs as anchor to this html-script
7 use anchor2posturl=url to specify the url to post the query to
8 use anchor2postfavicon=path/to/favicon to specify a favicon
9 example: anchor2post.html#anchor2posturl=https://ixquick.de/do/search&anchor2postfavicon=https://eu.ixquick.com/favicon.ico&query=searchterm
10
11 advantages/ disadvantages:
12 - there is cookie support to determine whether to auto submit the form or not. this is useful when you go back to this site (via browser history) because then you most likely do not want to submit the form again. if there is no cookie support a very simple test using the history length will be done
13 - there is favicon support to have a nice icon when this is saved as a bookmark in the browser. it is not working very well since the favicon is added dynamically. this could result in an empty icon after a browser restart.
14 - the server should not see the query since it is only an anchor and so not send to the server, but you need javascript enabled for this html-script to work and thus trust the server that delivers the html
15 - for comfort reasons you might also need cookies enabled and perhaps from the value in the cookie the anchor can be recalculated.
16 - there might be problems if there is a # in the query string
17
18 == Deutsch / German ==
19
20 steht noch hier: (https://www.fpunktk.de/project-anchor2post.html)