Sugar Baby?
Masaj
Shemales

Author Topic: adultwork search results and middle mouse button to view profiles issue  (Read 618 times)

Offline lopro

I think a change was made so that when the middle mouse button is clicked on a profile link after a search, it will open up another browser tab but show the search page rather than the profile.

I know that adultwork has offered to use the control button when clicking to get passed this but it's still it a bit annoying for me.

I've created a chrome extension which deals with this.

I can make instructions and copy and paste code in this post if anyone is interested.

Offline welshpunter17

Ctrl + left click is what i've always done becuase middle click never worked.

But you already knew that, there's also right click and open in new tab.

I for one wont be installing an extension. Got to keep your punting hunting browser free from bloatware/things that may spy on your browsing habits.

Outcomes the security side of me, I don't trust you so no I'm not installing your extension.
« Last Edit: November 30, 2018, 01:35:54 pm by welshpunter17 »

Offline lopro

All totally understandable. I'm not intending to make a buck off it so i'll stick comments on the code for the geeks amongst us and post it. Hopefully the transparency would allay any fears.

Offline scutty brown

I think a change was made so that when the middle mouse button is clicked on a profile link after a search, it will open up another browser tab but show the search page rather than the profile.

I know that adultwork has offered to use the control button when clicking to get passed this but it's still it a bit annoying for me.

I've created a chrome extension which deals with this.

I can make instructions and copy and paste code in this post if anyone is interested.

Do you really think anyone with a brain is going to trust a browser plugin from a first time poster with no history or provenance?
I suggest you try using this site for what its intended, not for touting security risks

In  the meantime I have frozen your account to prevent the code from being posted, pending a decision by Admin
« Last Edit: November 30, 2018, 07:42:46 pm by scutty brown »

Offline winkywanky

Is lopro's ISP location St. Petersburg by any chance?

Offline nigel4498

Is lopro's ISP location St. Petersburg by any chance?

3 years a member and it’s his first post.
A definite sleeper.


Offline winkywanky

Perhaps Stapler has returned!  :lol:

This time he's here to infect all our bourgeois computers with viruses, rather than just his bile.

Offline lopro

well gentlemen, i'm not offering a plugin, i'm offering the code for it so here it is.

It's like releasing scarecrow's fear toxin in the air:

//
//There are javascript calls behind practically all A (hyperlink) tags on the adultwork site. this bit of code below aims to replace them with simple links
//
//A typical link looks like this: <a class="Label" href="javascript:vP(4265959)">CASEY_CAMGIRL_19</a>
//  -or-
//<a class="Label" href="#" onclick="sUF(3034673, this)">ZoeChambers</a>
//
//the essential component is the numbers in the bracket i.e. 4265959 representing the profile ID
//
//the end result is that we want the link to look like this:
// <a class="Label" href="ViewProfile.asp?UserID=4265959">CASEY_CAMGIRL_19</a>
// or
// <a class="Label" href="ViewProfile.asp?UserID=3034673">ZoeChambers</a>
//
//this script assumes that jquery has been loaded in the extension manifest or by other means
//
//first scan the page for tags with the class called "Label"
//
$('.Label').each(function(i,obj) {
//get the href value of the a tag usually its like this:
var homeHREF = $(obj).attr('href');
var searchOnclick = $(obj).attr('onclick');
var profileID;
var testURLString = "javascript:vP(";
var testURLSRString = 'sUF(';

//todo: replace with regex to extract the profile id this is too lazy!!
var onclicksJSON = '{'
+'"clicks": ['
+ '{"clickFunction":"sUF(", "clickFunctionEnd" :  7},'
+ '{"clickFunction":"sU(", "clickFunctionEnd" : 7}'
+']'
+'}';

var onClicks =  $.parseJSON(onclicksJSON);

//deal with home page
if(homeHREF) {
if(homeHREF.substring(0,testURLString.length) == testURLString) {
profileID = homeHREF.substring(testURLString.length, homeHREF.length-1);
replaceURL(obj, profileID);
}
}

//deal with the onclick blockers
if(searchOnclick) {
$(onClicks.clicks).each(function(ci,clickObj) {
if(searchOnclick.substring(0,clickObj.clickFunction.length) == clickObj.clickFunction) {
profileID = searchOnclick.substring(clickObj.clickFunction.length, searchOnclick.length - clickObj.clickFunctionEnd);
replaceURL(obj, profileID);
}
});
}
});

function replaceURL(obj, profID) {
//
$(obj).attr('href', 'ViewProfile.asp?UserID=' + profID);
//make sure the link opens another page/tab
$(obj).attr('target', '_blank');
$(obj).attr('onclick', '');
}


if anyone is brave enough to inject this, it's the work around for the middle mouse button.

Do a google search on how to make extensions, manifests etc.

Offline Waterhouse

Reported to Admin.

This is well dodgey.  Even if the code is legit... this is not the forum to it post on.   :bomb: :bomb: :bomb:

Offline lopro

ok guys, look... I've fucked plenty from the aw site and used uk punting to get the low down.  Admittedly I've not contributed though i'll do my level best going forward.  I've put down what i thought is a bit of help for anyone who might find it useful but clearly it's gone down rather negatively.

I'm grateful for the admin to unfreeze my account.

I'm also looking to build other fanciful geeky tools for myself to assist in better searching on the aw site perhaps using their API (External Link/Members Only). 

I guess if anyone finds it useful i'll ask and i'll contribute, if anyone has any suggestions on what would make punting life better through technology, it's a spec and a project to go forward.

Don't what to sound off too much but here is what this site is supposed to be for:

- Site ethos & mission

The site serves as a platform to help punters (sex buyers) exchange info and make more informed decisions about the purchase of sexual services. The site puts the interests of punters first. The site is totally independent (from service providers) with no vested interests. The site does not generate any income and runs at a loss, covered by the site owner. The site does not take donations to keep its independence. The site owner is a single male person who is not involved in prostitution in any way except as a purchaser of sex while residing in the UK 2007-2012. The site owner does not gain from prostitution in any way, monetary or otherwise, from this site or any other site, online or offline.

Offline magnetico

Reported to Admin.

This is well dodgey.  Even if the code is legit... this is not the forum to it post on.   :bomb: :bomb: :bomb:

There's nothing dodgy about helping people to use AW, and yes his code is legit.  :unknown:

Offline winkywanky

I thought lopro was banned. Has he been unbanned?

Offline scutty brown

I thought lopro was banned. Has he been unbanned?

Not banned
I locked the account and referred the thread to Admin. Presumably he's looked at what the OP is saying and decided it was legit

Offline winkywanky

Fair enough  :hi:.

I know shit about IT really, although I am currently enjoying watching the IT Crowd on C4 catch-up  :D

Offline lopro

Fair enough  :hi:.

I know shit about IT really, although I am currently enjoying watching the IT Crowd on C4 catch-up  :D

wait until AI comes into the picture, then we're really screwed.  Though i appreciate the code review.