BrowserSync custom browser - browser

How i can change 'browser' setting in BrowserSync to open all in Microsoft Edge Dev? I know only how to open in default Edge...

On Mac I use...
// Open in Edge
browser: 'microsoft edge'
// Open in Safari and Edge
['safari', 'microsoft edge' ]

Related

Can't execute content scripts in Edge extension after installation

In Chrome it is possible to run content scripts after an extension is installed, that is, the code below works and the words 'content script' are shown in the console log of all open tabs after the installation.
In Edge, however, this does not work. It seems to be a bug in Edge.
Any ideas how to work around so that content-script.js is executed after extension installation in all tabs?
background.js
browser.runtime.onInstalled.addListener(function(details) {
var scripts = browser.runtime.getManifest().content_scripts[0].js;
browser.tabs.query({}, function(tabs) {
tabs.forEach(function(tab){
for(var k=0; k<scripts.length; k++) {
browser.tabs.executeScript(tab.id, {
file: scripts[k]
});
}
});
});
});
content-script.js
console.log("content script");
I can see that you are testing the extension with the MS Edge legacy version.
Microsoft is no longer accepting the new extensions for the MS Edge legacy version.
I suggest you develop an extension for the new MS Edge Chromium browser. You can encourage your users to move to the new Edge Chromium browser. As the new MS Edge uses the Chromium browser engine, it may also help to fix this issue.

Security Concerns on Enable of Initialize and Script ActiveX Controls not Marked as Safe for Scripting Settings from IE from Security - Trutsted Zones

We have a requirement to open Google Chrome Browser from Internet Explorer 8. To do this, we are using JavaScript ActiveXobject with the following code.
Code Snippet:
var URL ="http://www.google.com"
var chromeCommand = "Chrome --app="+URL+" --allow-outdated-plugins";
var shell = new ActiveXObject("WScript.Shell");
shell.run(chromeCommand);
For this, we need to set Enable "Initialize and Script ActiveX Controls not Marked as Safe for Scripting" radio button from Tools->Internet Options->Security Tab->Trusted sites -> Custom Level ...
Is this enable setting will harm anything on security concerns?
Please let me either we can open Chrome browser in this way or not, or else any alternative to do this.
Will this code work for Linux OS Internet Explorer?

Error when installing Hosted Chrome Extension

I built a chrome extension. I don't want to host it (yet) in the chrome webstore. I want to self host it. I have packaged the .crx, and deployed it to my localhost. Here is the code I use to serve it:
app.get('/myext.crx', function(req, res){
var file = __dirname + '/public/myext.crx';
res.download(file);
});
Then I have an anchor tag that points to the file:
Install <strong>myExt for Chrome</strong>
When it downloads, it has the correct content-type header (per the instructions http://developer.chrome.com/extensions/hosting.html). Here is the info from the Network tab in Chrome Devtools when I click the anchor:
**Response Headers**
Connection:keep-alive
Content-Description:File Transfer
Content-disposition:attachment; filename=myext.crx
Content-type:application/x-chrome-extension
Date:Sat, 14 Dec 2013 07:09:46 GMT
Transfer-Encoding:chunked
X-Powered-By:Express
It all looks good, but Chrome still shows me the yellow banner error saying "Apps, extensions, and user scripts cannot be added from this website".
Am I missing a setting in the manifest? Can someone tell me what the issue is? Does it have anything to do with the fact that I am serving on localhost and the "homepage_url" and the "update_url" both point to my actual domain name?
Anyone, please.
UPDATE
It downloads the file, but gives me the aforementioned error. If I open Tools > Extensions and then drag the file from the bottom of Chrome onto the Extensions page, it won't install it. Nothing happens. HOWEVER, if I open a Finder window and drag it from the Finder window onto Tools > Extensions page, it installs fine.
Not sure if this info helps or not.
Chrome is starting to block extension installs that are not from the Chrome Web Store. If you don't want an extension to be fully published in the CWS, you can limit the audience with the publish to test accounts or accessible by URL only features.

What is wrong with this chrome extension?

I have downloaded this chrome extension https://github.com/jeffreyiacono/penalty-blox
When I load it via load unpacked extension it gives me this error
1.manifest_version key must be present and set to 2
I solved it via adding manifest_version in manifest.json
2.After this when I reload it,The icon is coming but when I click on it nothing is working(looks like background.html is not working)
What changes should I do so that it workes perfectly?

sencha touch :: is it possible (and how) to open a website inside a panel or in external browser window?

i wonder if and how it is possible to open a website inside a panel or in an external browser window of the mobile safari! I tried to open a website inside a panel but due to crossdomain problems only the htm without the css was loaded.
any ideas?
thnx!
edit: let's say, we use phoneGap
As far as I know, cross-domain issues do block you from IFRAME solutions for displaying external links inside your app.
Best solution currently is to have links include target="_blank" to force a new browser window to open.
#Stevanicus #Dalar It does open a new window in Mobile Safari if you use Phonegap and allowed domains using phonegap.plist whitelist property, but if you do somthing like
var rateMsg = Ext.Msg.confirm('Title', 'Some message', function(e) {
if(e == 'yes')//If user confirms yes
{
window.open("http://www.example.com", "_blank");//We open a link with _blank to use mobile safari and not your webview
}
});
It does not work.

Resources