ArcMedia JavaScript Source Code 3000 Pro (gar448) for PC Logo
Posted on Nov 30, 2009
Answered by a Fixya Expert

Trustworthy Expert Solutions

At Fixya.com, our trusted experts are meticulously vetted and possess extensive experience in their respective fields. Backed by a community of knowledgeable professionals, our platform ensures that the solutions provided are thoroughly researched and validated.

View Our Top Experts

How can I check if shockwave is enable or not in the page. Is there a javascript for it ?

2 Answers

Anonymous

Level 2:

An expert who has achieved level 2 by getting 100 points

Hot-Shot:

An expert who has answered 20 questions.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

  • Expert 73 Answers
  • Posted on Dec 09, 2009
Anonymous
Expert
Level 2:

An expert who has achieved level 2 by getting 100 points

Hot-Shot:

An expert who has answered 20 questions.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

Joined: Dec 08, 2009
Answers
73
Questions
1
Helped
18484
Points
122

Actually you don need to do it. if shockwave is not installed then the browser will automatically ask the user to download the plugin.

Rob Hill

Level 3:

An expert who has achieved level 3 by getting 1000 points

Superstar:

An expert that got 20 achievements.

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

  • Master 1,480 Answers
  • Posted on Dec 02, 2009
Rob Hill
Master
Level 3:

An expert who has achieved level 3 by getting 1000 points

Superstar:

An expert that got 20 achievements.

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Joined: Jun 13, 2009
Answers
1480
Questions
0
Helped
517597
Points
3838

Here is a piece of javascript code detecting several commonly used plugins:

<script language=javascript>
//This script detects the following:
//Flash
//Windows Media Player
//Java
//Shockwave
//RealPlayer
//QuickTime
//Acrobat Reader
//SVG Viewer

var agt=navigator.userAgent.toLowerCase();
var ie = (agt.indexOf("msie") != -1);
var ns = (navigator.appName.indexOf("Netscape") != -1);
var win = ((agt.indexOf("win")!=-1) || (agt.indexOf("32bit")!=-1));
var mac = (agt.indexOf("mac")!=-1);

