새로운 Greasemonkey 스크립트를위한 메타 데이터에 기본 항목을 추가하고 싶습니다. 당신이 새로운 UserScript를 사용할 때새로운 Greasemonkey 스크립트에서 기본 메타 데이터를 변경하는 방법은 무엇입니까?
현재 ... 메뉴, 당신은 (내가 필요한 최소한의 필드에 채워진, 클립 보드가 비어있는)이 같은 대화 상자를 얻을 :
이이 같은 새 스크립트 제공 :
// ==UserScript==
// @name _Sample default Greasemonkey script
// @namespace _pc
// @include http://stackoverflow.com/questions/*
// @version 1
// ==/UserScript==
을 그러나, 나는 @require
jQuery를 원하고 @author
필드를 모든 기본 스크립트에 추가합니다. 그래서, 기본 코드는이과 같을 것이다 :
// ==UserScript== // @name _Sample default Greasemonkey script // @namespace _pc // @include http://stackoverflow.com/questions/* // @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js // @author me // @version 1 // ==/UserScript==
내가 이걸 어떻게해야합니까
@require http://[link to jquery from google]
작동하지 않고 Greasemonkey가 (¿ files?) 여는 데 문제가 있습니다. Metadata Block 지시어를 어떻게 변경합니까?