x
Visit our new Mobile Website next time you access NetDania with your mobile device
ChartStation Support
NetDania Applets webpage integration - Google Chrome
Description: NetDania Applets webpage integration - Google Chrome
Category: FAQ

Due to some changes in the new version of Google Chrome browser, some html tags must be modified in the webpages related to NetDania applets in order to ensure the compatibility with the new Chrome 8.
Please find below a description of the changes to be applied.


In order to run Java applets, different browsers use different html tags to launch these applets.

Usually the most browsers implement the applet and object tags.


To use the right html tag for each browser the NetDania applets are integrated in a web page using JavaScript. We use a browser detection script and depending on the detection result we use the appropriate tag for each browser to get our applets running.


The latest version of Google Chrome( 8.0.552.23 ) seems not to support anymore the object tag for running Java applets. Till now we were using the object tag for Google Chrome, but since this is not working anymore we have to change it.

That is why we have to use the applet tag instead of the object tag to get the applets running in Google Chrome.


For example:


We had a script that checked the browser that looked like this:

        BrowserDetect.init();

        var appletTagStart = "";

        if(BrowserDetect.browser == "Safari" || BrowserDetect.browser == "Explorer" || BrowserDetect.browser == "Google")

            appletTagStart = "< object codetype=\"application/java\" /*...................other attributes..................*/>";

        else

            appletTagStart = "< applet /*..............................other attributes...................................*/>";

    

        //the rest of applet

 

This script has to be modified for Google Chrome not to use anymore the object tag.

The new  script should look like this (the text in red must be removed):

        BrowserDetect.init();

        var appletTagStart = "";

        if(BrowserDetect.browser == "Safari" || BrowserDetect.browser == "Explorer")

            appletTagStart = "< object codetype=\"application/java\" /*...................other attributes..................*/>";

        else

            appletTagStart = "< applet /*..............................other attributes...................................*/>";

    

        //the rest of applet
 

If you use javascript for closing the applet tags like this:

 if(BrowserDetect.browser == 'Safari' || BrowserDetect.browser == 'Explorer' || BrowserDetect.browser == "Google")

            document.writeln('');

        else

            document.writeln('');
     

you have to replace it with the script below:

 if(BrowserDetect.browser == 'Safari' || BrowserDetect.browser == 'Explorer')

            document.writeln('');

        else

            document.writeln('');
     

These changes are intended to be made by a software developer.

If your scripts are not identical to the ones above there is nothing wrong. The only thing you have to do,  is to see if Google Chrome uses the object tag in your script. If this is the case make the necessary changes to use the applet tag.
 

In case you do not succeed to manage the changes described above please send us the html source code of your webpage, we shall apply the appropriate changes and send it back to you.


Back
Top Brokers
Global
Forex
23506.50
-71
-0.30%
2594.73
-2.05
-0.08%
6378.20
4.2
0.07%
8113.70
24.1
0.30%
12968.55
-205.7
-1.56%
22387.50
-268
-1.18%
3382.91
-16.34
-0.48%
7415.30
6.2
0.08%
30070.00
275
0.92%
5994.00
8
0.13%
10342.30
15.4
0.15%
1292.14
10.24
0.80%
63.01
0.34
0.54%
1.17973
0.0056
0.48%
111.517
-0.819
-0.73%
1.32897
0.0043
0.33%
0.75881
0.0004
0.05%
1.27303
-0.0042
-0.33%
131.57300
-0.345
-0.26%
0.88760
0.0013
0.15%
148.21800
-0.602
-0.40%
0.98313
-0.0074
-0.74%
1.15986
-0.0032
-0.27%
0.68564
0.001
0.15%
93.45800
-0.522
-0.56%
Top Gainers
Name
Last
+/-
%
8.60
4.15
93.26%
4.00
1.76
78.57%
5.58
1.83
48.81%
0.70
0.22
46.24%
10.00
2.88
40.45%
1.81
0.39
27.46%
0.19
0.04
25.76%
0.24
0.05
25.63%
14.07
2.81
24.97%
1.36
0.26
23.64%
Top Losers
Name
Last
+/-
%
4.42
-3.46
-43.97%
10.00
-5.00
-33.33%
0.42
-0.16
-27.10%
2.08
-0.47
-18.43%
0.78
-0.17
-18.38%
0.77
-0.15
-16.30%
30.26
-5.28
-14.86%
0.23
-0.04
-14.81%
3.52
-0.61
-14.77%
16.06
-2.52
-13.57%
NetDania does not guarantee the accuracy of data contained on this website, nor do we guarantee that data is real-time. Data on this website may be provided from OTC market sources and market makers, and not necessarily from exchanges. The provided price data is indicative and may not be appropriate for trading or decision making purposes. NetDania does not assume any responsibility for any losses incurred from the use of the provided data.
NetDania does not endorse or promote any broker or financial service. NetDania is a pure technology provider offering its software with broker integration. Any user of NetDania software must be an existing client of one of our supported brokers. NetDania showcases NetDania technology for the purpose of demonstrating it towards brokers and other institutions looking to white label the technology on a software subscription contract. No financial services are offered, promoted or recommended. NetDania is compensated as a technology provider by its institutional clients including its integrated brokers. It is the sole responsibility of any recipient employing or requesting an offering to comply with all applicable legislation or regulation affecting it.

Persons or entities including approved brokers not belonging to the NetDania Group may advertise on the NetDania and its Group’s websites, through links, banners or otherwise. We have not taken any steps to verify the accuracy, quality or reliability of any products, information or services provided by third parties that have links on our website. We accordingly provide no warranties with regard to and disclaim responsibility for any such products, information or services and exclude all liability in this regard to the fullest extent permitted by relevant laws and regulations. If a user of the NetDania Group’s websites decides to act upon any such advertising, such user does so entirely at its own risk.

NetDania’s website may be accessed worldwide. The Information provided on its website is however only intended for use by recipients located in countries where such use does not constitute a violation of applicable legislation or regulations. None of the offerings services referred to on this website are available to recipients residing in countries where the provision of such offerings would constitute a violation of mandatory applicable legislation or regulations. It is the sole responsibility of any recipient employing or requesting an offering to comply with all applicable legislation or regulation.

HIGH RISK INVESTMENT WARNING:
End-users of the NetDania software that make use of the trading integration features as direct clients of integrated brokers, should be aware of the level of risk carried by trading in financial markets. Trading foreign exchange and or other financial instruments on margin carries a high level of risk, and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or more of your initial investment, and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading, and seek advice from your broker and or an independent financial advisor if you have any doubts. Anyone opening a live trading account needs to adhere to the laws of their local country as such laws may differ from country to country.
NetDania expressly disclaims any liability for any lost principal or profits which without limitation may arise directly or indirectly from the use of or reliance on information on our website or the use of our software with broker integration.
Copyright © 1998 -2017 NetDania Creations ApS, Kronprinsessegade 36, 1st floor DK-1306 Copenhagen K, Denmark, +4536980409, Contact NetDania by email, CVR-nr.27976670 Terms And Conditions and Privacy Policy