if (ie && win) {
pluginlist = detectIE("Adobe.SVGCtl","SVG Viewer") + detectIE("SWCtl.SWCtl.1","Shockwave Director") + detectIE("ShockwaveFlash.ShockwaveFlash.1","Shockwave Flash") + detectIE("rmocx.RealPlayer G2 Control.1","RealPlayer") + detectIE("QuickTimeCheckObject.QuickTimeCheck.1","QuickTime") + detectIE("MediaPlayer.MediaPlayer.1","Windows Media Player") + detectIE("PDF.PdfCtrl.5","<b style="color:black;background-color:#99ff99">Acrobat</b> <b style="color:black;background-color:#ff9999">Reader</b>"); }
if (ns || !win) {
nse = "";
for (var i=0;i<navigator.mimeTypes.length;i++)
nse += navigator.mimeTypes.type.toLowerCase();
pluginlist = detectNS("image/svg-xml","SVG Viewer") + detectNS("application/x-director","Shockwave Director") + detectNS("application/x-shockwave-flash","Shockwave Flash") + detectNS("audio/x-pn-realaudio-plugin","RealPlayer") + detectNS("video/quicktime","QuickTime") + detectNS("application/x-mplayer2","Windows Media Player") + detectNS("application/pdf","<b style="color:black;background-color:#99ff99">Acrobat</b> <b style="color:black;background-color:#ff9999">Reader</b>");
}

function detectIE(ClassID,name) { result = false; document.write('<SCRIPT LANGUAGE=VBScript> on error resume next result = IsObject(CreateObject("' + ClassID + '"))</SCRIPT> '); if (result) return name+','; else return ''; }
function detectNS(ClassID,name) { n = ""; if (nse.indexOf(ClassID) != -1) if (navigator.mimeTypes[ClassID].enabledPlugin != null) n = name+","; return n; }

pluginlist += navigator.javaEnabled() ? "Java," : "";
if (pluginlist.length > 0) pluginlist = pluginlist.substring(0,pluginlist.length-1);

if (pluginlist.indexOf("Flash")!=-1)
document.write("You have Flash installed")
if (pluginlist.indexOf("Windows Media Player")!=-1)
document.write("You have Windows Media Player installed")
if (pluginlist.indexOf("Java")!=-1)
document.write("You have Java installed")
if (pluginlist.indexOf("Shockwave")!=-1)
document.write("You have Shockwave installed")
if (pluginlist.indexOf("RealPlayer")!=-1)
document.write("You have Realplayer installed")
if (pluginlist.indexOf("QuickTime")!=-1)
document.write("You have QuickTime installed")
if (pluginlist.indexOf("<b style="color:black;background-color:#99ff99">Acrobat</b> <b style="color:black;background-color:#ff9999">Reader</b>")!=-1)
document.write("You have <b style="color:black;background-color:#99ff99">Acrobat</b> <b style="color:black;background-color:#ff9999">Reader</b> installed")
if (pluginlist.indexOf("SVG Viewer")!=-1)
document.write("You have SVG Viewer installed")
</script> Regardsgewiz

Ad

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

How i install javascript

JavaScript is a browser-based scripting language used by millions of websites. It allows programmers to create Web pages capable of delivering dynamic functionality and in-page refreshing that can be interpreted by any modern browser. Because JavaScript has often been used to deploy pop-ups and other distracting page elements, some users opt to disable the technology. Fortunately, whether you use Internet Explorer, Firefox, Opera or Safari on your Windows 7 computer, you can re-enable JavaScript with only a few clicks.

Read more : http://www.ehow.com/how_8132036_enable-javascript-windows-7.html
0helpful
1answer

How do iactvate java script?

Google Chrome
  1. On the web browser menu click on the "Customize and control Google Chrome" and select "Settings".
  2. In the "Settings" section click on the "Show advanced settings..."
  3. Under the the "Privacy" click on the "Content settings...".
  4. When the dialog window opens, look for the "JavaScript" section and select "Allow all sites to run JavaScript (recommended)".
  5. Click on the "OK" button to close it.
  6. Close the "Settings" tab.
  7. Click on the "Reload this page" button of the web browser to refresh the page.

Internet Explorer

  1. On web browser menu click "Tools" icon and select "Internet Options".
  2. In the "Internet Options" window select the "Security" tab.
  3. On the "Security" tab click on the "Custom level..." button.
  4. When the "Security Settings - Internet Zone" dialog window opens, look for the "Scripting" section.
  5. In the "Active Scripting" item select "Enable".
  6. When the "Warning!" window pops out asking "Are you sure you want to change the settings for this zone?" select "Yes".
  7. In the "Internet Options" window click on the "OK" button to close it.
  8. Click on the "Refresh" button of the web browser to refresh the page.
Internet Explorer < 9
  1. On web browser menu click "Tools" and select "Internet Options"
  2. In the "Internet Options" window select the "Security" tab.
  3. On the "Security" tab click on the "Custom level..." button.
  4. When the "Security Settings - Internet Zone" dialog window opens, look for the "Scripting" section.
  5. In the "Active Scripting" item select "Enable".
  6. When the "Warning!" window pops out asking "Are you sure you want to change the settings for this zone?" select "Yes".
  7. In the "Internet Options" window click on the "OK" button to close it.
  8. Click on the "Refresh" button of the web browser to refresh the page.

Mozilla Firefox

  1. In the address bar, type about:config and press Enter.
  2. Click "I'll be careful, I promise" if a warning message appears.
  3. In the search box, search for javascript.enabled
  4. Toggle the "javascript.enabled" preference (right-click and select "Toggle" or double-click the preference) to change the value from "false" to "true".
  5. Click on the "Reload current page" button of the web browser to refresh the page.

Opera

  • 1. a) Click on "Menu", hover mouse on the "Settings" then hover mouse on the "Quick preferences" and mark the "Enable Javascript" checkbox.
  • 1. b) If "Menu bar" is shown click on the "Tools", hover mouse on the "Quick preferences" and mark the "Enable Javascript" checkbox.

Apple Safari

  1. On the web browser menu click on the "Edit" and select "Preferences".
  2. In the "Preferences" window select the "Security" tab.
  3. In the "Security" tab section "Web content" mark the "Enable JavaScript" checkbox.
  4. Click on the "Reload the current page" button of the web browser to refresh the page.
How to enable JavaScript in your browser
2helpful
1answer

I need to enable java script on my browser

To allow all Web sites in the Internet zone to run scripts, use the steps that apply to your browser:
Windows Internet Explorer(all versions except Pocket Internet Explorer)
Note To allow scripting on this Web site only, and to leave scripting disabled in the Internet zone, add this Web site to the Trusted sites zone.
  1. On the Tools menu, click Internet Options, and then click the Security tab.
  2. Click the Internet zone.
  3. If you do not have to customize your Internet security settings, click Default Level. Then do step 4
  4. If you have to customize your Internet security settings, follow these steps:
    a. Click Custom Level.
    b. In the Security Settings - Internet Zone dialog box, click Enable for Active Scripting in the Scripting section.
  5. Click the Back button to return to the previous page, and then click the Refresh button to run scripts.
Mozilla Corporation's Firefox version 2
  1. On the Tools menu, click Options.
  2. On the Content tab, click to select the Enable JavaScript check box.
  3. Click the Go back one page button to return to the previous page, and then click the Reload current page button to run scripts.
Opera Software's Opera version 9
  1. On the Tools menu, click Preferences.
  2. On the Advanced tab, click Content.
  3. Click to select the Enable JavaScript check box, and then click OK.
  4. Click the Back button to return to the previous page, and then click the Reload button to run scripts.
Netscape browsers
  1. Select Edit, Preferences,Advanced
  2. Click to select Enable JavaScript option
0helpful
1answer

How could get my old email back

Are you asking on how to get back your old email page/design? if yes

You just need to turn off the Javascript of your browser. Login to your yahoo mail then Follow these steps

1- If your browser is firefox do the following
2- Open TOOLS -> OPTIONS -> CONTENT, click on "DISABLE JAVASCRIPT".
3 - press F5 or reload your browser screen
4 - Follow one step instruction on your screen
5 - After that Enable the Javascript again. By going to Step 2

=================

1- If your browser is Internet Explorer do the following
2- Open TOOLS > INTERNET OPTIONS >> SECURITY. In security click "CUSTOM LEVEL" -> disable active scripting in the scripting section.
3- press F5 or reload your browser screen
4- Follow one step instruction on your screen
5 - After that Enable the Javascript again. By going to Step 2

===================

1 - If your browser is Safari
2 - Open SETTINGS>click PREFERENCES>>click SECURITY>>Uncheck ENABLE JAVA and ENABLE JAVASCRIPT
3 - press F5 or Reloard your browser screen
4- Follow one step instruction on your screen
5 - After that Enable the Javascript again. By going to Step 2




Sep 02, 2011 • Yahoo Mail
0helpful
1answer

Cannot watch video's on youtube on my blackberry 9700... How do I enable my JaveScript

While browsing a page you can press 'j' for enabling JavaScript. On the other hand you can keep your browser enabled for JavaScript all the time by following the below steps -



  1. open BlackBerry Internet Browser
  2. press Menu button
  3. select Options
  4. under Web Content check Enable JavaScript
Go to Browser->Options->Browser Configuration->Scroll down->Enable "Support JavaScript"->Save Options
I hope this helps
3helpful
1answer

How to enable javascript in nokia 6030

  1. Open the Nokia web browser.
  2. Navigate to a site that uses Javascript applications. You may see the error message informing you that Java is not enabled, and the website components won't work properly.
  3. Go to "Options," "General," then "Java/ECMA Script."
  4. Choose "Enable" to activate Javascript.
  5. Refresh the web page. If the Java elements of the page work, then you have been able to activate Javascript on your phone. Otherwise, troubleshoot the problem by turning the phone off and on, or checking for any web browser software updates. You may also want to check another Java based webpage to ensure that the problem is not with the page you are trying to access.
0helpful
1answer

I can't get adobe flash to download on my windows vista. I get error 19166

follow these steps:
1.First, Uninstall with Adobe's Flash Player Uninstaller:
http://download.macromedia.com/pub/f...ash_player.exe
2.Re-install the full version of flash player :
http://fpdownload.macromedia.com/get...r_active_x.msi

If these two option did not solve your problem maybe you have javascript disabled follow the steps descrived below:
In Internet Explorer:
Select tools -> Internet Options
Click on the "security" tab
Click on "custom level"
Scroll down to the Scripting option
Select "Enable" for "Active Scripting and Scripting of Java Applets"
Click "ok"
Select YES if a confirmation box appears
Click "ok" and close the window.
Hit "F5" to reload the page.

In Mozilla Firefox:
Click tools -> Options
Click "content" in the options list
Check the box next to "Enable JavaScript"
Click the "Advanced" button
Check the boxes under "allow scripts" to enable JavaScript.
Click "Ok" twice.
Hit F5 to reload the page.
0helpful
1answer

How do I enable javascript on a mac os10.5.3?I have updated my browser (Firefox) and my firmware, also have checked enable javascript from preferences but I am still getting a message that tell me I have...


for mozilla
Select Preferences from the Edit menu.
Click the arrow next to Advanced.
Click Scripts & Plugins.
Check Navigator beneath "Enable Javascript for".
Click OK.
Click Reload

for firefox

Select Options from the Tools menu.
Click the Web Features icon.
Check "Enable JavaScript".
Click OK.
Click Reload.
0helpful
1answer

IE 7 will not respond to the javascript resize javascript:window.resizeTo(1024,768) I have enabled scripting in Intenet Options and restarted IE. I even created a web page that has the javascript for...

post the javascript code and I will have a go at seeing why it is not working - it may be that IE 7 needs slightly different code but when I see or get the code you have I can look into it more
5helpful
1answer

Javascript is enabled but it keeps telling me I need to enable it

On IE, clcik Tools>Manage Add Ons.

Is Shockwave Flash Object enabled? Is the file Flash10a.ocx?
Not finding what you are looking for?

581 views

Ask a Question

Usually answered in minutes!

Top ArcMedia Computers & Internet Experts

Rob Hill
Rob Hill

Level 3 Expert

1480 Answers

 Mikey
Mikey

Level 3 Expert

6904 Answers

Are you an ArcMedia Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...