How to enable Flash Player in Javascript browser?

Asked

Viewed 1,448 times

6

Is there any way to enable Flash Player via Javascript in the browser like at that link?

  • @jbueno further to https://play.spotify.com/browse web prompts.

  • Do you want to force the user’s browser to run the flash, regardless of whether they want it to run or not? This is highly invasive.

  • enable javascript add-ons usually is not a good idea, most browsers blocking this for own security.

  • 1

    In this link he asks me to download the Flash, not to activate the flash.

  • @diegofm would like to send a message warning at least that it needs to activate to perform a function.

1 answer

8

There is no official way to enable Flash using Javascript only, if you figure out how to do this will possibly be treated as a security issue.

About the play.spotify.com/browse, it clearly asks the user to enable, manually, this does not require JS, but rather the interpretation of the browser by clicking on https://get.adobe.com/flashplayer/,

Use this:

<a href="https://get.adobe.com/flashplayer/" target="_blank">Clique aqui</a>

Will show a notification, depending on the browser, test it out here, like this one:

inserir a descrição da imagem aqui


Chrome by default already has Flash installed and updated by default, but turned off, unless the user removes it manually. Other browsers may not even have access to Flash, this same link will point to the Flash download page.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.