Help us understand the problem. What is going on with this article?

Java ScriptをブラウザのURL上から行う方法。

More than 1 year has passed since last update.

JavaScript疑似プロトコル

別名:JavaScript pseudo protocol / javascript疑似スキーム / JavaScript URI

コード

このコードをURLに貼り付けるとアラート画面がブラウザから出てくる。

javascript:alert('test');

使い方

そもそも「javascript:」とは、疑似プロトコルの一種とのこと。
これに始まる文字列がアドレスバーに入力されると、ブラウザがそれをJavaScriptとして解釈し実行する。(今回はalert('test')の部分。
これを応用したのがブックマークレットである。

上手くいけば申し込みフォームの自動入力はやってくれると思う。多分。

MemorandumAdLaborem
(自分のための)仕事のための覚書 更新したり更新しなかったり
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした