Salesforce Voice Search Chrome Extension Release


You must have read the article where i wrote how can we create voice search extension. It is good for dev guys.

But all are not Dev’s so i released this. Now just install it and make your words stronger than hands. 🙂

This extension provides Speech to Text functionality. Right now you can search by typing text. It’s little time-consuming.

How does it work?
You just have to click on salesforce search bar and speak here, you will be redirected to search result as salesforce providing.

After Installing the extension refresh or open new salesforce page, click on the search bar.

Then it will ask for permission. Here allow it to Use your microphone. It is just one time setup.

Install it from here

If you like this extension then please don’t forget to give your review and feedback.🙂

Speak and Cheers!!
Happy Salesforce!!

Salesforce Coding Utility Chrome Extension


Hi Everyone,

In this post, I will introduce my new salesforce coding utility chrome extension. This is a very cool extension. I have made this for me and my friends. But after some time, we felt that we are addicted to this extension very much and it can be useful for another developer too. That’s why I published it and I hope you will like it.

About SFCU:
This extension provides you following features:
1. Code in maximized window:
We can code in Developer console and Setup tab(Like VisualForce Pages, Apex Classes, Apex Triggers, Visualforce Components). In Developer Console, we can code in maximized window but using the Setup tab we don’t have the option to maximize the window. In this case, it is difficult to code and see compile time errors on the page.
Using this extension you just need to check the Maximize checkbox, which will appear on the top-left corner. You can minimize the window just by unchecking the Maximize  checkbox.

2. View only debugs: If you are looking debugs from Developer console. Then we have Debug Only checkbox. Same thing you can do on apex debugs page using this extension. You need to just check the Debugs checkbox to see only debugs.

3. Clear All Button: In salesforce sometimes we have lots of Debugs generated. Salesforce provides a button “Delete All” but it deletes only one page of debugging at a time. This extension will give you a “Clear All” button next to Delete All button. This button will delete all debugs. You just need to click on this button it will delete all debugs one by one. You don’t need to click Delete All button again and again.

This extension has many features. Maybe you don’t need all features but I think you would like to use at least one or two of them.

I will try to add some more feature in this extension.

Install it from here

If you like this extension then please don’t forget to give your review and feedback. 🙂

Happy Salesforce!!!

Create Chrome Extension for Voice Recognition Search in Salesforce


Hi All,

After this post you can search using voice recognition system in salesforce search bar. Right now you can search by typing text. Its little time-consuming. This extension provides Speech to Text functionality.
This post also gives you basic things for how to create a chrome extension.
Please read “Voice Recognition Search in Salesforce (VF-Page)” post to understand this post better.
How it works ?
You just have to click on salesforce search bar, after this speak and you will redirected to search result as salesforce providing.

Search enable

Implementation of Extension :
We need five components :
1. manifest.json
2. inject.js
3. jquery.min.js
4. background.js (Read here)
5. icon.png


Every extension has a JSON-formatted manifest file, named manifest.json, that provides important information. Read more about manifest file. In this file we defines that on which domain extension will work, in this example it works for * . we can enable for salesforce community as well.

 "name": "Salesforce Voice Search",
 "version": "1.0",
 "description": "A utility do search by speech.",
 "icons": {
 "128": "icon.png"
 "permissions": [
 "tabs", "https://**"
 "background": {
 "scripts": [
 "content_scripts": [
 "matches": [
 "js": [
 "manifest_version": 2


This file contains javascript which will injected on salesforce pages.

//Creating script for enable voice recognition 
var ScriptStr = '(function() {'+
					'\'use strict\';'+
					'if (! (\'webkitSpeechRecognition\' in window) ) return;'+
					'var talkMsg = \'Speak now\';'+
					'var patience = 6;'+
					'function capitalize(str) {'+
						'return str.length ? str[0].toUpperCase() + str.slice(1) : str;'+
					'var speechInputWrappers = document.getElementsByClassName(\'searchBoxClearContainer\');'+
					'[], function(speechInputWrapper) {							'+
						' var inputEl = document.getElementById(\'phSearchInput\');'+
						'var micBtn = document.getElementById(\'phSearchInput\');	'+
						'var inputHeight = inputEl.offsetHeight;'+
						'var inputRightBorder = parseInt(getComputedStyle(inputEl).borderRightWidth, 10);'+
						'var buttonSize = 0.8 * inputHeight;'+
						'var finalTranscript = \'\';'+
						'var recognizing = false;'+
						'var timeout;'+
						'var oldPlaceholder = null;'+
						'var recognition = new webkitSpeechRecognition();'+
						'recognition.continuous = true;'+
						'function restartTimer() {'+
							'timeout = setTimeout(function() {'+
							'}, patience * 500);'+
						'recognition.onstart = function() {'+
							'oldPlaceholder = inputEl.placeholder;'+
							'inputEl.placeholder = talkMsg;'+
							'recognizing = true;'+
						'recognition.onend = function() {'+						
							'if( document.getElementById(\'phSearchInput\').value != \'\' ){'+
							'}						'+
							'recognizing = false;'+
							'if (oldPlaceholder !== null) inputEl.placeholder = oldPlaceholder;'+
						'recognition.onresult = function(event) {'+
							'for (var i = event.resultIndex; i < event.results.length; ++i) {'+
								'if (event.results[i].isFinal) {'+
									'finalTranscript += event.results[i][0].transcript;'+
							'finalTranscript = capitalize(finalTranscript);'+
							'inputEl.value = finalTranscript;'+
						'micBtn.addEventListener(\'click\', function(event) {'+
							'if (recognizing) {'+								
							'inputEl.value = finalTranscript = \'\';'+
						'}, false);'+
//Injecting script on page
	var elem = document.createElement("script");
	elem.type = "text/javascript";
	elem.innerHTML = ScriptStr;

How install it in google chrome ?
1. Create a folder name as “Salesforce Now”
2. Put all files in this folder
3. Type chrome://extensions/ in your browser
4. Check the Developer Mode CheckBox
5. Click on Load unpacked extension..
6. It will open a window, in this window define path of your chrome extension folder.

After all setup it will appears in your extension list.

Whenever your browser will opens, it ask for continue with developer mode that time select continue.

Now refresh or open new saleforce page, click on search bar. Allow it to Use your microphone.

Email me on for complete code.

If you have any suggestion, will be appreciated. 🙂