Skip to content

Instantly share code, notes, and snippets.

bitjjj bitjjj

Block or report user

Report or block bitjjj

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
bitjjj / js
Last active Jan 25, 2019
View js
var groupId = '10658', targetUid = '174827503', page = 0, totalPage = 50;
function queryUid() {
$.get('' + groupId + '/discussion?start=' + page, function(data){
$(data).find('.olt tbody tr:not(.th)').each(function(){
var $title = $(this).find('td a').eq(0),
uidStr = $(this).find('td a').eq(1).attr('href'),
uid = uidStr.slice(uidStr.lastIndexOf('people/')+7, -1);
if (uid === targetUid){
console.log($title.html(), $title.attr('href'));
You can’t perform that action at this time.