x
Visit our new Mobile Website next time you access NetDania with your mobile device
FAQ



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
Find a Top Broker
Global
Forex
37980.72
193.48
0.51%
4968.49
-45.12
-0.90%
17040.44
-351.43
-2.02%
63465.00
-51
-0.08%
17799.06
-36.72
-0.21%
37135.21
-642.4
-1.70%
3065.26
-8.96
-0.29%
7947.34
68.11
0.86%
16307.43
-25.19
-0.15%
7605.47
14.34
0.19%
22147.00
151.15
0.69%
2391.75
11.91
0.50%
87.20
0.344
0.40%
1.06554
0.00131
0.12%
154.611
0
0.00%
1.23676
-0.00669
-0.54%
0.64164
-0.00069
-0.11%
1.37477
-0.0023
-0.17%
164.68100
0.138
0.08%
0.86132
0.00549
0.64%
191.25300
-1.002
-0.52%
0.91024
-0.00222
-0.24%
0.96996
-0.00113
-0.12%
0.58862
-0.00155
-0.26%
106.11800
-0.038
-0.04%
Top Gainers
Name
Last
+/-
%
11.50
11.50
11499900.00%
11.50
11.50
11499900.00%
11.50
11.50
11499900.00%
11.25
11.25
11249900.00%
11.08
11.08
11079900.00%
0.04
0.04
1900.00%
0.04
0.03
208.73%
0.04
0.02
150.00%
3.73
1.88
101.62%
0.04
0.02
98.01%
Top Losers
Name
Last
+/-
%
0.02
-0.04
-67.74%
0.06
-0.09
-60.00%
0.89
-1.20
-57.20%
0.02
-0.02
-55.59%
6.43
-3.18
-33.09%
0.12
-0.06
-32.35%
0.29
-0.13
-31.52%
0.44
-0.20
-30.85%
0.03
-0.01
-30.51%
1.17
-0.51
-30.36%
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 -2024 NetDania Creations ApS, Holmens Kanal 7, 1060 Copenhagen K, Denmark, +4536988200, Contact NetDania by email, CVR-nr.27976670 Terms And Conditions and Privacy Policy