§
पोस्ट केले: 2016-01-18
संपादित केले: 2016-01-18

Java script parameters replace

Hello, I am trying to replace some code in javascript in this page http://www.mza.cz/indikacniskici/index.php#show:MOR139618260 but with no luck :-(

In index.php there is javascript with text AC_FL_RunContent and in it there are also this two parameters:

    'width', '100%',
    'height', '100%',

and I need to change it to:

    'width', '8000',
    'height', '8000',

I tried it using replace function, but its not working :-(

    document.body.innerHTML = document.body.innerHTML.replace('\'width\', \'100%\',', '\'width\', \'9999\',');
    document.body.innerHTML = document.body.innerHTML.replace('\'height\', \'100%\',', '\'width\', \'9999\',');

Thanks very much for help. VictorC

उत्तर पोस्ट करा

उत्तर पोस्ट करण्यासाठी साइन इन करा.