>>7928640 (pb)
I don't know about how the uids work. I just know when you make a post, after it posts it just adds it to a list of own posts on your local storage
$(document).on('ajax_after_post', function(e, r) {
var posts = JSON.parse(localStorage.own_posts || '{}');
posts[board] = posts[board] || [];
posts[board].push(r.id);
localStorage.own_posts = JSON.stringify(posts);
});