Hi Shubham, Javascript buttons are no longer supported by salesforce but you can use custom url buttons as their replacement. Custom URL buttons are suitable substitutes for JavaScript buttons that direct to a page on an external website or that navigate to a different record in Salesforce.
Full Answer
Which browsers are not supported for Salesforce Salesforce console?
Chrome isn’t supported for: The Add GoogleDoc to Salesforcebrowser button The Console tab (The Salesforce consoleis supported.) Apple® Safari® versions 5.x, 6.x and 7.x on Mac OS X There are no configuration recommendations for Safari. Apple Safari on iOS isn’t supported for the full Salesforcesite.
Does Salesforce support support Internet Explorer 7 and 8?
Salesforce Customer Support will not investigate issues related to Internet Explorer 7 and 8 after this date. Supported Browsers | Browser Support and Configuration | Salesforce Developers Share your feedbackabout our new site.
Is Safari on iOS supported for the Salesforce CRM?
Apple Safari on iOS isn’t supported for the full Salesforcesite. Safari isn’t supported for: The Salesforce console Salesforce CRM Call Centerbuilt with CTI Toolkit versions below 4.0
What Internet Explorer versions are supported for Salesforce CRM call center?
Internet Explorer 11 isn’t supported for Salesforce CRM Call Center built with CTI Toolkit version 4.0 or higher. Community Templates for Self-Service supports Internet Explorer 9 and above for desktop users and Internet Explorer 11 and above for mobile users. Internet Explorer 9 isn’t supported for Salesforce Analytics Cloud.

Does Salesforce support JavaScript?
Salesforce today announced Lightning Web Components, a tool that allows developers to code components in the Lightning Platform — its front-end framework for app development — using JavaScript.
How JavaScript is used in Salesforce?
Using JavaScript in Visualforce Pages Customize the functionality of your Visualforce pages. Pass parameters to the JavaScript, show pop-ups, confirm messages, etc. Display Visualforce page validation messages as pop-ups. Call controller methods from JavaScript.
Can we use JavaScript in lightning component?
lightning.force.com/auradocs/reference.app.. A component bundle can contain JavaScript code in a client-side controller, helper, or renderer. Client-side controllers are the most commonly used of these JavaScript resources.
Which browser does Salesforce recommend?
Although we recommend using the latest browsers, older versions of Chrome, Firefox, and Internet Explorer should work with Salesforce Maps. However, running Salesforce Maps on significantly older versions of these browsers may cause unpredictable performance.
How do I add JavaScript to Salesforce?
Adding JavaScript to the Page BodyIn the Scripts section of the Properties pane, click Configure in the Edit Body Scripts section.Enter the code in the Edit JavaScript Code dialog box. Don't add