w35l3y / userscripts

Public userscripts to be used with Greasemonkey
http://gm.wesley.eti.br
GNU General Public License v3.0
44 stars 22 forks source link

Updating Paste with Persist #19

Closed jacobkossman closed 9 years ago

jacobkossman commented 9 years ago

Hey w35l3y,

first of all thanks again for all the amazing scripts. :+1: i'm using your persist include to create pastebin adblock lists and I was wondering how to edit them using it? I see this: http://stackoverflow.com/questions/15313063/how-to-paste-text-in-pastebin-using-javascript question and see that I should be using pastebin2 but how do i choose which one I'm editing?

basically i want to create using pastebin and then edit it if it exists (based on name possibly?) using pastebin2.

thanks!

w35l3y commented 9 years ago

With the "key" parameter. It's been awhile. Hopefully it will still work :) I currently can't check whether some of my scripts still work.

On Fri, Nov 28, 2014 at 9:24 PM, jkingaround notifications@github.com wrote:

Hey w35l3y,

first of all thanks again for all the amazing scripts. [image: :+1:] i'm using your persist include to create pastebin adblock lists and I was wondering how to edit them using it? I see this: http://stackoverflow.com/questions/15313063/how-to-paste-text-in-pastebin-using-javascript question and see that I should be using pastebin2 but how do i choose which one I'm editing?

thanks!

— Reply to this email directly or view it on GitHub https://github.com/w35l3y/userscripts/issues/19.

jacobkossman commented 9 years ago

EDIT: Figured out how to get it to post as public (but it shows it as spam but not the end of the world). Any idea how to get it to edit? Thanks!

w35l3y commented 9 years ago

I will try to test it in the beginning of next year. You are welcome to fix any bug that you have found and request pull. This a collaborative repository. Otherwise, please consider reviewing the guidelines for contributing.

Thanks Em 28/11/2014 23:00, "jkingaround" notifications@github.com escreveu:

So.. I can’t get it to read a paste. Haven’t tested editing yet. Also, I can write new pastes but I can’t write them as public (as non-pro user) you have a limited number of unlisted/private ones but unlimited public. if i give it the param ‘api_paste_private’ it won’t write at all.

— Reply to this email directly or view it on GitHub https://github.com/w35l3y/userscripts/issues/19#issuecomment-64938425.