Slashdot Mirror


Google Engineers Explore Ways To Stop In-Browser Cryptocurrency Miners in Chrome (bleepingcomputer.com)

An anonymous reader writes: Google Chrome engineers are considering adding a special browser permission that will thwart the rising trend of in-browser cryptocurrency miners. Discussions on the topic of in-browser miners have been going on the Chromium project's bug tracker since mid-September when Coinhive, the first such service, launched. "Here's my current thinking," Ojan Vafai, a Chrome engineering working on the Chromium project, wrote in one of the recent bug reports. "If a site is using more than XX% CPU for more than YY seconds, then we put the page into 'battery saver mode' where we aggressively throttle tasks and show a toast [notification popup] allowing the user to opt-out of battery saver mode. When a battery saver mode tab is backgrounded, we stop running tasks entirely. I think we'll want measurement to figure out what values to use for XX and YY, but we can start with really egregious things like 100% and 60 seconds. I'm effectively suggesting we add a permission here, but it would have unusual triggering conditions [...]. It only triggers when the page is doing a likely bad thing."

An earlier suggestion had Google create a blacklist and block the mining code at the browser level. That suggestion was shut down as being too impractical and something better left to extensions.

189 comments

  1. Blocker detected by Anonymous Coward · · Score: 0

    Website forbidden. Please disable your cryptocurrency mining block and reload the page.

    1. Re: Blocker detected by Anonymous Coward · · Score: 4, Insightful

      Good, I'd never go back to that site.

    2. Re: Blocker detected by Anonymous Coward · · Score: 1

      So what about allowing mining, just doing it very slowly, and occasionally doing the calculations incorrectly so that the resulting hash is invalid?

    3. Re: Blocker detected by rkordmaa · · Score: 2

      The resulting hashes are pretty much always invalid. It doesn't take forever to calculate a single hash, you will calculate bazillion hashes but only one is correct.

    4. Re: Blocker detected by volodymyrbiryuk · · Score: 1

      Oh you will go back because it'll be your favorite porn site.

      --
      sudo rm -r -f --no-preserve-root /
    5. Re: Blocker detected by TiggertheMad · · Score: 1

      On the flip side, I would not mind letting a website I was on use some of my CPU time slices in lieu of ads IF THEY JUST ASKED NICELY. It would make a nice alternative to plastering every square inch of the browser window with 3rd party ads. I have a multi core proc, I can usually spare CPU for sites I like to run miners.

      --

      HA! I just wasted some of your bandwidth with a frivolous sig!
  2. Why isn't this already standard? by Baron_Yam · · Score: 2

    Most web surfing involves text, images, and perhaps video in a well-defined box. Anything else is generally crap that doesn't benefit the surfer.

    I'd say rather than a percentage of total CPU utilization, they ought to be measuring against a percentage of the browser's CPU usage. Any non-whitelisted script that is taking more juice than it would take to render a straight text-and-image page can be throttled to zero, in my opinion.

    1. Re:Why isn't this already standard? by Anonymous Coward · · Score: 0

      I like the idea of measuring against the rest of the browser, until I just have one tab open. Then, the majority of the browser's resources are for one tab, and trip the level.

      Still, an interesting thought...

    2. Re:Why isn't this already standard? by UnknownSoldier · · Score: 1

      > Anything else is generally crap that doesn't benefit the surfer

      Not always --there are valid use cases:

      * Notch prototyped Minecraft procedural textures
      * Us graphic geeks using WebGL "hang out" on shadertoy (Warning: Space Audio)

      As long the default is opt-out and we need to whitelist our favorite sites, while being a minor inconvenience, that is the right way to do it.

    3. Re:Why isn't this already standard? by Anonymous Coward · · Score: 0

      Some people use the web for more than that now days. It's basically become a desktop os. A common example is Google docs replacing excel, word, etc. You could be running cpu intensive spelling and grammar analysis.

      I have a site where you set up complex parameters and it does millions of calculations in JavaScript that can take more than 5 minutes to run with 100 cpu usage. The user knows and wants it to do this.

    4. Re:Why isn't this already standard? by Anonymous Coward · · Score: 0

      most web surfing involves javascript, grandpa.

    5. Re:Why isn't this already standard? by Anonymous Coward · · Score: 0

      I have run all browsers for past 4 years via CPU limit. There is nothing legit that a browser is doing that would require more than 5% of a modern cpu. The browsers just renders text and images, everything else should be done via a native application. Whoever does it in a browser is a *turbator.

    6. Re:Why isn't this already standard? by thegarbz · · Score: 1

      Most web surfing involves text, images, and perhaps video in a well-defined box.

      WTF? Did you stop using the browser in 2002 and then time travel 15 years? The internet hasn't been that in a LONG time. Hell if that is your definition of the internet we wouldn't be having this conversation because even Slashdot requires far more complexity than that, and it is incredibly frigging simple compared to most of the internet.

    7. Re:Why isn't this already standard? by Anonymous Coward · · Score: 0

      Slashdot do not require the cpu "for some time" like a coin miner would. Or some bloated unwanted ad-function might need.

      Sure, there may be some quick scripts here and there, but the sites we surf are mostly text, images and rarely a video. Perhaps there are a lot of sites with tons of javascript that need considerable cpu usage. I wouldn't know, I don't surf such places. And so I wouldn't miss them if they went under due to script-limiting browsers.

    8. Re:Why isn't this already standard? by lsatenstein · · Score: 1

      If my cpu fan starts to accelerate, it is a sure sign that my system is being exploited. Ergo, I shut it down and strart a different browser.

      --
      Leslie Satenstein Montreal Quebec Canada
  3. Easy bypass... Encrypted Media Extensions by Anonymous Coward · · Score: 0

    Since EME is a standard in web browsers across the line, all I do is just use that to obfuscate my miner jobs running. Easily bypassed.

  4. That's easy! by mobby_6kl · · Score: 0, Troll

    Disable Javascript. There's no reason not to.

    1. Re:That's easy! by Anonymous Coward · · Score: 2, Informative

      Disable Javascript. There's no reason not to.

      Other than the fact that all but the most ancient website won't work without it anymore... unless its a flash website that is.

      Try browsing with scripting summarily disabled and let me know how it works for ya.

    2. Re:That's easy! by Anonymous Coward · · Score: 1, Informative

      Great, except many sites simply don't load right and you can't navigate and are filled with gibberish when you do that. I like that Chrome allows me to control JavaScript on a per-page basis but I wish there was a big button on the toolbar that would allow me to turn it on and off at a whim if I want.

    3. Re:That's easy! by LordKronos · · Score: 4, Insightful

      LOL....yeah, there's not reason not to. Lets just abandon DHTML and go back to full page reloads on every action, not matter how small. It's been so long, I guess I must've forgotten how much I loved all those full page reloads.

    4. Re:That's easy! by Anonymous Coward · · Score: 1

      All the more reason to disable javascript then: we should not be teaching web sites that it is acceptable to depend upon.

    5. Re:That's easy! by tepples · · Score: 2

      Forum sites such as SoylentNews and Slashdot work without script. The user navigates or submits a form, and the site returns a document. Those web applications for which navigation and form submission are insufficient can be rewritten as a native application.

    6. Re:That's easy! by Anonymous Coward · · Score: 1

      You can do this in Safari. Enable under Safari Preferences "Show Develop menu in menu bar", and "command-j" toggles Javascript on and off on the fly.
      The neat thing about this is that there is no need to mouse to any Toolbar.
      The Safari Develop menu has some cool stuff in it, including various ways to snoop into the gibberish being downloaded, and ways to enable or disable such things as "WebGL".
      One thing that I wish that they would bring back, a notation on the bottom of the page of the percentage of a page being loaded. Much of the content waiting to be displayed is dependent these days on Third Party Cruft being loaded first.
      "command-j" is otherwise hit-or-miss.

      Captcha: jerkings

    7. Re:That's easy! by tepples · · Score: 1

      [Without script,] many sites simply don't load right and you can't navigate and are filled with gibberish when you do that.

      Then visit the many sites that do work without script instead of the many sites that don't work.

    8. Re: That's easy! by Anonymous Coward · · Score: 0

      I would be happy with the return of an effective 'Stop'button. Right here on Slashdot, often enough when reading a discussion on mobile, the text appears and you can be reading it, while the advertising shit is still loading, but then ifva lag happens the page snaps back to a 'cannot be loaded' screen, even though thevpart you want to read isvalready on the drive.

      Other things browsers now do include fuzzing the text to a blur until the advertising shit has finished loading.

      A ' stop right now, motherfucker' button is needed to justbhalt the browser at what state it is presently in.

      A 'fuzz' button would also be useful to pump shit right back at the more egregious web servers.

    9. Re:That's easy! by Sigma+7 · · Score: 2

      Other than the fact that all but the most ancient website won't work without it anymore... unless its a flash website that is.

      If there's a website that has a legitimate use for Javascript, then the user can easily enable it for that site. The trivial use cases include Kongregate, Newgrounds, and flash-portal game sites.

      In all other cases, the website should maintain basic function in the event the browser doesn't activate Javascript. In fact, both examples I listed above still function without JS enabled, as you can head to the game's page before you need to turn on scripts.

      Try browsing with scripting summarily disabled and let me know how it works for ya.

      I've done it for quite a long time. Got tired of rogue advertisers redirecting the page to "update java", and I've only enabled sites that actually require Javascript. If it requires Javascript unnecessarily, then I don't need to visit that site as much.

    10. Re:That's easy! by mobby_6kl · · Score: 2

      >LOL....yeah, there's not reason not to. Lets just abandon DHTML and go back to full page reloads on every action, not matter how small. It's been so long, I guess I must've forgotten how much I loved all those full page reloads.

      Yes, let's do that. Seriously. In practice these horrible full page reloads are faster than loading megabytes of JS garbage to view a comment or something. Just compare using slashdot to Disgus(t) or whatever it's called.

    11. Re:That's easy! by Anonymous Coward · · Score: 0

      If it is MEGABYTES of garbage then yes. However once that is loaded it's there for the rest of the session (or longer). With page refreshes you have to download all the HTML. Every. Single. Time.

    12. Re:That's easy! by thegarbz · · Score: 1

      In practice these horrible full page reloads are faster than loading megabytes of JS

      You managed to get Google Fibre working on your 486? Where did you even find a compatible network card!

    13. Re:That's easy! by Merk42 · · Score: 1

      Those web applications for which navigation and form submission are insufficient can be rewritten as a native application.

      Then those native applications can have bitcoin miners in them and we've come full circle.

    14. Re:That's easy! by LucasBC · · Score: 1

      This suggestion isn't as far-fetched as it sounds. In this day of modern CSS, there is no reason for big, bloated HTML markup. If a responsible web developer does their job properly, their code and assets should be lean and efficient, and loading an entire page should happen in an instant. The only reason things have become a problem is because amateur developers who know little about efficient, semantic markup just keep throwing more and more frameworks and libraries together to create a website.

    15. Re:That's easy! by Anonymous Coward · · Score: 0

      LOL....yeah, there's not reason not to. Lets just abandon DHTML and go back to full page reloads on every action, not matter how small. It's been so long, I guess I must've forgotten how much I loved all those full page reloads.

      You kid, but sites load a lot faster these days. I'm not sure that ending client side scripting is the worst idea.

    16. Re:That's easy! by LordKronos · · Score: 1

      No, lets not do that. It must have whooshed over you....in case you couldn't tell, I was being sarcastic.

      And I don't know where you are getting megabytes of JS from. Most sites that I examine tend to have not much more than a megabyte of javascript and/or use something like the google cached version. For those that don't, after the first load they are cached.

      So lets look at this horrendously big slashdot you use as an example. Here's this story, with 138 comments currently

      First load, no cache
      Javascript: 794 KB
      Document: 663 KB
      Total all files: 2.4 MB

      Reload with cache enabled:
      Javascript: 92 KB
      Document: 661 KB
      Total all files: 1.0 MB

      How about that....90% of the javascript was loaded from cache. Meanwhile, the content that you want us to continually refresh is almost all uncachable. Now lets see what happens when we go to post a comment:

      Click reply button, causing the editor to display:
      DHTML = 0 KB (entirely client side),
      No javascript ....well, were gonna have to reload that entire page, so we're looking at somewhere in the 600KB to 1MB range.

      Preview comment:
      DHTM = 2.6 KB (wow, that was pretty efficient....and it's only about 1KB on subsequent previews after the initial cache load)
      No javascript.....about the same as above (wow, not very efficient)

      Post that comment:
      DHTML = 2.2 KB
      No javascript....do I need to repeat myself here?????

      Yep, that's looking SOOOOOOOOOO much better, isn't it.

    17. Re:That's easy! by theendlessnow · · Score: 1

      You're talking about a world that sadly doesn't exist. Today we download megabytes of painful (very painful) javascript instead of less than 1K of reload pain. I'll gladly take the latter. You may have forgotten about just how fast things use to be. Sure, there are those rare times when you need something more dynamic, but very rare nowadays.

      I, like many others, run Noscript. I enable javascript, often times just temporarily for my session, as I need to.

      Note: Many times I enable javascript just to view a very slow loading page that could have said the exact same thing, just as "pretty", without the pain and would have been 100x faster. Efficiency is a lost art.

    18. Re:That's easy! by LordKronos · · Score: 1

      Guess what. If you want to talk about what responsible developers do, then you need to consider that they can also do a good job optimizing javascript (shrinking size, reducing library dependence, using cached versions like google., etc). You can just compare a shit-quality javascript developer to what a talented HTML-only developer will do and expect that to have any meaning in the real world. Because guess what...while javascript programming isn't exactly hard, it's quite a bit more difficult than HTML-only development, so businesses will not be inclined to get some very talkented HTML guy to optiize their website. No, instead they'll be inclined to pay even less for some shitty HTML guy so that he can make some crappy ass bloated HTML page that doesn't even take advantage of modern DHTML techniques that minimize the amount of data needed on each reload.

    19. Re:That's easy! by Gavagai80 · · Score: 1

      Disabling javascript is the only way to read articles from random sites these days. If you intend a non-interactive experience for the site, disable javascript on it -- if you intend to be interactive, give javascript a chance.

      --
      This space intentionally left blank
    20. Re:That's easy! by cfalcon · · Score: 1

      > Other than the fact that all but the most ancient website won't work without it anymore

      They don't work without it any more because they suck. Javascript should be reserved for cases where you legitimately need something to act like an application, which is not any forums, etc. All this remote code running locally has caused serious fucking problems, and continues to do so.

    21. Re:That's easy! by KozmoStevnNaut · · Score: 1

      I wouldn't mind going back to the simple web pages of yesteryear, stuff you can write in a simple text editor. Black text on a white background, blue underlined hyperlinks that turn purple when visited, simple formatting that respects your browser's default fonts and pages that degrade gracefully to slow connections and low-resolution devices.

      HTML is for content, not styling.

      --
      Eat the rich.
  5. High cpu usage blocked? by Anonymous Coward · · Score: 0

    High cpu usage blocked? Wait, so Facebook won't load?

    1. Re:High cpu usage blocked? by Anonymous Coward · · Score: 0

      I would rather measure the values for facebook/gmail/etc and put them exactly few tiny steps above.. so when facebook tests next update with anything a bit more CPU usage, it would trigger blocking.. so their engineering team would need to go back to work and optimize

    2. Re:High cpu usage blocked? by Anonymous Coward · · Score: 0

      That's not what would happen. Everyone would just switch to another browser that's not 'broken' and keep on truckin.

    3. Re:High cpu usage blocked? by slazzy · · Score: 5, Insightful

      Even just showing something on the tab to indicate high cpu usage would be a good start, like the way chrome shows a speaker icon for the tab that is playing sounds.

      --
      Website Just Down For Me? Find out
    4. Re:High cpu usage blocked? by david_thornley · · Score: 1

      Why do you think their engineering team would care? Obviously and correctly, it's a browser problem. Approximately all Facebook users will not see that Facebook's changed, so they'll decide that the browser has suddenly gone wonky.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  6. Ad company defends business model by Anonymous Coward · · Score: 2, Insightful

    Company threatened by emergence of a new model of online compensation uses control over existing infrastructure to severely limit its penetration into the market.

    Big surprise.

    1. Re:Ad company defends business model by Anonymous Coward · · Score: 0

      Company threatened by emergence of a new model of online compensation uses control over existing infrastructure to severely limit its penetration into the market.

      Big surprise.

      Why settle for being merely evil?

    2. Re:Ad company defends business model by Anonymous Coward · · Score: 0, Insightful

      Ignoramus web forum poster can't tell the difference between ads and cryptocurrency mining, has no idea what he's talking about, makes snarky comment.
      Big surprise.

    3. Re:Ad company defends business model by Anonymous Coward · · Score: 0

      Didn't say there wasn't a difference, Mr. Schmidt, just noted that crypto miners stand to supplant the current malware-laden advertising model of compensation Google currently makes a large part of their money from. One of us certainly doesn't know what he's talking about, and I'm guessing it's the person implying Google did this out of the kindness of their hearts to protect the internet and not because it's clearly a threat to their business.

    4. Re:Ad company defends business model by Bruce+Perens · · Score: 4, Insightful

      Company threatened by emergence of a new model of online compensation uses control over existing infrastructure to severely limit its penetration into the market.

      Not really. Running a miner is not a way that legitimate content sites recover their cost of operation. It's a way to grab some of the viewer's cycles for mining without their knowing it. If you want viewers to pay for use of your site in CPU cycles, design a protocol for that which will tell the user what they're paying, and allow them to pay it fairly or inform their decision to stay off your site.

    5. Re:Ad company defends business model by Anonymous Coward · · Score: 0

      There's nothing that prevents a company from alerting you that they're running Coinhive and many sites are already doing that. A particular private torrent tracker I know of even has a start/stop mining button on their donate page as an alternative to directly sending them cryptocurrency.

      The fact is that advertising is the #1 attack vector for spreading malware (also without the user knowing it, frequently without the owner of the website knowing it, almost always to worse results than a simple crypto miner). I would gladly have a JS miner on every site on the internet to be rid of spyware filled banner ads and tracking cookies. Mostly because I could still block them like I do the ads (Privacy Badger has been blocking Coinhive since it was released).

    6. Re:Ad company defends business model by spire3661 · · Score: 4, Insightful

      >Running a miner is not a way that legitimate content sites recover their cost of operation

      You could make the exact same argument for third-party ads.

      --
      Good-bye
    7. Re:Ad company defends business model by networkBoy · · Score: 1

      yup.
      I could see a cookie that turned mining on and off for a site that would be legitimate:
      Hey help fund the site you have three options:
      * buy a sub and we'll hide all ads and mining operations
      * show ads and don't mine
      * mine BTC and don't show ads

      Default to showing ads and have a link for selecting what the user wants to do.

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    8. Re:Ad company defends business model by Bruce+Perens · · Score: 1

      I acknowledge that there are bad abuses in advertising. And the good actors will tell you about their uses of coinhive while the bad ones won't. Thus, you still need a way to detect and turn off the bad actors, especially if the user is on a battery.

    9. Re:Ad company defends business model by Dogtanian · · Score: 4, Insightful

      How honest would you expect them to be, given that mining via JavaScript is going to be horrendously inefficient and likely to use many, many times the value mined in increased electricity used by the client?

      They'd also have to be clear that using the website is likely to run down the user's battery significantly faster on a laptop.

      Then again- maybe that was your point. You can't do something like that honestly without highlighting what a bad idea it is, and that it'd be far better if someone finally got micropayments to work for random websites.

      --
      "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
    10. Re:Ad company defends business model by Anonymous Coward · · Score: 0

      yup. I could see a cookie that turned mining on and off for a site that would be legitimate: Hey help fund the site you have three options: * buy a sub and we'll hide all ads and mining operations * show ads and don't mine * mine BTC and don't show ads

      Default to showing ads and have a link for selecting what the user wants to do.

      * none of the above and take it all for free because I'm an entitled Millennial

    11. Re:Ad company defends business model by Anonymous Coward · · Score: 0

      No sir, you have that quite backwards. Serving ads is not a way that legitimate content sites recover the cost of operation, but the opposite: I don't go to web sites to see ads, I go there to see the content. The ad model doesn't care about the content; it incentivizes bad, useless clickbait.

      Using the CPU cycles of the person who is reading the content is one of a few legitimate ways to recover costs. The incentive is to keep the user on the page, and not anger them as to force them to close their browser window. This would reward popular sites, while avoiding click-bait. You can support your favorite web site by simply leaving your browser window open. This is a win-win scenario for everyone expect Google, who would no longer be able to get ad revenue.

    12. Re:Ad company defends business model by Anonymous Coward · · Score: 0

      Bullshit. They don't ask for permission before they show ads either, and nowadays they even actively berate you if you block them. One ad impression pays fractions of a cent. The cost of downloading the scripts and the ad is very often much higher to the visitor than what the website is paid, so even the inefficiency argument doesn't stick. In return for getting access to the site, many users would prefer to let their computers mine with site-approved code, rather than downloading scripts from some unknown company that won an automated auction for the ad slot.

    13. Re: Ad company defends business model by Anonymous Coward · · Score: 0

      Are there any good actors in advertising? I'm with the gp on this one, of rather have a button I can click to turn it on/off. Bonus if I also receive a fraction of a successful mined coin

  7. That should be normal. by Anonymous Coward · · Score: 0

    Background browser windows get ZERO cpu. Unless you tick the little box that says 'keep active' or something.

    And it needs to default to off.

    Or just keep running old firefox with noscript. aint broke don't fix it.

    1. Re:That should be normal. by SScorpio · · Score: 2

      Your solution of Firefox and NoScript is about to be broken pretty soon.

    2. Re:That should be normal. by Anonymous Coward · · Score: 0

      Only if one updates to FF 57. Staying with FF 56 or FF ESR 52 will continue work with NoScript.

    3. Re:That should be normal. by CrashNBrn · · Score: 2

      All of my required addons (or new replacement) are working in Firefox 57.

      TamperMonkey or ViolentMonkey.
      Tree Style Tab
      uMatrix
      uBlock Origin
      TabHunter
      Tab Session Manager ( replaces Session Manager)
      Stylus ( replaces Stylish)
      LastPass (beta)
      Enpass
      Enhanced Steam

      Only thing missing now is, Vertical Toolbar, and Piro's Multiple Tab Handler.

    4. Re:That should be normal. by Anonymous Coward · · Score: 0

      What will you do come June 28?

    5. Re:That should be normal. by KozmoStevnNaut · · Score: 1

      But why? FF57 is such a gigantic improvement over previous versions, it's absolutely bonkers to not upgrade.

      Just use uMatrix instead of NoScript, it's a lot more powerful.

      --
      Eat the rich.
    6. Re:That should be normal. by SScorpio · · Score: 1

      Because 90% of my add-ons have a Legacy tag next to them. I'll see what type of push to port or recreate the missing add-ons happens once 57 comes out.

      But maybe I'll stick with what I've been doing. Waterfox has been working just fine.

    7. Re:That should be normal. by KozmoStevnNaut · · Score: 1

      Personally, I just took a good long look at which add-ons I had installed, and which ones I actually need. Basically only uBlock Origin and Privacy Badger. You should try minimalism. It's fun, and less shit breaks.

      --
      Eat the rich.
    8. Re:That should be normal. by SScorpio · · Score: 1

      If that works for you great. But I'll continue using a browser that was working great, and add-ons that make it continue to work the way it did before some nut jobs decided to clone the shitty popular browser and remove functionality/choice.

    9. Re:That should be normal. by KozmoStevnNaut · · Score: 1

      There are very good reasons for deprecating the old extension format, most noticeably security, stability and performance.

      --
      Eat the rich.
  8. Unintended Consequences by Anonymous Coward · · Score: 0

    This will kill all the bloated web apps my clients demand I write for them.

    Please no.

  9. Simple, let us slow down Javascript by Anonymous Coward · · Score: 0

    With a global preference and a per-site override, let us limit the CPU-time that a site can use. Even an absolute crawl should be enough to do DOM and CSS updates, and we can give "productivity" sites more CPU time if we want.

  10. What if I want to by Anonymous Coward · · Score: 0

    What if I want to use my browser for mining? The means already exist to block specific scripts.

    1. Re: What if I want to by Anonymous Coward · · Score: 0

      Then you allow the minjng script to run via the provided permission..... duuuuh

    2. Re:What if I want to by hcs_$reboot · · Score: 1

      If it's on your computer, better do it in C, or another language way faster than JS.

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    3. Re:What if I want to by Anonymous Coward · · Score: 0

      you're an idiot who doesn't know that javascript is compiled natively, and totally unaware of webassembler or webgl

      stop posting to tech sites

    4. Re:What if I want to by Khyber · · Score: 1

      WebASM is a steaming pile of shit. WebGL only slightly less so.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    5. Re:What if I want to by Anonymous Coward · · Score: 0

      Then you are stupid.

      A compiled program mines much faster than the browser ever will. Hundreds of times faster. A GPU optimized program considerably faster than that again. If you want to mine, do it efficiently. Don't waste time & effort using a browser for mining.

    6. Re:What if I want to by hcs_$reboot · · Score: 1

      Oh, this is a tech site?

      --
      Slashdot, fix the reply notifications... You won't get away with it...
  11. Will Slashdot pledge to never do mining here? by Anonymous Coward · · Score: 0

    Will Slashdot management pledge to never do this sort of in-browser mining on this site?

    Will Slashdot management also ensure this pledge is irrevocable, and will thus be imposed on any future owners/operators/management of this website?

    1. Re: Will Slashdot pledge to never do mining here? by Anonymous Coward · · Score: 0

      When ad networks die because ads are ineffective, obtrusive security nightmares which don't work... and mining is paying for the "free" internet... let me know what the great outdoors are like.

  12. False positive rate to high by PingSpike · · Score: 1

    The problem with this method is half the web already acted like it was running a crypominer before these things even showed up.

    1. Re:False positive rate to high by Anonymous Coward · · Score: 0

      Good luck explaining to grandma why Google won't let her browse Facebook from an old Pentium 4. Anyone with older hardware is going to be screwed even if the trigger is as ridiculous as 100% for 60 seconds.

    2. Re:False positive rate to high by Wycliffe · · Score: 1

      The problem with this method is half the web already acted like it was running a crypominer before these things even showed up.

      Also, this already basically exists. Multiple times I've seen a popup saying "javascript taking too long" with an option to continue or abort.
      Presumably the bitcoin miners are already doing something to not trigger this condition and any condition you come up with, the bitcoin
      miner could be modified to stay under that threshold.

  13. Google should see this as a threat!!! by zippo01 · · Score: 4, Insightful

    This would be a brilliant business strategy! No ads, clean uninterrupted browsing, they just get some CPU cycles from you. Most people wouldn't even notice the difference or the cost. I would do it not to have to look at ads. This could destroy googles hold on ads and the new revenue stream for the internet. They should just let the user know whats going on and BAM!

    1. Re:Google should see this as a threat!!! by sanf780 · · Score: 1

      Then MS can tell that Edge is saving battery compared to Chrome as it does not support cryptocurrency mining.

    2. Re:Google should see this as a threat!!! by Anonymous Coward · · Score: 0

      This would be a brilliant business strategy! No ads, clean uninterrupted browsing, they just get some CPU cycles from you. Most people wouldn't even notice the difference or the cost. I would do it not to have to look at ads. This could destroy googles hold on ads and the new revenue stream for the internet. They should just let the user know whats going on and BAM!

      It seems like they are. I just read that Chrome engineers are considering adding a special browser permission that will thwart the rising trend of in-browser cryptocurrency miners.

    3. Re:Google should see this as a threat!!! by AmiMoJo · · Score: 1, Interesting

      Not so great on battery powered devices though.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    4. Re:Google should see this as a threat!!! by tepples · · Score: 1

      Most people wouldn't even notice the difference or the cost.

      Not even when the device's battery runs out twice as fast as it used to? Or were you operating under the assumption that "Most people" use a desktop PC as opposed to a laptop, tablet, or smartphone?

    5. Re:Google should see this as a threat!!! by Anonymous Coward · · Score: 0

      fuck off.

    6. Re:Google should see this as a threat!!! by Anonymous Coward · · Score: 0

      Yeah only ((((((((SJWS))))))) care about BATTERY LIFE, who cares if you can only use your phone for an hour between charges? That's what the environfeministBLM antifar terrorist cucks care about, not normal people who just want to drive pick-up trucks rolling coal while issuing death threats to women online!

    7. Re:Google should see this as a threat!!! by Anonymous Coward · · Score: 0

      This could destroy googles hold on ads

      I see it the opposite way.

      Many "rich media" ads are coding nightmares - layers of glued javascript libraries, calls to multiple trackers, and who knows what else. They're the type of ads that many of us complain about when we say that we'll always block ads forever - because we don't want all that tracking and awful code consuming our system resources.

      It's been in Google's best interest to destroy the market for rich media ads. They don't want people to be so sick of ads that they block them. I bet Google would love a world where only static image ads (or even just HTML+CSS!) are viable. Strangling an ad's ability to display content is a step in that direction.

    8. Re:Google should see this as a threat!!! by Anonymous Coward · · Score: 0

      Super Jewish White Supremacist?

    9. Re:Google should see this as a threat!!! by dgaller · · Score: 1

      Ads won't go away with cryptominers, think cable TV not Netflix.

    10. Re:Google should see this as a threat!!! by Anonymous Coward · · Score: 0

      Google does, that's why they are on top of it, and not a peep from Firefox even though I've raised the issue, already suggesting Google's strategy some weeks back on r/firefox

    11. Re:Google should see this as a threat!!! by thegarbz · · Score: 1

      No ads, clean uninterrupted browsing,

      Yeah finally we can have a clean internet. The only problem would be battery li

    12. Re:Google should see this as a threat!!! by Anonymous Coward · · Score: 0

      Hahaha, no. High CPU from buggy ad code was the reason I started adblocking in the first place. I could put up with everything else about ads, but CPU maxing was the last straw.

  14. About time by Solandri · · Score: 1

    I've been manually accomplishing the same thing with Quick Javascript Switcher to turn off JS on sites which abuse it, and The Great Suspender to freeze background tabs.

    I also keep Windows Task Manager's CPU graph in the notifications bar so I can see if my computer isn't dropping to idle. That's what originally led me to start using The Great Suspender. Although in my case it wasn't crytocurrency mining scripts, it was poor coding on Google's Photos and Drive websites which kept chewing up CPU cycles in the background.

  15. Countermeasure by Anonymous Coward · · Score: 0

    Miner scripts will just dial it back to 50% CPU usage or whatever threshold chrome sets.

    1. Re:Countermeasure by vux984 · · Score: 1

      Miner scripts will just dial it back to 50% CPU usage or whatever threshold chrome sets.

      A typical webpage shouldn't need even 0.1% after loading. And during loading the majority of the cpu usage should be profiled to the browser itself (rendering the html/css/downloading elements etc) not the javascript. More than 1 - 2 seconds of high javascript cpu usage on a typical site is not necessary. Even the continuous async updates, analytics tracking etc is all really low level... like a couple percent of the cpu every 100 milliseconds or something.

      Even Media playback is pretty low on modern systems; and that should be something can be separated from the javascript.

      I don't think you realize how 'light' most code really is. When you've got a site where the *javascript* is using a significant percentage of the cpu for more than a few seconds, its probably got some braindead busy loop or something that should properly be categorized as a bug.

      I remember complaining to GoG a while back that leaving firefox open on my mac during one of their 'sales events' was using up 50% of the cpu on my macbook. It was an event where a sale would popup and a certain amount of time or until X copies were sold or something... and it had a progressbar that dropped down to zero.

      Profiling it showed that instead of updating the progressbar a reasonable number of times... like 10 times per second. It was updating it continually, so it was doing it like 10,000-20,000 times per second... which was just ridiculous. Oddly, it behaved fine in chrome and safari; so the bug wasn't straight up lazy coding, it was just a bug in some browser specific bit. I didn't dig deeper.

      I recall seeing another site that changed the color of a bit of text based on something; and it did this in real time. Instead of getting a reference to the DOM element and just updating it, it brute force searched the entire DOM everytime for the element that needed updating, updated it. And then 200ms later... did it all again. There's a lot of shit code out there. It was about 1000 times less efficient than it should have been, and even that didn't really move the needle in terms of CPU usage.

      Circling back to my point, other than a few things like javascript games, most sites shouldn't be spending a lot of time running javascript. Those that do are probably defective and deserve to get classed as malware; it'll help motivate them to fix their code.

  16. Egregious is bad by cloud.pt · · Score: 1

    Chrome is a browser. We live in an age where some people (notoriously Google) think browsers needs to run full fledged apps in a sense they must take advantage of modern processing power. That is just wrong - websites are nowadays supposed to be much more technically sophisticated, and yet, consequentially much LESS demanding with things like the quai-extinction of flash and the advent of HTML5. In any case, 100%, or even 20% is not uncommon on "harmless" websites and this would induce in many false positives, many more than can be tolerable by any non-savvy user and this egregious, overzealous measure would still fire back.

    I would also argue that there are more idely available paramters than CPU/GPU load to infer activity on tab X as distributed processing - frequent/constant outbound communication for instance, packet sniffing (you know, like ISPs do for traffic shapping) or identifying very specific calculation traits going on the local logical units. There are ways that, much like an antivirus, can detect suspicious behavior, patterns of processing other than raw usage, and it doesn't take a genius to figure those out.

    Given this, don't be egregious from the start, but be incisive. I bet there are capable enough minds at Google that can easily discern many more and much less abstract ways for doing this than I described.

    1. Re:Egregious is bad by Anonymous Coward · · Score: 0

      Browser is an app delivery vehicle that works across platform

      Sorry you think the whole thing should be static text, but thats of little utility in the real world, and people who actually work in the industry all got together and decided that you are wrong,.

      Nobody wants to build, ship, or use native applications.

    2. Re:Egregious is bad by cloud.pt · · Score: 1

      I guess that must be the reason why everybody that doesn't have corporate interests hates stuff like instant apps or the web version of stupid services like Spotify, Gmail and whatever on their phones. And I would argue Apple, Microsoft and everybody that doesn't rely entirely on the cloud for their core have a thing to say about that. But keep fooling yourself on that javascript-based future bubble you think everybody will be living in 10 years from now. I bet by then we will have performance to make javascript efficient for things that are effectively CPU-cheap these days...

      You're thinking much the same way some people still believe the JVM can ever become efficient. Interoperability and platform-agnosticism comes at a cost. There will always be a place for custom MCUs, embedded software, native OS code and library-dependant apps. Running a browser in any platform was from inception a way to get information to people in human-readable form. The fact it evolved to including client-side-running clutter is not only a design flaw, it is also whishfull thinking by people that don't want to mold themselves to the benefits of different platforms.

    3. Re: Egregious is bad by Anonymous Coward · · Score: 0

      Everybody decides for themself what software their hardware will run. You are obviously a web developer. Plz die.

    4. Re: Egregious is bad by Anonymous Coward · · Score: 0

      and yet, here you are, on a website.

    5. Re:Egregious is bad by Anonymous Coward · · Score: 0

      Nobody wants to build, ship, or use native applications.

      Yeah, whose dumb idea was it to make an App Store anyway?!

  17. Google explores ways to break non-google web apps by Anonymous Coward · · Score: 1

    Chrome will be the new IE6

  18. I like the idea, and not just for miners by pgn674 · · Score: 4, Insightful

    There's a documentation hub for a service out there that I noticed using 100% of one CPU core on my laptop, whenever I had a page open on it. Didn't matter whether the tab or Chrome window was foreground or not. I dug into it, and found a CSS spinner sitting underneath a Google translate button. I'm thinking the page designers wanted a spinner to show if that button took a while to load. But they designed it in CSS; it kept running forever, even after the button loaded; and it used 100% CPU. Having a built in defense against this kind of stupidity or malice would be awesome.

    1. Re:I like the idea, and not just for miners by Anonymous Coward · · Score: 0

      Hm. Remove 'loops' from javascript, and this stupidity disappear. Along with lots of other stupid things.

      Somewhat better: if code changes some visual item on the screen and then change it again, sleep 1/10 second before the next change goes through. Would fix the spinner, and not impact well-written sites. Because nobody needs to change the same item again and again rapidly. As an added bonus, this would absolutely kill some badly written sites.

  19. ajax.googleapis.com by Anonymous Coward · · Score: 0

    One answer is to have a simple way for the user to disable javascript in a browser - WITHOUT THE NEED TO INSTALL ADDONS.

    But most users have no idea what that does and it would break most websites.

    Many websites depend on ajax.googleapis.com as well as others. There are addons that put have these common javascripts be local (such as Decentraleyes) for the purpose of privacy and not calling home to google for virtually every site you visit.

    But if this is part of the browser (and made open source), you can browse a larger chunk of the web without additional javascript.

  20. Read the subject wrong.... by Anonymous Coward · · Score: 0

    I read it as: Google Engineers Explore Ways To Stop In-Browser Concurrency in Chrome

  21. How about blocking by DiSKiLLeR · · Score: 1

    How about blocking autoplay video? That shit is way worse than a miner.

    --
    You can tell how powerful someone is by the magnitude of the crime they can commit and be able to get away with.
    1. Re:How about blocking by hcs_$reboot · · Score: 1

      There is an ext for that.

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    2. Re:How about blocking by Baron_Yam · · Score: 1

      There is absolutely ZERO need for autoplay video if you're not an advertiser looking to force something into someone else's eyeballs.

      Every browser should, by default, put a placeholder in for video and require user interaction just to start loading it, never mind actually play it.

      Back when most video was Flash and Firefox was king of the alternate browsers, I used the FlashBlock extension and it was glorious.

    3. Re:How about blocking by Gavagai80 · · Score: 1

      Which doesn't always work. It stops about 80% of them but some videos find their way through somehow.

      --
      This space intentionally left blank
    4. Re:How about blocking by Anonymous Coward · · Score: 0

      They're working on it. Theirs is not the simplest solution due to conflicts of interest, but it's something:
      https://arstechnica.com/tech-policy/2017/09/google-chrome-block-auto-play-video/

  22. Once sites like that fill search results by tepples · · Score: 5, Informative

    I'd never go back to that site.

    So how will you deal with the frustration when you find that the majority of the top ten results from a particular web search query come from that site and others like it? It becomes tedious to add a dozen or more -site:domain.example terms to every single query. Google Search used to allow blacklisting a domain, but this feature has since been permanently discontinued. I found some promising browser extensions for users of Google Search on select desktop browsers:

    Google Chrome for desktop Personal Blocklist Firefox 56 or later Personal Blocklist (not by Google) Firefox 52 ESR or Firefox 56 Hide Unwanted Results of Google Search

    But what works for Chrome for Android, Edge, or Safari? Or for DuckDuckGo or Bing?

    1. Re:Once sites like that fill search results by sabri · · Score: 1

      So how will you deal with the frustration when you find that the majority of the top ten results from a particular web search query come from that site and others like it? It becomes tedious to add a dozen or more -site:domain.example terms to every single query. Google Search used to allow blacklisting a domain, but this feature has since been permanently discontinued.

      Ah yes, like the super-annoying "experts exchange" site that I blacklisted wherever I can. Those assholes should die a slow death.

      --
      I'm not a complete idiot... Some parts are missing.
    2. Re:Once sites like that fill search results by squiggleslash · · Score: 1

      Expert Sex Change always had the information available to non-subscribers, but hidden at the bottom in a way you'd think it wasn't there (because if it wasn't there, Google wouldn't index it.) So if you come across a result that might be relevant, from them (after, no doubt, fifteen pages of results from Stack Overflow), that's what you can use.

      --
      You are not alone. This is not normal. None of this is normal.
    3. Re:Once sites like that fill search results by Anonymous Coward · · Score: 0

      Much like other malware, I'd expect a cryptocurrency miner to have an identifiable "signature". It should be easy to simply refuse to run any function in a .js file that has such a signature. The browser merely needs to check with Google occasionally for the latest collection of unacceptable signatures.

    4. Re:Once sites like that fill search results by Anonymous Coward · · Score: 0

      Ah yes, like the super-annoying "experts exchange" site that I blacklisted wherever I can. Those assholes should die a slow death.

      I'm amazed at home long it took for the dash to appear in that domain name.

    5. Re:Once sites like that fill search results by Anonymous Coward · · Score: 0

      It's much more likely that I stop using Google. I pretty much get my news from 1-2 sites, do my shopping at Amazon, check my mail at 2 sites, etc. The days of Googling round the web are mostly dead, at least for me.

    6. Re:Once sites like that fill search results by HaveNoMouth · · Score: 1

      Or Quora. I hate that site. They don't even have the option of not logging in the way EE did.

    7. Re:Once sites like that fill search results by Anonymous Coward · · Score: 0

      Experts exchange has gotten better lately about that, but there was a time say 10 years ago where they had flooded google's search results with topics matching lots of technical searches and the solutions were behind a paywall.

      Experts exchange also doesn't appear in search results as frequently any longer either, i'm guessing google adjusted something with the algorithm to down rank them.

      I personally think the scourge of search results these days is pintrest, especially in image searches. Say your searching for some part, a board shot, or something similar. There will always be multiple results from that shit site, with no attribution as to where the image came from if you were hoping to find the original page that might have had additional images or an article to go with it. I would love to block them from ever showing up in one of my search results again.

    8. Re:Once sites like that fill search results by tepples · · Score: 1

      What do you plan to do once "1-2 sites" where you get your news install cryptocurrency miners? Or your webmail sites?

    9. Re:Once sites like that fill search results by squiggleslash · · Score: 1

      but there was a time say 10 years ago where they had flooded google's search results with topics matching lots of technical searches and the solutions were behind a paywall.

      Nope, that's what I was just addressing. They were never behind a paywall, just "hidden" at the bottom of the page in such a way that you were deterred from scrolling there.

      They had to include the content in their pages, otherwise Google wouldn't index it.

      --
      You are not alone. This is not normal. None of this is normal.
    10. Re:Once sites like that fill search results by Anonymous Coward · · Score: 0

      Adblock smash.

    11. Re: Once sites like that fill search results by Anonymous Coward · · Score: 0

      I always just switches my user agent to Google's spider

    12. Re:Once sites like that fill search results by tepples · · Score: 1

      Then we're back to the original AC's modal dialog: "Website forbidden. Please disable your adblock and reload the page."

    13. Re: Once sites like that fill search results by Anonymous Coward · · Score: 0

      Do you not see the problem with this at all?

      Why does google get to decide and censor what JavaScript a website can run?

      Do you not see the financial motives behind this?

    14. Re: Once sites like that fill search results by tepples · · Score: 1

      User agent switching doesn't work anymore unless you come from a Google IP block.

    15. Re:Once sites like that fill search results by Anonymous Coward · · Score: 0

      I am very sure that is not the case. I even remember paying for a month of membership just to see if the answers provided were worth it.

      As for the content ending up in google, its not that hard to build pages that could detect the google bot crawling and show them the full content, while pay walling out everyone else. You know kinda like how a lot of news sites are starting to operate today. with either limited free views per month, or just 100% pay walled.

    16. Re:Once sites like that fill search results by geminidomino · · Score: 1

      You're both right. What they actually did was even scummier - they included the actual answers on the page if the referrer was Google.

    17. Re:Once sites like that fill search results by Anonymous Coward · · Score: 0

      If my search engine starts returning crap results, then I'll switch to a different search engine. I could also easily block any elements which are linked to or mention whatever site I want.

    18. Re: Once sites like that fill search results by Anonymous Coward · · Score: 0

      Safe browsing does

    19. Re:Once sites like that fill search results by tepples · · Score: 1

      What they actually did was even scummier - they included the actual answers on the page if the referrer was Google.

      That's called "cloaking", which Google generally forbids. But since October 1, Google has officially allowed this specific kind of cloaking under the name "flexible sampling", so long as the document contains a JSON-LD block to mark specific CSS class names as being paywalled.

  23. Re:Google explores ways to break non-google web ap by hcs_$reboot · · Score: 2

    Chrome will be the new IE6

    Yes! my css code will work, at last!

    --
    Slashdot, fix the reply notifications... You won't get away with it...
  24. Proof of concept by tepples · · Score: 2

    As I understand it, EME provides a controlled interface to a Content Decryption Module (CDM). A CDM can obfuscate only audio and video decoding and output, not any process whose output the script can directly monitor. If you have a proof of concept of Monero mining in a well-known CDM, such as Widevine, Primetime, or PlayReady, I'd like to see it.

    1. Re:Proof of concept by Anonymous Coward · · Score: 0

      There is nothing saying that a CDM can't do Java or Javascript (for Blu-Ray interactive media is one example.) With either of those, it is trivial to build a mining client that is inaccessible to the end user and hidden from the OS other than for the CPU usage of the add-on.

  25. I called it. by Gravis+Zero · · Score: 1

    This is exactly the kind of thing I told you was going to happen yesterday and yet, only +3 Insightful.

    --
    Anons need not reply. Questions end with a question mark.
    1. Re:I called it. by gtall · · Score: 1

      Just a hint, Bucko, you don't have enough other things going on in your life.

    2. Re:I called it. by hcs_$reboot · · Score: 1

      Too bad the Nobels have already been awarded for this year.

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    3. Re:I called it. by Anonymous Coward · · Score: 0

      Everyone has been saying it since the PB news item. It was fucking obvious what was going to happen, at least if you have mental problems.

  26. once again... by Anonymous Coward · · Score: 0

    Javascript rears its ugly head.

    Turn that shit off, and breath easy.

  27. Re:Google explores ways to break non-google web ap by PingSpike · · Score: 1

    It already kind of is. On the desktop, Microsoft was actually their main competitor. But then Microsoft launched Edge and like most new Microsoft products it was a crushing blow to Microsoft:

    2 Years ago, MS still held an incredible 50% of desktop browser share:
    https://www.netmarketshare.com...

    Now, they are down to 20%
    https://www.netmarketshare.com...

    Despite being literally shoved into users faces, the introduction of Edge didn't draw users away from Chrome. No, it seemed to send IE users running to it instead.

    Chrome now has a commanding presence on desktop and we've already seen Google start to flex their muscle a bit in the same way Microsoft did when they controlled the world with IE. Make no mistake, Google has nowhere near that level of stranglehold but since the vast majority of browsers are Chrome they are the big dog now and they can get away with a lot biting.

  28. that would totally mess with streaming by Darth+Technoid · · Score: 1

    that kind of measurement system would mistakenly assume that all CPU intensive pages were a problem. that ain't the case. thus, tons of false positives requiring authorization and white-listing.

    1. Re:that would totally mess with streaming by MerlynEmrys67 · · Score: 1

      that kind of measurement system would mistakenly assume that all CPU intensive pages were a problem. that ain't the case. thus, tons of false positives requiring authorization and white-listing.

      Hardly, Crypto mining is a 100% of CPU continuously type of operation. I can watch my tv on youtube and barely break 10% CPU utilization... (Well, thread utilization which is even lower). I imagine if you are watching super HD/8k video it might take interesting percentage of a modern CPU, but nowhere near 100%, especially with GPU offload.

      --
      I have mod points and I am not afraid to use them
  29. I like it by Artem+S.+Tashkinov · · Score: 1

    This is actually an excellent solution even for "valid" websites which misuse shady ad networks and contain otherwise bad JS code (for rendering/user interaction/ajax/etc). I just want these variables to be configurable, i.e. >=5 seconds of more than 70% 1 CPU core usage and the tab gets throttled.

    1. Re:I like it by networkBoy · · Score: 1

      This.
      Set conservative default for the majority of users:
      95% by single js page for over 60 sec.
      in about:config allow the thresholds to be set.
      Also allow whitelisting of sites.

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
  30. Browsers desperately need a CPU indicator by StevenMaurer · · Score: 1

    The massive pegging of CPU is hardly new. There have always been terrible websites - many of them video ones - which for various reasons, such up as much CPU as they're able to, bringing the machine to a crawl. Most of them are video related, including flash (it was notorious), and - in its early days - YouTube. The worst are those that call functions of code you had to install natively.

    The problem is that most browsers give absolutely no indication that this is happening, leaving the user to wonder why his PC is slow. Yes, you can do a top/task-manager/activity monitor to figure out what is going wrong, but even if you're that sophisticated, you often end up having to kill the entire process simply to stop one errant thread. This never works for unsophisticated users.

    In a sense, this is quite a bit like the "where the hell is that audio coming from?" problem in browsers, except that it isn't even that obvious. What is really needed is for browsers to forcibly sleep threads of background windows for 90% of their time. (Don't just lower their priority; that doesn't work.) Also, if a thread demands CPU constantly, put a pattern on the tab and shake it back and forth. That will let people know when some errant javascript is taking up your CPU horsepower.

    Unless you want to put a "virus checker" or an AI inside of the browser to figure out what code is doing, trying to just filter based on what code is doing isn't going to work. There are too many ways to disguise these kinds of calculations. Focus on the ultimate effect.

    1. Re:Browsers desperately need a CPU indicator by Fly+Swatter · · Score: 1

      Yes, you can do a top/task-manager/activity monitor to figure out what is going wrong, but even if you're that sophisticated, you often end up having to kill the entire process simply to stop one errant thread. This never works for unsophisticated users.

      In chrome you can right click an empty part of the tab area (or shift+escape), and start the built in thread manager, it will show you what tabs/extensions/scripts are using with regard to cpu utilization and allows you to kill specific ones. But yea, most users won't even be able to do that.

  31. Builtin Google+ blocker by Anonymous Coward · · Score: 0

    Yay, a builtin Google+ blocker. Finally we will not have to endure overheated machines and Google+ using 100% CPU for minutes anymore :)

  32. Paraphrazing Comrade Mao by williamyf · · Score: 1

    Let a hundred extensions bloom!

    Let extension developers deal with the problem.

    Once a great approach is identified, bake it in all browsers.

    A monolytic company (and specially one like google, which lives of adds) is not the best blace to come with a solution, let alone a great overall solution

    --
    *** Suerte a todos y Feliz dia!
    1. Re:Paraphrazing Comrade Mao by Anonymous Coward · · Score: 0

      Let a hundred extensions bloom!

      Let extension developers deal with the problem.

      Once a great approach is identified, bake it in all browsers.

      This is how Blizzard does it with World of Warcraft.

      Extremely popular UI add-ons are co-opted into the default interface by cloning their functionality.

  33. I made the best way you already have... apk by Anonymous Coward · · Score: 0

    See subject & best option right now is to block known Bitcoin mining domains. One of the better options to do that is to add these to the hosts file of the operating system so that these domains redirect to localhost" https://www.ghacks.net/2017/09... Martin Brinkman - GHacks

    +

    "... use this classic Windows hosts trick to block the Coinhive or Crypto-Loot domains at the OS level" - https://www.bleepingcomputer.c... BLEEPING COMPUTER

    * Via APK Hosts File Engine 9.0++ SR-7 32/64-bit https://www.google.com/search?hl=en&source=hp&biw=&bih=&q=%22APK+Hosts+File+Engine%22+and+%22start64%22&btnG=Google+Search&gbv=1/

    APK

    P.S.=> Accept NO substitute for more speed, security, reliability & anonymity online that does FAR more for FAR less vs. other "so-called 'solutions'", natively w/ what you already have in a hosts file - NO other SINGLE competitor does as much (& competitors many times more complex + exploitable also)... apk

  34. Re:Google explores ways to break non-google web ap by Actually,+I+do+RTFA · · Score: 1

    e've already seen Google start to flex their muscle a bit in the same way Microsoft did

    It's not desktop muscles they're flexing (yet). It's search. How fast websites render in Chrome (okay, according to rules that totally happen to randomly perfectly align with Chrome) influences pagerank

    --
    Your ad here. Ask me how!
  35. Slashdot trying SUPER HARD by whyyisthissohard · · Score: 0

    To associate 'cryptocurrency' with 'BAD' - malware, volatility, hackers, crime, arms dealing, porn, ransom....

    Just look at the headlines. Just look at them.

    This place is an absolutely insult to your intelligence.

    1. Re:Slashdot trying SUPER HARD by Fly+Swatter · · Score: 1

      The headline describes nothing of what you mention. Unless that's how you see 'Miners'. :)

      The association was made all by itself. It's really no ones fault, except the lowlifes that turn to whatever they can best hide behind the easiest.

    2. Re:Slashdot trying SUPER HARD by dramason · · Score: 1

      Since the browser is also an app platform, which grants the apps crazy privileges, it is more vulnerable than the competition. I admit though, my OP was more of a general comment and not very specific ,

    3. Re:Slashdot trying SUPER HARD by whyyisthissohard · · Score: 0

      You're fucking retarded. Literally. Your brain is broken.

      Look at all the headlines together. Use the search function and type in bitcoin.

      Bitcoin is not news. There is nothing new happening. They keep contriving non-stories mentioning it in a negative light.

      THIS JUST IN: MONEY IS USED BY EVERYONE INCLUDING CRIMINALS

      And you're fucking stupid enough to buy it. You are not people.

      why don't we have some stories like that?

  36. I like JavaScript by rsilvergun · · Score: 1

    I like going to Newegg and browsing through the specials in an image carousel. I like clicking 'reply' on slashdot and getting a box to reply in. I like thumbnail previews. I like menus I can browse without reloading an whole page. I like web mail that feels like a mail client. Heck, I like a responsive and modern web.

    If you don't go run Lynx in X11. The rest of us will carry on living in 2017 and even 2018 when it comes along.

    --
    Hi! I make Firefox Plug-ins. Check 'em out @ https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/
    1. Re:I like JavaScript by Baron_Yam · · Score: 1

      Nice that you like all that stuff. If you weren't being such an ass with your final statement, I would have been nicer in my reply.

      You're an idiot. Not because you like those things, but because you think limiting script CPU as I described would make them all fail.

    2. Re:I like JavaScript by Khyber · · Score: 0

      "You're an idiot. Not because you like those things, but because you think limiting script CPU as I described would make them all fail."

      You're an idiot for not fucking realizing that with today's modern bloat the simplest shit can run your CPU cycles way the fuck where they shouldn't, and that your script would fuck the page or process over.

      It's like you failed your basic ASM and C programming. I sure as fuck wouldn't trust anything your ass codes.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    3. Re:I like JavaScript by Anonymous Coward · · Score: 0

      This is a classic false choice argument. Consider that, perhaps, there might be a better position between "living in 2017" and going back all the way to "Lynx in X11", one in which we still can have a nicely-presented text + image hypertext document with menus, without all of the vulnerabilities and bloat that modern web pages have become.

    4. Re:I like JavaScript by Gavagai80 · · Score: 1

      And what exactly is wrong with Chrome showing a "battery saver mode" popup for badly written sites that use 100% CPU for simple tasks? Sounds like a great idea to me, it'll force the developers to fix their sites to keep their users.

      --
      This space intentionally left blank
    5. Re:I like JavaScript by Khyber · · Score: 1

      Yea, is that battery saver mode going to be smart enough to recognize a desktop system that has no fucking battery?

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    6. Re:I like JavaScript by thejynxed · · Score: 1

      Doubtful, seeing as how Microsoft treats desktop PCs running Win10 as if they had batteries by default.

      If Google was serious about this they would just bake something like AntMiner into their browser. There are already multiple extensions out there with the solution, at this point they are committee debating the shape of a wheel.

      --
      @Mindless Drivel: 100% of Twitter posts ever Tweeted.
    7. Re:I like JavaScript by david_thornley · · Score: 1

      Unfortunately, whether a site is worth using under Lynx depends on how the site is written, and not what anyone else does. (Hey, I've got a soft spot for Lynx.)

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  37. there's a plugin for that by Anonymous Coward · · Score: 0

    real simple !script , wont upgrade browser until this plugin is supported

    1. Re:there's a plugin for that by Anonymous Coward · · Score: 0

      test...ignore me

  38. perhaps not about the ads... by SethJohnson · · Score: 1

    This could destroy googles hold on ads and the new revenue stream for the internet

    Perhaps Google is more afraid that this distributed computing model might compete with their fledgling Google Cloud computing offering. AWS already makes more money for Amazon than their retail sales business. If Google is going to compete, they are going to have to stifle distributed computing so that crypto miners will perceive a greater value in the Google Cloud.

  39. uBlock by ThurstonMoore · · Score: 1

    Easy, they do it the same way I block Google's stupid ads, with uBlock.

  40. This will end poorly by Vektuz · · Score: 4, Insightful

    While I actually like the idea of being allowed to choose whether to donate a few cycles or to watch ads - I would always choose to donate cycles (no privacy problem, no malware problem, no security problem, no tracking problem...).

    HOWEVER, this will end poorly
    This is because websites tend to be greedy. They won't go "either ads or cryptomining". They will go ads AND cryptomining. Just like cable TV.

    1. Re:This will end poorly by thejynxed · · Score: 1

      They already are at ads and cryptomining. And selling your data. And taking zero responsibility if your machine gets trashed because they intentionally loaded shit software onto your system.

      --
      @Mindless Drivel: 100% of Twitter posts ever Tweeted.
  41. Inheritent flaws by dramason · · Score: 1

    Anyone caring about their computers health and data integrity should avoid google software. To me, the Google Chrome browser does not fit the definition of a web browser. Its "features" are invasive so I wouldn't recommend it to anyone for use on personal devices.

  42. X% of the CPU for Y amount of time by Anonymous Coward · · Score: 0

    The problem here is that if I'm on a slow machine, long-running but perfectly legitimate scripts *will* be burning more CPU time and for longer than faster machines, but I suspect putting that page in this "battery-saver mode" will get triggered a lot more than intended. Unless it's so forgiving that you might as well not have it at all. Or it's actually rated in a way so the CPU's performance is taken into account.

  43. Addons = inefficient & inferior vs. hosts by Anonymous Coward · · Score: 0

    Hosts protect where addons can't (or as well):

    Bad sites (past ads)
    Botnet C&Cs
    DNS down or poisoned
    Trackers (dns logs/ads/transparent ISP proxy)
    Dns blocks
    Spam/phish payload
    Slowdown 2 ways: adblocks & hardcodes
    Hosts = Ez edit.

    AB+ 151mb https://www.google.com/search?q=Adblock+memory+consumption&btnG=Search&hl=en&gbv=1/

    UBlock 64MB https://www.google.com/search?q=UBlock+memory+consumption&btnG=Search&hl=en&gbv=1/

    Hosts~16mb

    Addons = ClarityRay defeatable & crippled http://www.businessinsider.com/google-microsoft-amazon-taboola-pay-adblock-plus-to-stop-blocking-their-ads-2015-2/

    NoScript tag parses. Hosts block script prior to it!

    No 1 addon does as much.

    Stacked addons slowup.

    ADDONS = EXPLOITABLE https://news.slashdot.org/comments.pl?sid=11166303&cid=55266729/

    APK

    P.S.=> APK Hosts File Engine https://www.google.com/search?hl=en&source=hp&biw=&bih=&q=%22APK+Hosts+File+Engine%22+and+%22start64%22&btnG=Google+Search&gbv=1/

  44. uBlock has a security problem... apk by Anonymous Coward · · Score: 0

    See subject & this article http://www.theregister.co.uk/2017/10/17/ublock_origin_csp_reports/

    APK

    P.S.=> It's actually BLOCKING security warnings & it shouldn't be (nor does the developer of UBlock intend to fix it apparently)... apk

  45. years by markdavis · · Score: 1

    >"If a site is using more than XX% CPU for more than YY seconds, then we put the page into 'battery saver mode' where we aggressively throttle tasks and..."

    We should have already HAD this in ALL browsers. I suggested it for Firefox years and years ago. It isn't just cryptomining, but some sites have HORRIBLE programming with endless animation and crap moving and changing and calculating and re-loading things all the time. And who knows what is next.

    If the browser IS the next OS, then regardless of the actual OS or browser, we need more controls in the browser to control resources.

    Please let this happen!

  46. Mining is googles competition by goombah99 · · Score: 1

    Google isnâ(TM)t doing you a favor. Mining allows sites to pay for their operations without ads. Google wants to sell ad metrics and placement targeting to advertisers.

    I donâ(TM)t care if someone mines when I visit their site. Why not? Itâ(TM)s a free resource for me. I need to hear my house anyway. I can control when it happens. I like it.

    Google is afraid

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:Mining is googles competition by david_thornley · · Score: 1

      Except that you're paying dearly for what the site gets. Cryptocurrency mining requires oodles of computation (or everybody would be doing it as a background app on their phone), and is generally done on GPUs or more efficient devices. Doing it in Javascript on your browser is going to be horribly inefficient, so a page that brings your computer to its knees and heats up to machine limits and consumes electricity like it was going out of style will get the site only a teeny bit of value.

      I have no problem with paying a site I use in some manner. I only started using ad blockers because NoScript was no longer cutting it on my main systems (sites started requiring scripts from all over, and I couldn't tell them from ad scripts) and because my phone browser was practically unusable (I can only be so precise with my fingers, and if I want to scroll and the ads are 2mm apart, well...). However, I want the wealth transfer to be not too wasteful.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    2. Re:Mining is googles competition by goombah99 · · Score: 1

      Huh? power is ten cents a KiloWatt Hour. and my computer uses at most 80 watts. If I stayed on the site for 10 hours that would be ten cents.

      --
      Some drink at the fountain of knowledge. Others just gargle.
    3. Re:Mining is googles competition by david_thornley · · Score: 1

      Can you mine ten cents of cryptocurrency in ten hours?

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  47. Not that hard ... by Anonymous Coward · · Score: 0

    Stop allowing websites to fucking well run Javascript, problem solved.

    Sorry, but Javascript is so horribly abused by analytics, ads, and other assholes that I simply block the shit out of it. No third party javascript should ever be allowed to execute. Most javascript is shit you don't need so some incompetent web designer can add flashy bullshit you don't need.

    Like app permissions that phone manufacturers are reluctant to give us (because they profit from them), javascript needs far more user control ... but in the case of Chrome, Google is an advertiser and isn't going to cut their ability to run this shit.

    But make no mistake about it, Google Analytics is one of the many parasites embedding javascript in most of the sites you visit.

    The problem is the entire permission model of javascript is broken, as is the expectation that every site should be able to run scripts.

    Me, I'll block your fucking ads, and I'll keep blocking your fucking javascript if it means you think you're going to use my CPU to mine coins. The internet as we know it is a shit hole of commercial interests and other douchebags. Between malware, ads, and shit like this, I refuse to feel guilty for blocking the means of shit like this.

    If I have to trust everyone by default, or distrust everyone by default, there's no real choice there. Because ad companies are greedy assholes who I simply refuse to trust. I sure as hell am not going to trust them to run scripts.

  48. Not if you don't use Chrome or Search by tepples · · Score: 1

    Why does google get to decide and censor what JavaScript a website can run?

    Google doesn't get to do so unless you use the Google Chrome browser or reach the website through Google Search. Both have replacements: Firefox and DuckDuckGo, or Edge/Safari and Bing.

  49. Won't work by countach · · Score: 1

    60 seconds at 100% won't work. They'll just write the code to sleep for 1 second every 59 seconds.

  50. Bad assumptions about the source of the miner by thogard · · Score: 1

    Many web sites are loading thousands of Javascript modules which they often load from untrusted sites. What happens when someone starts sending patches adding a bit miner for their own account into existing code? That is happening right now.

  51. Hmm by Anonymous Coward · · Score: 0

    ChromeGoogleAlphabet didn't feel the need to include ad blocking when ads are actual security threats, but mining - a direct challenger to their bottom line - warrants browser changes. Neat.

  52. Re:Google explores ways to break non-google web ap by david_thornley · · Score: 1

    How does Edge go for downloading Firefox and Chrome? I used Internet Explorer for that on my current computer. (I can't think of a better use for a Microsoft browser.)

    --
    "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  53. Throttle Facebook! by hoggoth · · Score: 1

    This would be great. I could throttle down Facebook from burning all my CPU and give the rest to The Pirate Bay to pay them back for all they've done for us.

    --
    - For the complete works of Shakespeare: cat /dev/random (may take some time)