|
Best Porn Sites | Live Sex | Register | FAQ | Members List | Calendar |
Help Section If you have technical problems or questions then post or look for answers here. |
|
Thread Tools | Display Modes |
June 13th, 2017, 12:45 PM | #11 |
Vintage Idiot
Join Date: Feb 2012
Location: History
Posts: 22,135
Thanks: 226,717
Thanked 356,751 Times in 21,630 Posts
|
Pimp & host:
Host Label: pimpandhost URL Pattern: ^https?:\/\/(?:image\.|www\.)?pimpandhost\.com\/image\/.+?$ Code:
function(pageData, pageUrl) { var iUrl = pageData.match(/img class="normal" src="(https?:\/\/.+?)(_l)?(\.(jpe?g|png|JPE?G|PNG))"/); return iUrl ? {imgUrl: iUrl[1] + iUrl[3], status: "OK"} : {imgUrl: null, status: "ABORT"} } edit 2: doesn't currently work for gifs but would be easy to amend to include. Does P&H take gifs? It's a poor option to have to wrangle with the image file suffix but that's pretty helpful for locating the "_l" that we want to remove in order to get the full-size image, so: swings/seesaws. If people need this for gifs on P&H then let me know. Last edited by effCup; June 14th, 2017 at 11:51 AM.. Reason: expl.; 2 |
The Following 12 Users Say Thank You to effCup For This Useful Post: |
|
|