News for hackers. Stuff that matters.
Re:Chrome will stop displaying ads that are repeatedly flagg... by TekMol on Tuesday February 13, 2018 @10:06AM (#16367627)
I wish Google would do something against the so called 'Rogue Redirect Ads' in their AdSense network. Ads that redirect the parent frame.

When I browse the web on my Android phone, I get redirected to spam every 10 pageviews or so. And no, it's not a problem of the phone. It's a known issue that ads can break out of their iframe:

https://www.androidpolice.com/2017/11/08/heres-protect-rogue...

IMO Javascript should not be allowed in ads at all. Unless that gets implemented, I have the feeling that all blog posts about improving the user experience are just lip service.

Re:Chrome will stop displaying ads that are repeatedly flagg... by vorpalhex on Tuesday February 13, 2018 @12:05PM (#16368707)
> IMO Javascript should not be allowed in ads at all.

I agree fully. I think part of the issue is that the folks submitting ads want to collect a lot of data. They probably don't use that data (or if they do, not well), nor do I trust them to not collect very invasive and unsafe data, but I suspect for many folks that having their own JS payload makes or breaks a possible ad network.

Given concerns about Monero mining, redirects, and other hijinks, removing JS from ads is even more critical now. I think the compromise will be to give ads some kind of network provided hook to get data back to "home" eventually, though then the issues above only shift from the ad provider to the ad network provider.

Re:Chrome will stop displaying ads that are repeatedly flagg... by Klathmon on Tuesday February 13, 2018 @06:41PM (#16372010)
Or at the very least, provide a domain-specific-language that "compiles" to JS that can do very limited things like animations and others.

That combined with requiring all of the assets to be hosted on the ad-network's servers would greatly improve the experience. (mainly because ad-networks are larger companies that the host website has a direct relationship with, so when users complain the site can talk to the ad-network, and the ad network can instantly do something about it)

Sadly, they have no incentive to do that, as those ads would be more expensive to create, most likely make less money, and most users that block ads block all of them regardless of how invasive they are. Adblockers treat all ads the same, and so now advertisers are faced with the choices of:

1. make more shitty invasive ads

2. make "better" ads (better for the user) and make less money while spending more and having users still block them anyway.

This is why I really believe that the "better ads" thing from google and others is a really good idea, because it helps re-align the incentives back with the user in some ways. If that works, shitty ads will be blocked much more widely, while good ads will get more views and more users.

Re:Chrome will stop displaying ads that are repeatedly flagg... by feikname on Tuesday February 13, 2018 @07:36PM (#16372348)
I believe the term you are looking for is "transpiler".
Re:Chrome will stop displaying ads that are repeatedly flagg... by Klathmon on Tuesday February 13, 2018 @08:03PM (#16372480)
No, it's a full compiler that would compile a DSL into JavaScript. Just because it's "to JavaScript" doesn't mean it's a transpiler.
Re:Chrome will stop displaying ads that are repeatedly flagg... by brett40324 on Tuesday February 13, 2018 @08:54PM (#16372787)
> DSL to Javascript

That is a perfect example of the definition of transpiler!

Re:Chrome will stop displaying ads that are repeatedly flagg... by Klathmon on Tuesday February 13, 2018 @09:00PM (#16372825)
I've never heard the term "transpiler" used to refer to anything DSL specific.

I've only ever heard it used for source-to-source compilers for JavaScript dialects.

Re:Chrome will stop displaying ads that are repeatedly flagg... by brett40324 on Tuesday February 13, 2018 @09:10PM (#16372862)
Any source code to source code translation is considered transpilation until targeting byte code or other form of representation that is byte code, VM, or CPU specific. The terms do become blurred sometimes.
Re:Chrome will stop displaying ads that are repeatedly flagg... by adamgamble on Tuesday February 13, 2018 @10:13AM (#16367681)
Re:Chrome will stop displaying ads that are repeatedly flagg... by TekMol on Tuesday February 13, 2018 @10:23AM (#16367768)
I know that they have this new mechanism in Chrome 64. That is actually mentioned in the article I linked to.

But I would prefer if the did not deliver Javascript inside ads in the first place.

Re:Chrome will stop displaying ads that are repeatedly flagg... by matt4077 on Tuesday February 13, 2018 @09:11PM (#16372867)
So you when you said you'd "wish Google would do something" you already knew that, in fact, they have already done something?

And presumably the use of this lie was to provide an example to support your argument that ads should not contain Javascript at all?

Re:Chrome will stop displaying ads that are repeatedly flagg... by spiznnx on Wednesday February 14, 2018 @11:59AM (#16377224)
Google runs an ad network and releases a browser. Presumably he is aware that Chrome is doing something, but wishes that AdSense and DoubleClick would do something.
Re:Chrome will stop displaying ads that are repeatedly flagg... by y03a on Tuesday February 13, 2018 @10:27AM (#16367803)
If you're on Android I very highly recommend using Firefox with uBlock Origin.
Re:Chrome will stop displaying ads that are repeatedly flagg... by sergiosgc on Tuesday February 13, 2018 @10:50AM (#16368010)
Or Firefox Focus. It quickly became my default browser on Android, with the regular Firefox left for sites where I maintain a session.
Re:Chrome will stop displaying ads that are repeatedly flagg... by y03a on Tuesday February 13, 2018 @11:46AM (#16368517)
Focus is probably the best option on iOS but I don't trust Mozilla to block tracking the way I want it done, I'm far more comfortable with uBlock Origin handling it. If I want the extra protection of deleting my cookies and history on exit I'd rather just start a private tab. Most of the time, I want to stay logged in on sites.
Re:Chrome will stop displaying ads that are repeatedly flagg... by scarface74 on Tuesday February 13, 2018 @05:27PM (#16371421)
Why Focus on iOS? iOS has had a framework for third party content blockers for years. If you install a content blocker for iOS, it also works with other apps depending on which webview they use. For instance they work with Feedly.
Re:Chrome will stop displaying ads that are repeatedly flagg... by systoll on Tuesday February 13, 2018 @09:08PM (#16372853)
The iOS version of Focus is implemented as a content blocker, and you can use it across the system.
Re:Chrome will stop displaying ads that are repeatedly flagg... by Polyphonie on Tuesday February 13, 2018 @11:34PM (#16373507)
Not across the system, though. It only works in Safari. For system ad-blocking, the easiest option is via DNS based Ad-blocker services like Adguard Pro or Adblock (both are paid apps and available on the App Store).

There's also the VPN option. PIA, for example, comes with its own system ad-blocker (MACE) although it's nowhere as good as Adguard Pro (which allows you to use custom DNS server).

Re:Chrome will stop displaying ads that are repeatedly flagg... by scarface74 on Wednesday February 14, 2018 @05:06AM (#16374777)
It's not just Safari. The only times I really care about ad blocking are using the web with safari and Feedly and watching video. The content blocker also works with web view embedded in Feedly.

I very seldomly watch live ad supported video. I have ad free Hulu. For the two networks that aren't on Hulu - CW and CBS, I watch VOD from them via Plex. Because of the way that the Plex channels work, they skip the ads.

Re:Chrome will stop displaying ads that are repeatedly flagg... by mulmen on Tuesday February 13, 2018 @12:34PM (#16368942)
Why do you distrust Mozilla in this case?
Re:Chrome will stop displaying ads that are repeatedly flagg... by NoGravitas on Tuesday February 13, 2018 @01:21PM (#16369389)
For me it's not a matter of trust, it's just that there's no customizability to the ad-blocking on Focus, even at the level of choosing blocklists to subscribe to, or adding particular elements to be blocked.
Re:Chrome will stop displaying ads that are repeatedly flagg... by y03a on Tuesday February 13, 2018 @09:34PM (#16372956)
I don't want a company that releases a "privacy focused browser" with telemetry enabled by default deciding which tracking is "ok" and which isn't. I love Firefox compared to other browsers but there's definitely some user-hostile choices being made at Mozilla and I'd rather they just not get involved in ad blocking (other than ensuring the add-on architecture allows proper blockers to do what they need to get the job done right).
Re:Chrome will stop displaying ads that are repeatedly flagg... by amq on Tuesday February 13, 2018 @01:27PM (#16369454)
Or Brave.
Re:Chrome will stop displaying ads that are repeatedly flagg... by dingo_bat on Tuesday February 13, 2018 @08:19PM (#16372580)
Brave is not usable yet in mobile, from my experience. I'll give them a few more cycles before using it full time on phone. Desktop version is much better though.
Re:Chrome will stop displaying ads that are repeatedly flagg... by amq on Wednesday February 14, 2018 @05:30AM (#16374861)
From my experience it's as good/fast as Chrome + the ad blocking.
Re:Chrome will stop displaying ads that are repeatedly flagg... by dingo_bat on Wednesday February 14, 2018 @09:54PM (#16381584)
I tried it in the very initial days. Maybe it's much better now.
Re:Chrome will stop displaying ads that are repeatedly flagg... by incognito92735 on Tuesday February 13, 2018 @11:11AM (#16368205)
> Ads that redirect the parent frame.

Putting the ad in an iframe without the allow-top-navigation[0] sandbox permission could prevent that. Or if the ad naturally consists of an iframe then a browser extension could intercept the iframe load and add the equivalent CSP rule[1]. Or google could do that themselves. I think they would still be allowed to open in a new tab.

[0] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/if... [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Co...

Re:Chrome will stop displaying ads that are repeatedly flagg... by freehunter on Tuesday February 13, 2018 @01:23PM (#16369416)
Similar things happen on iOS, too. I can't tell you how many times I'm trying to go to a seemingly legitimate site on my iPhone and I get redirected a dozen times and end up at "You've won a free Samsung tablet!" instead of the content I asked for.
Re:Chrome will stop displaying ads that are repeatedly flagg... by Polyphonie on Tuesday February 13, 2018 @11:42PM (#16373542)
You're probably either not using the right ad-blocker or fail to configure the ad-block properly. If you just want a content-blocker that works in Safari- I find Purify works the best. If you want a full system ad-blocker which works in most apps- NYT, BBC, Chrome though not in the YouTube, Instagram, Twitter apps- it would have to be a DNS based Ad-blocker like Adguard Pro.
Re:Chrome will stop displaying ads that are repeatedly flagg... by sekh60 on Tuesday February 13, 2018 @10:33AM (#16367856)
Try firefox on Android. It has full extension support, so you can use whatever adblocker or javascript blockers you like.
Re:Chrome will stop displaying ads that are repeatedly flagg... by tdeck on Tuesday February 13, 2018 @04:52PM (#16371156)
Brave is also a good choice.
Re:Chrome will stop displaying ads that are repeatedly flagg... by com2kid on Tuesday February 13, 2018 @07:27PM (#16372295)
I saw this happen on an AMP page.

I was... rather surprised. One of AMP's huge value props is preventing that type of garbage.

I'm also surprised that the publisher did that, I hope that'd be a good way to get blacklisted from the higher search ranking placement.

Re:Chrome will stop displaying ads that are repeatedly flagg... by 0xfeba on Tuesday February 13, 2018 @11:52AM (#16368579)
Thanks for reminding me about this problem. A few websites I visit have spammy ads that do this and it is very frustrating, but I forget as soon as I leave the loo.

And now I have FF and uBlock Origin on my phone.

Re:Chrome will stop displaying ads that are repeatedly flagg... by toomanybeersies on Tuesday February 13, 2018 @07:26PM (#16372286)
I started getting them for a while a few month ago. It made browsing certain sites on my phone almost impossible, I'd get a rogue redirect literally every time I tried to access the page.
Re:Chrome will stop displaying ads that are repeatedly flagg... by h1d on Wednesday February 14, 2018 @12:24AM (#16373682)
How do you define "ads"?
Re:Chrome will stop displaying ads that are repeatedly flagg... by javery on Tuesday February 13, 2018 @10:11AM (#16367664)
There is some work going on to remove Javascript, but it is slow going. Most publishers won't trade off revenue for performance and security so there is no incentive for the buyers to change their ways.
Re:Chrome will stop displaying ads that are repeatedly flagg... by TekMol on Tuesday February 13, 2018 @10:29AM (#16367817)
Giving publishers a choice would be a start. A checkbox 'Allow JavaScript' for AdSense publishers and a way to run revenue experiments about JS on/off.
Re:Chrome will stop displaying ads that are repeatedly flagg... by stordoff on Tuesday February 13, 2018 @01:27PM (#16369452)
That does raise the question is Google big/ubiquitous enough to force that on publishers? If Google unilaterally decided no more JS in ads., would the publishers grumble about it but adapt, or would they look to other ad networks.
Re:Chrome will stop displaying ads that are repeatedly flagg... by marcodave on Tuesday February 13, 2018 @05:36PM (#16371504)
...onwards to the WebAssembly ads!
Re:Chrome will stop displaying ads that are repeatedly flagg... by dingo_bat on Tuesday February 13, 2018 @08:17PM (#16372568)
You should use a system wide ad blocker. Adhell2 is a good one. I've stopped seeing any kind of ads in my phone, even inside apps.