Post Reply 
Craigslist default to grid view? / kijiji ads
Oct. 01, 2013, 03:56 PM
Post: #1
Craigslist default to grid view? / kijiji ads
I would like to default to the gridview whenever looking at craigslist pages without having to click the grid view button each time I go there.

I think it just relies on the cookie "cl_img=grid" but I don't want to force that since I wouldn't ever be able to use the other views? Is there a way to add cl_img=grid if there is no other cl_img= in the Cookie to all requests made to craigslist.* (.org, .ca) ?

Also, whenever I go to kijiji.ca ads I can't see the description/pictures or click on them to see more views unless I Bypass. How do I get those to work?

http://toronto.kijiji.ca/c-cars-vehicles...Z515512198
Add Thank You Quote this message in a reply
Oct. 02, 2013, 01:06 AM
Post: #2
RE: Craigslist default to grid view? / kijiji ads
(Oct. 01, 2013 03:56 PM)mono3 Wrote:  Also, whenever I go to kijiji.ca ads I can't see the description/pictures or click on them to see more views unless I Bypass. How do I get those to work?

http://toronto.kijiji.ca/c-cars-vehicles...Z515512198

kijiji looks easy

Code:
[^.]+.kijiji.ca/ $SET(0=a_adban.)$SET(sAdKey=ad-desc.adImg.)
    $SET(sAdKeyR=<!--protect-->)

to Exceptions-U.

Craigslist appears to need more than a cookie. Probably filter to add script to click button onload when cookie is absent. Script example: http://www.w3schools.com/jsref/met_html_click.asp .

Later
Add Thank You Quote this message in a reply
Oct. 02, 2013, 05:27 PM (This post was last modified: Oct. 02, 2013 05:55 PM by mono3.)
Post: #3
RE: Craigslist default to grid view? / kijiji ads
(Oct. 02, 2013 01:06 AM)JJoe Wrote:  Craigslist appears to need more than a cookie. Probably filter to add script to click button onload when cookie is absent. Script example: http://www.w3schools.com/jsref/met_html_click.asp .

Later

Thanks for the kijiji help -- it works (except if you click an image to view it full screen but that's fine).

I don't quite understand craigslist yet. If I go to
http://losangeles.craigslist.org/cta/
and click grid view and then change the url in the browser input to
http://newyork.craigslist.org/cta/
it loads in grid view again, but I don't understand how it knows to do so or how to set it so it loads grid view the first time. I tried to remove cookies for craigslist.org and it still knew to load grid view the second time around but not when first loading. I'll play some more.
Add Thank You Quote this message in a reply
Oct. 02, 2013, 05:59 PM
Post: #4
RE: Craigslist default to grid view? / kijiji ads
(Oct. 02, 2013 05:27 PM)mono3 Wrote:  I don't quite understand craigslist yet.

Same here. I use craigslist for many locations. It had been once the view was set for any location it was used for each following location (suggests cookie). Yesterday that behavior changed and some locations began with a different view regardless of cookies (suggests string on some file's url since I have local storage disabled or site problems or ?).

Have to play more later.
Add Thank You Quote this message in a reply
Nov. 09, 2013, 08:13 AM
Post: #5
RE: Craigslist default to grid view? / kijiji ads
Javascript.
In kmeleon, cookies off but js enabled and bypass proxo (bypass proxo might not have been necessary)
Craigslist now calls "grid", "thumbs"

Regex text:
grid|thumb|galler

Finds in:
formats.js
postings.js
tocs.js

Within downloaded 10 js files:
http://www.craigslist.org/js/html5shiv.js

http://www.craigslist.org/js/json2.js
http://www.craigslist.org/js/jquery-1.9.1.js
http://www.craigslist.org/js/jquery-ui-1.9.2.custom.js
http://www.craigslist.org/js/formats.js
http://www.craigslist.org/js/toChecklist.js
http://www.craigslist.org/js/jquery.form-defaults.js
http://www.craigslist.org/js/tocs.js
http://www.craigslist.org/js/search-suggestions.js
http://www.craigslist.org/js/postings.js

I downloaded these after I stripped off 32 characters ?v=45vrt56bertg356g3546g
(Is this unique ID? But why?)
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: