• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Switch off checking newer version of flash player

New Here ,
Nov 01, 2021 Nov 01, 2021

Copy link to clipboard

Copied

Hi there, I've got an old website that is dated and is supposed to be dated (blackmetaldeath.com) as it's the gimmick. Now, it still works but there is always a pop up "Content on this page requires a newer version of Macromedia Flash Player. Do you want to download it now?". How can I stop this from happening for every visitor? There is no newer version (it's not even supported 🙂 and the website works fine without the update. So basically, this check should be switched off. Is this something I can put in de website itself? If yes, how? Thanks for thinking along! I really appreciate it! Floris

Views

264

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 01, 2021 Nov 01, 2021

Copy link to clipboard

Copied

The pages on your website that are showing this message have the following code parts in them:

 

<script type="text/javascript">
function MM_CheckFlashVersion(reqVerStr,msg){
with(navigator){
var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
if (!isIE || !isWin){
var flashVer = -1;
if (plugins && plugins.length > 0){
var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
if (desc == "") flashVer = -1;
else{
var descArr = desc.split(" ");
var tempArrMajor = descArr[2].split(".");
var verMajor = tempArrMajor[0];
var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
flashVer = parseFloat(verMajor + "." + verMinor);
}
}
// WebTV has Flash Player 4 or lower -- too low for video
else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;

var verArr = reqVerStr.split(",");
var reqVer = parseFloat(verArr[0] + "." + verArr[2]);

if (flashVer < reqVer){
if (confirm(msg))
window.location = "http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
}
}
}
}
</script>

 

AND

 

<body onload="MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Macromedia Flash Player. Do you want to download it now?');">

 

Remove the huge script and cut the "body" line short to just <body>.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 01, 2021 Nov 01, 2021

Copy link to clipboard

Copied

LATEST

Gimmick indeed!  I think you won the contest for World's Worst Website. 🙂

 

To answer your question, both Flash & Shockwave plugins are dead.  Nobody can get them anymore even if they wanted to.  Best advice, remove all traces of Flash and Shockwave from your code.  The media can't be played on any Windows or Apple devices because ALL browsers stopped supporting plugins.

 

Flash EOL

https://www.adobe.com/products/flashplayer/end-of-life.html

 

Shockwave EOL

https://helpx.adobe.com/shockwave/shockwave-end-of-life-faq.html

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines