In this example, a Single HTML source is used for various injections.

?

?

?

Inject and scroll demos

?

?

Inject history example

Inject some text and record the history

here goes the injection

Inject autosubmit with form using GET and POST

here goes the injection

Call something without injecting anything

You need to open your network inspector to actually validate that the request is sent. It works if you see a call to backend-action.html in the list of requested items.

Trigger something, but don't inject results

Inject nothing into the target, effectively destroying whatever is in there.

The source is nothing and the target is given, so when triggering the injection, the target is removed.

I will be killed once you click the link below

Do something, but don't replace any content, just kill the target.