Embedly cards with Polymer not working on Chrome - google-chrome

Starting with a clean version of the Polymer Starter Kit (2.0.1), I was attempting to implement some Embedly cards as described in this post.
Everything is working fine on Firefox and Edge, but cards are not loading on Chrome.
I vaguely suspect this may be because the asynchronous XMLHttpRequest calls in the imported embedly platform javascript file were seen as synchronous, and deprecated on Chrome.
Anybody faced a similar issue?
Could you advice on a workaround?

Related

Puppeteer: Can't access iframe elements after update from 2.1 to 3.1 with built-in firefox

I recently updated my puppeteer version from 2.1 to 3.1. I was using pupeteer-firefox on the previous version. And now since pupeteer 3.1 has firefox built-in, I am using that. But it's only an experimental feature from pupeteer.
This code was working properly with the previous version.
const elementHandle = await page.$("iframe[src^=\"https://docs.google.com/picker\"] [id=\":7\"]")
await elementHandle.click()
Steps to reproduce
login to google: https://accounts.google.com/ServiceLogin?hl=en&gl=en
Go to: https://www.google.com/maps/d/?hl=en&gl=en
Create a new map
search for a location and add it to the map
click on the add image icon image icon
Now an iframe will open up. I need to click on the element with id=":7" inside the iframe and input image url. Can some one please help me out?
This is the official test result of puppeteer's firefox.
https://hg.mozilla.org/mozilla-central/file/tip/remote/puppeteer-expected.json
Every test against iframe is either FAIL or SKIP.
And google won't give support for firefox inside the pupeteer.
So I've come to the conclusion that it's not possible to access the iframe using pupetteer especially when cross-site scripting is banned.
I've abandoned puppeteer and started using microsoft's playwright. And everything's going good.
Please note that not Google is working on Puppeteer support in Firefox. And as you already said yourself Firefox support is in experimental stage right now. That said we are working hard to add better support for various features and APIs, but that's not a task that can be done within a week.
In regards of your question I can say that I added iframe support for a lot of APIs recently, and it's all available in Firefox 79 now.
Also note that Playwright is using a modified and unofficial Firefox build based on a recent Firefox beta.

Chrome Canary removes Mapbox access token

since a few days I have problems developing a website with a mapbox map using Chrome Canary (Build: 68.0.3409.0) on macOS.
Problem:
Mapbox is sending requests with a query param access_token=XXXX this param gets a special treatment by Chrome Canary resulting in access_token=anonymized. Therefor mapbox is denying my request.
Screenshot from DevTools Networktab Screenshot from Console
Localy I can reproduces the problem easily and I also created a JS fiddle (https://jsfiddle.net/LiquidSky/xr4rq9zw/) demonstrating the problem, however the offical mapbox examples work fine.
I have no adblocker or stuff installed, just the usual webdev tools.
Question:
Now I wonder if this is related to some security feature coming up in chrome or if this might even be a bug, for which I should open a bug ticket?
Thanks for every info :-D
Kind regards Nico
SOLUTION: Disable Ghostery
Did you get anywhere with this? I have the exact same issue in stable chrome.
It only seems to have caused me issues in the past week or 2 though

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

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.

Rikulo Bootjack Dart modal window not working on android devices

I'm building a webapp with Dart and I've used Rikulo's Bootjack library to get some Bootstrap elements. I have two modal windows in my app.
One of them is lanunched by triggering a button so I just had to follow the examples:
https://github.com/rikulo/bootjack/tree/master/example
I want the other one to be launched only on certain situations, so I've coded the following:
Modal myWindow;
DivElement readComplete = querySelector('#readComplete');
myWindow = new Modal(readComplete);
myWindows.show();
I've notice that both windows works fine in Desktop environments, but I've not been able to run the second way on Android Devices. I've tested with Chrome, Chrome Beta and Firefox. Does anyone has an idea of what may be going on? Is this a library or device restriction or I am doing something wrong?
Thanks!
Problem solved. Sorry for the trouble guys, but finally it wasn't related with bootjack. There was a different behavior between mobile and desktop solution when calling the 'route' library to use a Websocket. That was causing the show method not to be called due to an exception, but only on the mobile version. That is why I didn't see it when debugging from dart editor.

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!