Increase Results per Page on nyse.com

in Ideas and script requests
Subscribe to Increase Results per Page on nyse.com 2 posts, 2 voices



Al Chapino User
FirefoxWindows

I've never written a script before, but I'm hoping this request is simple:

http://www.nyse.com/about/listed/lc_ny_name_A.h...

On the nyse.com website, I would like to increase the records per page to 200. The default is 20. I found the below code within the Page Source and assume that it is set where "iRecordsPerPage = 20;" I tried simply creating a script, copying and pasting the code below and changing 20 to 200 but no luck. Any help or advice is greatly appreciated.

var iLinksPerGroup = 10;
var iRecordsPerPage = 20;

if (aTemp.length < 20 )
{
iRecordsPerPage = aTemp.length;
}
if (aTemp.length < 10 )
{
iLinksPerGroup = aTemp.length;
}

var query = window.location.search.substring(1);
var iStartPos = getQueryVariable("start", query);

if (iStartPos == null)
{
iStartPos = 1;
}

var sPageName = "/about/listed/lc_ny_name_A.html";

if (aTemp.length >0 )
{
try
{
var strSymbols = getSymbols(iStartPos,iRecordsPerPage,aTemp);
var url = 'http://marketdata.nyse.com/JTic?app=QUOT&type=NYQUOTE&rf=JS&id='+strSymbols+'&cred='+dckey;
document.write('<scr'+'ipt src="+ url +">');
document.write('</scr'+'ipt>');
}
catch (exception) {}
}
}
}
}
catch(er)
{
Arr='';
}

try
{
if(typeof(jsArrayName) != 'undefined')
{
if(Arr.length > 0)
{
if (aTemp.length >0 )
{
var sSym = strSymbols;
var iInd = sSym.indexOf(',');

try
{
if (iInd != -1)
{
sSym = sSym.substring(0,iInd);
}

var sResult = getDataWithOutAlphaSubHd (iStartPos, iRecordsPerPage, aTemp, iLinksPerGroup);
document.write ("

");
document.write ('
');
document.write ('');
document.write ('
');
document.write ('

try {
document.write (valueObject);
}catch(exception){}

document.write (' | Market data delayed');
document.write ('
');
document.write ('
');
document.write ("
");
document.write ('
');
document.write ('');
document.write ('
');
document.write (sResult);
document.write ('
');
document.write ('
');
document.write ("
");
}
catch (exception)
{
var sResult = getDataWithOutAlphaSubHdJTicFail (iStartPos, iRecordsPerPage, aTemp, iLinksPerGroup);

 
aNON TEST User
FirefoxWindows

Actually there is a little more to it but you got the first step right. I created a script and it seems to be working, http://userscripts.org/scripts/show/132658

I made the default as 50 records but you can easily edit it to what you want, i found 200 was taking too long for me.