Author Topic: SuprNova.org  (Read 7925 times)

Offline chip!

  • Bad Ass
  • Administrator
  • Unstoppable
  • *****
  • Posts: 2301
  • Karma: +629/-6
    • View Profile
SuprNova.org
« on: August 25, 2007, 09:34:02 am »
bovski,

i went through the java and found that it does use ajax to replace the 'submit' code of the search:

http://static.suprnova.org/suprnova.js

Code: [Select]
'form#search-q': function() {
        this.observe('submit', function(){
search(this.q.value, this.cat.value);
return false;
        })

which takes you to search( function:

Code: [Select]
function search(query, cat) {
if(query == "") {
form = $('search-q');
query = form.urlq.value;
page = form.urlp.value;
cat = form.urlc.value;
params = 'page=' + page + '&q=' + query + '&c=' + cat;
} else {
params = 'page=1&q=' + query + '&cat=' + cat;
}

var hideme = $('results').next();
if(query.length > 0) {
hideme.hide();
$('results').innerHTML = '<div id="loading"></div>';
$('results').show();
new Ajax.Updater('results', '/ajax_search.php', { method: 'post', parameters: params });
} else { $('results').hide(); hideme.show(); }
return false;
}



and from that, here is the proper search URL:
POSThttp://www.suprnova.org/ajax_search.php?page=1&q=%SEARCH%&cat=0
  -  https://convivea.com  -   And...  boom goes the dynamite.

Offline Bovski

  • Head Cider Tester
  • Hero Member
  • *****
  • Posts: 673
  • Karma: +189/-0
  • High Five Me
    • View Profile
    • Warez The Index
Re: SuprNova.org
« Reply #1 on: August 26, 2007, 10:56:00 am »
« Last Edit: August 26, 2007, 11:36:31 am by Bovski »