Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Changing the number of results shown when searching a websit

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Devald
How do I cheat?
Reputation: 0

Joined: 02 May 2013
Posts: 3

PostPosted: Thu May 02, 2013 4:02 pm    Post subject: Changing the number of results shown when searching a websit Reply with quote

Hi,

I want to change the number of results that show up when searching a website. I have no clue if this is possible or not, but I am gonna ask eitherway. Smile

Thanks for the help.
Back to top
View user's profile Send private message
jucce
Advanced Cheater
Reputation: 1

Joined: 02 Apr 2013
Posts: 99

PostPosted: Thu May 02, 2013 4:53 pm    Post subject: Reply with quote

For example the number of results that come up at a Google search? Nothing flash or Java based?
Back to top
View user's profile Send private message
Devald
How do I cheat?
Reputation: 0

Joined: 02 May 2013
Posts: 3

PostPosted: Fri May 03, 2013 12:46 pm    Post subject: Reply with quote

Not Google. I linked two pictures of the page.
I am not sure if it is run of Java or something like that.

Sorry that the pictures in on Danish, but it is a page that shows 20 results when you search. I want to make it a lot more than that.



Udklip.PNG
 Description:
 Filesize:  487.18 KB
 Viewed:  6854 Time(s)

Udklip.PNG



123.PNG
 Description:
 Filesize:  400.5 KB
 Viewed:  6854 Time(s)

123.PNG


Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 199

Joined: 25 Jan 2006
Posts: 8518
Location: 127.0.0.1

PostPosted: Fri May 03, 2013 12:53 pm    Post subject: Reply with quote

Assuming they don't validate the dropdown value, just use a browser like Chrome, you wont need Cheat Engine at all.

Right-click the dropdown, choose 'Inspect Element'.
Edit the value of the dropdown to something higher than 20.
Click submit like normal.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Devald
How do I cheat?
Reputation: 0

Joined: 02 May 2013
Posts: 3

PostPosted: Fri May 03, 2013 2:04 pm    Post subject: Reply with quote

Alright, I tried what you said, but I can't find out what to change. Can't see a ResultsPerPage thing anywhere. Is there some name I should be looking for?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 199

Joined: 25 Jan 2006
Posts: 8518
Location: 127.0.0.1

PostPosted: Fri May 03, 2013 4:34 pm    Post subject: Reply with quote

When you do the inspect element you should see something like this code wise:

Code:

<select name="postdays">
  <option value="0" selected="selected">All Posts</option>
  <option value="1">1 Day</option><option value="7">7 Days</option>
  <option value="14">2 Weeks</option>
  <option value="30">1 Month</option>
  <option value="90">3 Months</option>
  <option value="180">6 Months</option>
  <option value="364">1 Year</option>
</select>


You want to edit whats in the value="" part, so like for 1 year you would change:
<option value="364">1 Year</option>

to this:
<option value="999">1 Year</option>

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
DaSpamer
Grandmaster Cheater Supreme
Reputation: 52

Joined: 13 Sep 2011
Posts: 1578

PostPosted: Fri May 03, 2013 4:39 pm    Post subject: Reply with quote

You know its gonna be temporary.
_________________
HEY Hitler
Do you get lazy when making trainers?
Well no more!
My CETrainer will generate it for you in seconds, so you won't get lazy! Very Happy

http://forum.cheatengine.org/viewtopic.php?t=564919
Back to top
View user's profile Send private message
jucce
Advanced Cheater
Reputation: 1

Joined: 02 Apr 2013
Posts: 99

PostPosted: Fri May 03, 2013 9:50 pm    Post subject: Reply with quote

For something like this Cheat Engine isn't a good tool. I suspect it is possible with a lot of work in Greasemonkey which is a Firefox plugin.

Personally I would go with a solution that uses wget to download page 1...n and then merge and parse them for display. There is no easy way to solve your problem as far as I know.

Wiccaan wrote:
When you do the inspect element you should see something like this code wise:


You want to edit whats in the value="" part, so like for 1 year you would change:
<option value="364">1 Year</option>

to this:
<option value="999">1 Year</option>
In this case I don't think that information is transmitted from the form at all. Rather the limit seems hard coded in the site.
Back to top
View user's profile Send private message
Devald
How do I cheat?
Reputation: 0

Joined: 02 May 2013
Posts: 3

PostPosted: Sat May 04, 2013 8:21 am    Post subject: Reply with quote

Tried Greasemonkey, but I can't seem to figure out what to do with it... Same goes for wGet
Back to top
View user's profile Send private message
jucce
Advanced Cheater
Reputation: 1

Joined: 02 Apr 2013
Posts: 99

PostPosted: Sat May 04, 2013 11:23 am    Post subject: Reply with quote

Devald wrote:
Tried Greasemonkey, but I can't seem to figure out what to do with it... Same goes for wGet
Well first of all I assume you need to be logged in to access that list? So you need to either export your cookies from Firefox and load those up with wget (--load-cookies file) or do the login using wget.

Next find the pattern for the link to the subpages. Like virtualmanager.com/list.php?a=1&b=2&page=1. Then generate a list of the subpages by changing the page number. Now just run wget and download n of these pages.

Lastly you need to merge these together somehow, either by parsing out all the player data into a textfile or by trying to merge the html pages. It might work to just concatenate all the files or remove the </body> and </html> end tags before you concatenate. Experiment with it.

Like I said your problem isn't that easy. I am not good with Greasemonkey, perhaps you should ask on a forum more specifically directed to Greasemonkey scripting if you want to use that. You need someone who is experienced in its use.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites