Google Chrome doesn't ask to run flash content using swfobject.js - google-chrome

I have many old websites with partial flash contents which I init with swfobjects library. The problem is Chrome isn't even asking to allow flash, the pages runs as they don't have any flash objects. I'm using latest Chrome Canary but same problem in latest Chrome too.
Example site which has a big flash banner and it is the only meaningful content: sahinkomur.com.tr

Found a solution on GitHub: https://github.com/swfobject/swfobject/issues/57
if(window.chrome)
swfobject.ua.pv = [100, 0, 0];
swfobject.embedSWF(...);
This answer was posted as an edit to the question Google Chrome doesn't ask to run flash content using swfobject.js by the OP HasanG under CC BY-SA 3.0.

Related

Chrome 32 - Tab opened with chrome extension doesn't render plug-in correctly

We have a Chrome extension that can be used to open a page into our website. From there the user then continues onto the next page which has a custom NPAPI plug-in embedded in it. This has always worked fine. However, since the version 32 update the plug-in loads and runs (it's a video conferencing plug-in and is clearly running as the other side can see video) however it doesn't show up on the page. Examining the DOM everything looks fine. Grabbing the border and re-sizing the browser will cause the plug-in to suddenly render correctly. I've tried all manner of javascript/css tricks to try and mimic this behavior as a workaround but nothing works. Tabs opened manually (not using chrome.tabs.create) work fine.
This worked up till 32.
Any ideas around this?
Chrome 32 is phasing out NPAPI, read the announcement here.
There is a deprecation guide that you can read here.
It seems like Google wants you to use it's Native Client tech to run native compiled code on user's machines. It is cool stuff...but so far I've found it difficult/more limiting to work with when compared to NPAPI (but there are obvious upsides, security for instance).
You could also build a native app and use native message passing to communicate from extension -> app. Once downside to this is that there is currently no way to bundle a native app into an extension install, so the user will need to download and install your app separately.

html angularjs live edit feature in chrome browser?

I have been practicing angularjs tuts from various tutorials,
I ran across a video tutorial which shows/depicts the live edit of html+angularjs in chrome browser
I am bit amazed with the feature , i am searching for the same since a day and unable to get any such feature,
Alterntatively i tried with webstrom7 which is bit buggy not working with chrome properly on frequent occasions, I know that brackets.io does implement such feature but i would be appreciating the below chrome live edit.
can anyone identify this live editor feature from the pic and suggest the best way to grab it for windows box - is the below a plugin ?
Is Batarang. a Chrome Extension!

How to make an HTML5 that does not require the blackberry browser component?

I used the latest and greatest jQuery Mobile (RC1) to develop an app for the client. I used the latest Webworks version from RIM and packaged the app in a Cod file.
The app works great if accessed through the web browser ETC however when I installed the actual generated JAD/Cod files onto a blackberry device, performance was horrible even with minimum number of jQuery libraries.
Since I have Googled this everywhere and it is apparent that one cannot have a meaningful app experience if Webworks is used, I want to be able to just create something that just places the app icon on the phone. Once clicked, it open the browser and takes the user to the web server where the HTML files are parked.
Is this possible?
You can do that, with a very simple Java-application.
The following code:
Browser.getDefaultSession().displayPage("http://www.yourserver.com");
It will open browser and open page: http://www.yourserver.com
Browser class javadoc is here: http://www.blackberry.com/developers/docs/5.0.0api/net/rim/blackberry/api/browser/Browser.html

A page without flash is triggering the following yellowbar in ie8

This website wants to run the following add-on: Adobe Flash Player from ...
why would i be getting this if i am not running any flash on my page?? thanks
There must be some toolbar or add-on trying to access it. Or most of the .cab or .dll uses the ActiveX. May be the reason but not sure.
I had the same problem, and flash was triggered by the Google Analytics tracking code that was added to the page. However this doesn't happen on all IE8 setups. My configuration was Windows XP SP3, IE 8.0.6001.18702.
A quick workaround is disabling the flash tracking by adding _gaq.push(['_setDetectFlash', false]); just before _gaq.push(['_trackPageview']);

Is Google Chrome embeddable?

I've asked myself if one can embed the google chrome browser engine in an own application. I'm using Delphi 2009. There's an IE ActiveX wrapper component delivered with the IDE. Also, there's a Firefox ActiveX component out there, but it's based on very old code.
I'd like to embed the chrome engine. Is there a way to do this?
Thanks in advance,
David
Google Chrome is basically WebKit layout engine + nice UI. And WebKit can be embedded.
There's also chromium embedded framework (CEF).
And finally, check out Awesomium.
Update 2:
A very good fit for this would be the new Electron Shell
Update:
As a commenter points out under this answer, this is no longer supported. For good reasons I guess.
Recently Google released the Chrome Frame active X for MS IE
see if that helps
http://code.google.com/chrome/chromeframe/
I've just release a pre-alpha version of CefSharp my .Net bindings for the Chromium Embedded Framework.
Check out source or grab bins and give me your thoughts: https://github.com/chillitom/CefSharp