fetlife_all_members (ASL+role+status filter)

greasemonkey script to filter fetlife members when it's possible. Search by name, gender, role, age, location or status.

< Feedback on fetlife_all_members (ASL+role+status filter)

Review: Good - script works

§
Posted: 2016-03-16

Location search

Hey man, great script! Is there any way to search for multiple locations at once?

bewamAuthor
§
Posted: 2016-05-07

Sorry for the late reply, I don't come here so often, and I didn't receive any notification.

Thanks.
Actually, no. No way to search multiple location at once.

A quick hack maybe possible, around 605, replace function location by:


function location() {
// LocContains filter changed ?
if(filters.LocContains[0]) {
// delimiter, change it to your wish delim can be almost any ponctuation, or sign, avoid quotes.
var delimiter = ';';
for(var splitted of filters.LocContains[1].toLowerCase().split(delimiter)){
// show member if the part of the string you splitted matches the member location (c[4])
setF(c[4].toLowerCase().indexOf(splitted) < 0);
}
}
}

not tested at all

Use semicolon to specify a new location. read comments fo more info (// lines). I won't include it for now.
Preferably use with an editor that highlights code.

Happy and lucky filtering !

Post reply

Sign in to post a reply.