Looking for the Shockwave plugin for Linux

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

User avatar
Mæstro
Lunatic
Lunatic
Posts: 463
Joined: 2019-08-13, 00:30
Location: Casumia

Looking for the Shockwave plugin for Linux

Unread post by Mæstro » 2022-07-29, 18:35

As a sample site to test, I give this. Would anybody know where, in the Wayback Machine or elsewhere, to find the latest functional Shockwave NPAPI plugin for Linux? I assume installation should work like installing Flash.
Browser: Pale Moon (Pusser’s repository for Debian)
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 LTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Formerly user TheRealMaestro: æsc is the best letter.

User avatar
pubpub
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2021-12-19, 23:28

Re: Looking for the Shockwave plugin for Linux

Unread post by pubpub » 2022-07-30, 14:35

the last working version of flash according to this post is 371, and you can download it from here
I have also gone through the pains of installing it on GNU/Linux and documented it on this post, which you might find useful
I'll try the site you linked in a while and post if I could succesfully run it to give you a better outlook on following my steps

User avatar
pubpub
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2021-12-19, 23:28

Re: Looking for the Shockwave plugin for Linux

Unread post by pubpub » 2022-07-30, 15:36

I can't get the site you linked to work, and I believe it is because of these scripts

Code: Select all

<script>
<!--X11browser()
	// returns true if browser is running in X11
	// otherwise returns false
	function X11browser() {
		var platform = parseInt(navigator.appVersion.substring(0,1));
		if (navigator.appVersion.indexOf("X11") >= 0) {
			return true;
		} else {
			return false;
		}
	}
// -->
</script>
which, according to a comment inside it, does some javascript stuff to check whether you're running X11, and is later used in this script

Code: Select all

<script>
<!--shockwavePossible()
	// returns true if browser is NN 2 or higher, IE 3 or higher or AOL 3 or higher
	// _and_ if platform is Mac or Windows 3.1, 95, or NT 4.0 (not NT 3.5, not UNIX)
	function shockwavePossible() {
		if (navigator.appName == "Netscape" && version() >= 2.0 && !(X11browser()) ) {
			return true;
		}
		if (navigator.appName == "Microsoft Internet Explorer" && version() >= 3.0 && !(X11browser()) ) {
			return true;
		}
		
		return false;
	}
// -->
</script>
which clearly states that it does not want this page to run on UNIX (and UNIX like systems apparently, since Linux is far from UNIX nowadays), and is later used in this script

Code: Select all

<script>
<!--shockwave detection	

if ( !(navigator.appName == "Netscape" && version() < 3) ) {

	// if shockwave has been installed, or we're not sure that it hasn't been installed, write the plug-in tags
	if ( shockwaveInstalled() == null || shockwaveInstalled() ) {
		document.writeln('<OBJECT CLASSID="clsid:166B1BCA-3F9C-11CF-8075-444553540000" CODEBASE="http://active.macromedia.com/director/cabs/sw.cab#version=6,0,0,0" WIDTH="480" HEIGHT="304"  NAME="techslider">');
		document.writeln('<PARAM NAME="SRC" VALUE="images/techslider.dcr">');
		document.writeln('<PARAM NAME="BGCOLOR" VALUE="#006699">');
		document.writeln('<PARAM NAME="swLiveConnect" VALUE="FALSE">');
		document.writeln('<PARAM NAME="AutoStart" VALUE="TRUE">');
		document.writeln('<PARAM NAME="PALETTE" VALUE="BACKGROUND">');
		document.writeln('<EMBED SRC="images/techslider.dcr" NAME="techslider" WIDTH="480" HEIGHT="304"  PLUGINSPAGE="http://www.pbs.org/aso/help.html#shockwave" BGCOLOR="#006699" swLiveConnect="FALSE" AutoStart="TRUE" PALETTE="BACKGROUND">');
		document.writeln('</OBJECT>');
		document.writeln('<NOEMBED>');
		document.writeln('<BR><BR> ');
		document.writeln('<P>Sorry, this browser does not support shockwave.</P> ');
		document.writeln('<P>Take a look at the Science Odyssey ');
		document.writeln('<A HREF="../../help.html#shockwave">help page</A> ');
		document.writeln('to find out more about Shockwave.</P> ');
		document.writeln('</NOEMBED>');
		document.writeln('<UL>');
		document.writeln('<B>Instructions</B>');
		document.writeln('<UL TYPE=DISC>');
		document.writeln('<LI>Use the slider to move forward and back through time.');
		document.writeln('Position your cursor over an object to reveal some information about that object.');
		document.writeln('New information is available each time an object first appears or changes appearance.');
		document.writeln('</UL>');
		document.writeln('<P>');
		document.writeln('<BR>');
		document.writeln('Close this window when you are through.');
		document.writeln('</UL>');
	
	// if shockwave is possible, but we know it hasn't been installed, tell the user how to do it
	} else if ( shockwavePossible() && shockwaveInstalled() == false) {
		document.write('<BR><BR>');
		document.writeln('<P>Sorry, this activity requires Shockwave for Director.');
		document.writeln('Your browser indicates that Shockwave for Director has not been installed.</P>');
		document.writeln('<P>Take a look at the Science Odyssey');
		document.writeln('<A HREF="../../help.html#shockwave">help page</A>');
		document.writeln('to find out more about Shockwave.</P>');
	
	// if shockwave isn't even possible, let the user know they need a different browser
	} else if ( !(shockwavePossible()) ) {
		document.write('<BR><BR>');
		document.writeln('<P>Sorry, this browser does not support shockwave.</P>');
		document.writeln('<P>Take a look at the Science Odyssey');
		document.writeln('<A HREF="../../help.html#shockwave">help page</A>');
		document.writeln('to find out more about Shockwave.</P>');
	}

}
	
// -->
</script>
Which checks if we passed the previous two checks and tells us we can't view the page otherwise.
The author clearly doesn't want the page viewed in Linux or any UNIX like system.
I am not very skilled in javascript and whatever check this might be

Code: Select all

var platform = parseInt(navigator.appVersion.substring(0,1));
		if (navigator.appVersion.indexOf("X11") >= 0)
I guess you can try a different user agent that lies and tells them you're using windows or mac to get past that check.

User avatar
lucas_jooj
Hobby Astronomer
Hobby Astronomer
Posts: 26
Joined: 2021-06-18, 06:22

Re: Looking for the Shockwave plugin for Linux

Unread post by lucas_jooj » 2022-07-30, 15:36

pubpub wrote:
2022-07-30, 14:35
the last working version of flash
I think he's referring to Shockwave Player, not Shockwave Flash. If you're wrong, then https://winxperts4all.at/index.php/soft ... verfuegbar is a website I found that has Shockwave Player available for download (third link on post, OneDrive redirect). It has both an .MSI file and an .exe file. I don't think you can run .exe on debian but there is a way to get .MSI files to run in debian(just don't ask me how :oops: )

Locked