1

GM 1.5 で jQuery を使用していますが、.get を使用できないことがわかりました。

http://code.jquery.com/jquery.jsが必要です

私のコードはこれだけです

this.$ = this.jQuery = jQuery.noConflict(true);

$(document).ready(function () {
    $.get('index.php',function () {
        console.log('yay');
        console.log($(this).html());

    });
});

以前のバージョンでこれを行うことができたと確信していますが、これは行われたサンドボックスの変更と関係がありますか?

4

1 に答える 1