Includes : Persist BETA

Persist Function

< Includes : Persist BETA 피드백으로 돌아가기

질문/댓글

§
게시: 2015-04-07

How to use

Sorry I'm a noob but I cannot figure out how to make this script work. So I create a new user script in Greasemonkey and use the // @require line to include this script in my own, then I try making a new paste with the suggested code:

Persist.write({
service : "PASTEBIN",
value : "...",
data : {
api_dev_key : "...",
api_user_key : "...",
},
onload : function (result) {
alert("http://pastebin.com/" + result.key);
}
});

I replace the three dots in the "value" field with what I want to be in the paste, then I put my dev key and user key into their appropriate fields. I then run the script on a page and nothing happens. The console just produces a message saying "missing } after property list"

답글 게시

답글을 게시하려면 로그인하세요.