i want to sign in Mozilla Firefox using a smart card. is there any java script code, running in Mozilla Firefox, where we can use window.crypto.signText to sign some text.
should we use addon or extension to do this task. i heard that crypto api's and window.crypto.signtext is disabled from Firefox version 33. Is there any alternative for signing done in Mozilla Firefox?
Related
Google Chrome has #types/chrome for extension developing. Is there same thing for MS Edge? I find some mismatches between chrome and edge browsers and was hoping that types could help a bunch.
You don't need it. Edge is based on Chromium, and the same Chromium extension can be submitted to the Edge extension store.
https://learn.microsoft.com/en-us/microsoft-edge/extensions-chromium/
If you've already developed an extension for another Chromium-based browser, you can submit it to the Microsoft Edge Add-ons website. You don't need to rewrite your extension, and must verify it works in Microsoft Edge. When you migrate an existing Chromium extension to other Chromium browsers, make sure the same APIs or alternatives are available for your target browser.
For compatibility, make sure the API you use is supported by Edge (Supported APIs for Microsoft Edge extensions)
I am trying to find a way to detect a user's java version using javascript. I have tried both PluginDetect and deployJava.js. Both work on Firefox but return null on Chrome. Not getting any warning about blocked plugins, and no console messages, so I'm not entirely sure what the problem is. Anyone know?
Chrome no longer supports NPAPI (technology required for Java applets) or check also if javascript is enable on chrome.
But i found some sites maybe this can help u to detect browser and browser version:
Using jquery api
2nd site
jsfiddle demo browser detect
css-trick.com
Javascript detect what Chrome version STACKOVERFLOW
And This last
I need to convert a Greasemonkey script into a restartless Firefox addon.
It used to be possible to do this very easily using the Scriptify extension, but the extension has not been kept up to date with the latest changes to the Firefox browser, and no longer works.
Is there an alternate way to accomplish this?
It turns out, the developer of the Scriptify extension has updated his extension for compatibility with the newer Firefox browsers. Hooray! :)
UPDATE Now that Firefox has implemented the WebExtensions API for Firefox Extensions, it means its very easy to create restartless Firefox extensions from Greasemonkey scripts, as Firefox extensions built with the "Web Extensions" API are by default restartless, and you can include the gm script as a content script in the Firefox extension.
For an example of how to create a Firefox Extension using the new WebExtensions API, see here: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Your_first_WebExtension
How to do text to speech on Chrome using JavaScript without any use of extensions or plugins? For Firefox and IE it's working great. I don't know how to do it for Chrome. The hard part is to do it without any plugins and extensions in JavaScript?
You can use this jQuery function to do speech to text (but not text to speech).
$(document).find(':input[type=text]').attr('x-webkit-speech', "x-webkit-speech");
BTW: this only works in Chrome and not any other browsers
As far as I understand it, you can't simply embed Javascript into a page to provide this at the moment. You'll need to develop an extension, as chrome provides APIs but they require extension-level permissions: http://googlecode.blogspot.com/2011/10/new-text-to-speech-api-for-chrome.html
The only other alternative I see is completely writing your own library using the Google audio API (part of chromium) that converts text into speech using FFT synthesis, and that could take years. The documentation for that API is here: http://chromium.googlecode.com/svn/trunk/samples/audio/index.html
I'm trying both greasemonkey and Google's Chrome extensions. And found that Chrome seems to be using the same API names as GM. (I seem to be having the same bug...)
Just wondering whether greasemonkey is already a Google Chrome extension?
Yes, I believe you can just add Greasemonkey scripts and Chrome installs them as an 'extension' like all the other native extensions.
Checkout this article:
http://lifehacker.com/5461675/chrome-4-supports-greasemonkey-userscripts-without-an-extension
Note, however that some scripts seem to be supported on GreaseMonkey for Firefox only and can be a little buggy in Chrome. I'm not sure of the exact differences in implementation.
Simon.
#Simon pretty much hit it, but I wanted to make sure that this point is super-clear.
Google Chrome supports Greasemonkey scripts natively, using the same API so as to make existing scripts compatible. There's no Greasemonkey extension required.
Yes, Chrome supports userscripts but not fully as Greasemonkey. For example check out this userscript
Docs Online Viewer: http://userscripts.org/scripts/show/127774
It works well with Greasemonkey (in Firefox) but not with Chrome natively. There are many Greasemonkey functions that Chrome does not support yet.
I copy and paste a post from GreaseMonkey:
There is no greasemonkey extension for google chrome. What actually happened is chromium (the project which google chrome is based) developed it's own extension system and one component of that extension mechanism (probably inspired heavily by greasemonkey in the first place) works in almost exactly the same way (an external javascript interacting with a page purely through it's DOM) as greasemonkey. The chromium system uses a completely different api but effectively does the same thing. This large overlap in purpose and functionality combined with the popularity of greasemonkey on firefox meant they decided to implement the greasemonkey api (the majority of it anyway) natively within chromium. From there they went one step further and had the browser automatically wrap any greasemonkey scripts inside a chromium extension automatically and effectively made greasemonkey scripts a first class citizen.