commit e5bf2bc9267c1edf5f2183406bd16a583e3ba3ba
parent ed770da738a0325e09049766135babc586de3643
Author: tongong <tongong@gmx.net>
Date: Sun, 29 Nov 2020 09:50:57 +0100
added markdown link references
Diffstat:
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
@@ -10,21 +10,18 @@ any new tools or apis.
But running simple tasks from the browser console has one big downside: All
activities of your script have to take place on that specific website instance.
-**rama.js** tries to change this. It works by opening an
-[iframe](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe) and
+**rama.js** tries to change this. It works by opening an [iframe][] and
providing a simple api to control it. So you can for example automate clicking
on a link and the script will keep running on the new page.
-However due to the
-[same-origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy)
-all actions are still limited to pages on that specific domain. I think you can
-turn that off in most browsers, but it's generally a very bad idea as it opens
-security vulnerabilities.
+However due to the [same-origin policy][] all actions are still limited to pages
+on that specific domain. I think you can turn that off in most browsers, but
+it's generally a very bad idea as it opens security vulnerabilities.
### name
rama.js is not named after the Hindu God
-[Rama](https://en.wikipedia.org/wiki/Rama) but after the Swedish verb _att rama
+[Rama][rama-god] but after the Swedish verb _att rama
in_ = _to frame_.
## installation
@@ -82,8 +79,7 @@ client.w.history.back();
#### rframe<nolink>.name or rframe<nolink>.id (read-only)
-There is a good description for this on
-[MDN web docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe):
+There is a good description for this on [MDN web docs][iframe]:
> A targetable name for the embedded browsing context. This can be used in the
> target attribute of the `<a>`, `<form>`, or `<base>` elements; the formtarget
@@ -195,3 +191,7 @@ I think, at the moment this is the only project with this main idea. But one can
never be sure that there isn't some other similar project hidden somewhere on
the internet. So if you built or found one please write me a mail, as I'm very
curious about other ideas.
+
+[iframe]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
+[same-origin policy]: https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy
+[rama-god]: https://en.wikipedia.org/wiki/Rama