Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
The Internet Google Programming

Google Launches Portal, an HTML Tag To Replace Iframe (zdnet.com) 109

An anonymous reader quotes a report from ZDNet: At the I/O 2019 developer conference earlier this week, Google launched a new technology called Portals that aims to provide a new way of loading and navigating through web pages. According to Google, Portals will work with the help of a new HTML tag named . This tag works similarly to classic tags, allowing web developers to embed remote content in their pages. Google says portals allow users to navigate inside the content they are embedding --something that iframes do not allow for security reasons. Furthermore, portals can also overwrite the main URL address bar, meaning they are useful as a navigation system, and more than embedding content -- the most common way in which iframes are used today.

For example, engineers hope that when a user is navigating a news site, when they reach the bottom of a story, related links for other stories are embedded as portals, which the user can click and seamlessly transition to a new page. The advantage over using Portals over classic links is that the content inside portals can be pre-loaded while the user scrolls through a page, and be ready to expand into a new page without having the user wait for it to load.
In a demo, you can see that Portals allow users to watch/listen to embedded content and then transition seamlessly to its origin page, where they could leave comments or open other media.
This discussion has been archived. No new comments can be posted.

Google Launches Portal, an HTML Tag To Replace Iframe

Comments Filter:
  • What now? (Score:5, Funny)

    by fahrbot-bot ( 874524 ) on Friday May 10, 2019 @06:13PM (#58571494)

    According to Google, Portals will work with the help of a new HTML tag named .

    I'm confused, is it named "space" or "period"?

    • Re:What now? (Score:5, Informative)

      by Anonymous Coward on Friday May 10, 2019 @06:35PM (#58571598)

      According to Google, Portals will work with the help of a new HTML tag named <portal>. This tag works similarly to classic tags, allowing web developers to embed remote content in their pages.

      Someone goofed and didn't use the escape characters for the less than/greater than. Caused me to scratch my head too.

      • According to Google, Portals will work with the help of a new HTML tag named <portal>. This tag works similarly to classic tags, allowing web developers to embed remote content in their pages.

        Someone goofed and didn't use the escape characters for the less than/greater than. Caused me to scratch my head too.

        According to Google, Portals will work with the help of a new HTML tag named <portal>. This tag works similarly to classic <iframe> tags, allowing web developers to embed remote content in their pages.

        If you're going to correct the missing tags, at least get both of them.

        ---

        • He only corrected one, the new one. People already know iframe. If you're going to be a pedant, be correct in your pedantry.
    • I'm confused, is it named "space" or "period"?

      Yes.

    • by AHuxley ( 892839 )
      More ads. Lots of approved ads.
    • by ceoyoyo ( 59147 )

      It's named "you can't see it, but you're actually browsing this page THROUGH this other page which is logging your every move. Enjoy!"

    • by Anonymous Coward

      It is a portal to space .

    • by jrumney ( 197329 )
      They should just name it for its true purpose. <advertising-wrapper>.
    • Schrödinger's cat.

  • by Anonymous Coward

    https://wicg.github.io/portals/

    At least it's a W3C thing.

    • Re: (Score:2, Informative)

      by Anonymous Coward

      > This specification was published by the Web Platform Incubator Community Group. It is not a W3C Standard nor is it on the W3C Standards Track. Please note that under the W3C Community Contributor License Agreement (CLA) there is a limited opt-out and other conditions apply. Learn more about W3C Community and Business Groups.

      God you're fucking dumb aren't you you piece of shit google shill

    • At least it's a W3C thing.

      You mean a Google thing that they pushed into the W3C? By that standard, so is the Adobe Flash format.

  • Sounds ominous (Score:5, Insightful)

    by Kokuyo ( 549451 ) on Friday May 10, 2019 @06:22PM (#58571532) Journal

    Not a web developer but this sounds like it will be abusive on our bandwidth preloading stuff we might have zero interest in... And potentially abusable by all sorts of asshats...

    • by AHuxley ( 892839 )
      An ad company has to ad.
    • Google says portals allow users to navigate inside the content they are embedding -- something that iframes do not allow for security reasons.

      What could possibly go wrong?

      It's ok, if you use it in a Google AMP, then you can use a Google FEF (Flutter Embedded Flask) to ensure malware requests from remote (or other malware) domains can't inject XSS into your page.

      You just need to use the right framework.

    • Not to mention, instead of 50mb of bloated JS, you get 50mb of bloated JS per portal!
    • That preloading is feature of the next generation of http called 'http/2'.
      Under that web sites can push you files of various types and they sit there waiting for the tab, or others, to make a normal request for them. So this is just an extension, into a new area, of existing feature.
      As for the bandwidth issue I know in chrome you can totally disable http/2 but I don't know about just stopping the push feature in chrome or other browsers.
    • Yep.

      I can see that it might be potentially useful for a componentized website in a way that iframes aren't.

      But browsers already have way too much useful functionality that doesn't have sufficient limits to prevent it from being horribly abused to the detriment of users, where ultimately - regardless of how useful it can be - we would be better off it didn't exist and therefore couldn't be abused.

    • by AmiMoJo ( 196126 )

      So... Just like everything else in HTML, people can abuse it to make crappy web pages. Dates back at least to Netscape's blink tag, probably earlier.

      It actually seems like a good idea, because at the moment we have all kinds of janky Javascript based crap to simulate something approximating what this new tag does, but not very well. It's always going to be better to have a native option that is properly handled by the browser UI on mobile and desktop, and which doesn't require a 9000kb Javascript library an

  • by Anonymous Coward

    "portals can also overwrite the main URL address bar" sounds like a terrible idea, unless they mean there's a way to follow a link in a portal that makes it the main page instead of keeping it in the portal.

    Overall this sounds complicated for users and browser developers. Congratulations Google on earning your "New Microsoft" badge!!!

    • by aaronb1138 ( 2035478 ) on Friday May 10, 2019 @06:50PM (#58571660)
      They're demonstrably worse than Microsoft and accomplished that fall in the space of the last 5 years. Android is a cesspool. Nest is soon to be canceled. Fuchsia is just more fragmentation. Treble doesn't work.

      And just wait, they're getting ready to launch a huge press blitz about how they are the *privacy* provider.
      • by Kaenneth ( 82978 )

        Just like the Mafia is a business not getting burned down provider.

      • Re: (Score:3, Interesting)

        by thegarbz ( 1787294 )

        They're demonstrably worse than Microsoft

        Then demonstrate it as you so claim.

        Android is a cesspool.

        In what regard? An open app store allows developers to do what they want? The horror!

        Nest is soon to be canceled.

        Nest is currently being heavily integrated into Google Home. They aren't cancelling it, they are developing it further.

        Fuchsia is just more fragmentation.

        A big claim for a system that no one has seen running yet.

        Treble doesn't work.

        Treble is the latest in the effort to continuously improve Android deployments. The efforts to date have resulted in my phone getting an update once every major Android release (if I was lucky), to once every 2 mon

        • by Actually, I do RTFA ( 1058596 ) on Saturday May 11, 2019 @02:44AM (#58572964)

          And just wait, they're getting ready to launch a huge press blitz about how they are the *privacy* provider.

          Yes this coming from a company that is widely known for keeping your data secret from 3rd parties

          They don't keep it secret from the 2nd party (themselves.) Apple seems to. Apple makes it easy for end users to block the access of those evil other people hoovering up data to anything interesting.

          Oh, and Google just buys the data from those 3rd parties anyway.

  • by grep -v '.*' * ( 780312 ) on Friday May 10, 2019 @06:26PM (#58571560)

    you can see that Portals allow users to watch/listen to embedded content and then transition seamlessly to its origin page, where they could leave comments or open other media.

    What? Comments? What are those??

    Oh YEAH, I've heard about those. In the bad old days, people could actually talk about their own incorrect opinions, or promote an obviously untruthful fact. Imagine THAT: someone could have a thought that might actually OFFEND someone else. Incredible, but then again, those were savage times.

    Now-days, our planetary government has correctly made all internet sites read-only, where only officially sponsored text is released. It's so much nicer not having to be continually afraid of being offended by someone and to always have the absolute truth available at any moment.

    • first they came for the slanderers and i said nothing.

      • first they came for the slanderers and I said nothing.

        Most insightful comment I've read all month. Could have capitalized your I, though.

        • i really don't understand why the lower-case i bothers so many people. it is in fact the original form.

          i am glad, however, that you appreciate my observation.

  • It can do what? (Score:5, Insightful)

    by fahrbot-bot ( 874524 ) on Friday May 10, 2019 @06:34PM (#58571590)
    From TFA: [bold mine]

    Furthermore, portals can also overwrite the main URL address bar, meaning they are useful as a navigation system, and more than embedding content -- the most common way in which iframes are used today.

    Sure, navigation seems useful, but I can imagine LOTS of reasons I don't want this ... For one, the same security reasons iframes can't do this.

  • by Anonymous Coward on Friday May 10, 2019 @06:43PM (#58571630)

    "Google says portals allow users to navigate inside the content they are embedding --something that iframes do not allow for security reasons."

    OK, so what do Portals do to provide the necessary security, that iFrames do not? Or has Google decided that security is someone else's problem? Or did the iFrame security restriction turn out to be unnecessary?

  • by fahrbot-bot ( 874524 ) on Friday May 10, 2019 @06:44PM (#58571636)
    From TFA:

    Google engineers hope that their new Portals technology will take over the web and become the standard way in which websites transition between links.

    Reading the words "Google" and "take over the web" in the same sentence always makes my butt twitch.

    For example, engineers hope that when a user is navigating a news site, when they reach the bottom of a story, related links for other stories are embedded as portals, which the user can click and seamlessly transition to a new page.

    Why do they "hope", much less care. Perhaps this will somehow benefit Google more than us.

    The advantage over using Portals over classic links is that the content inside portals can be pre-loaded while the user scrolls through a page, and be ready to expand into a new page without having the user wait for it to load.

    I'm not a big fan of pre-loading content (or DNS resolutions) and always make attempts to disable it in the browser.

    • Who's going to be deciding which link to preload? Is it going to be the developer saying preload all of these links? The browser like it tries to do now? Or will Google be adding something to their browser that keeps track of what you read, examines the contents of the portal, and preloads the most likely link(s) that you are going to click on?

      With all of this preloading going on it's going to make hit counters and page views even more worthless statistics that what they are now. Good luck using those progr

      • That it is an HTML tag already answers all those questions, though.

        The developer will decide when to use a portal tag, and the browser will decide if it actually preloads anything or not. Power users will use a browser extension to control the process.

        • After digging into it some more it looks like it's the developer that does the controlling. See the demo at https://web.dev/hands-on-porta... [web.dev]

          It's not just the the portal tag. There's a bunch of scripting involved in the background. Give me a browser that doesn't support this or at least let's me turns this off.

    • Reading the words "Google" and "take over the web" in the same sentence always makes my butt twitch.

      That's what they're counting on. I didn't think they still had their mojo, but I guess they do.

      I'm just glad it is client side and therefore easy to turn off. (For people who have freedom-respecting browsers)

    • RE: Perhaps this will somehow benefit Google more than us. Absolutely. Isn't it obvious? This new tag has been invented for one purpose -- to allow Google to continue "embedding" aggregated content in their results but call it "linking" to try and get around the EU copyright regulations.
  • I for one welcome our new tentacle iframe space overlords and their use of the space period space to wall off space from periods.

    We've all seen what happens when tentacles ooze red, and it's not pretty, unless it is, cause it's natural and where the heck are the tentacle napkins?

  • Not "World Trade Fair" if I need to be more explicit. I might be in a more blunter than usual mood, but there is not one thing that is proper/secure/desirable with this "feature". Besides providing a possibly more "transparent to advertisers" traffic pattern, as if it is not transparent enough right now, only other potential benefit might be providing more by-pass routes against any new (probably European) privacy regulations. Nothing good for users, small benefit for content providers... OK we are all work
  • This is a way to prevent users from ever leaving google search page.
  • Chrome (Score:4, Insightful)

    by somenickname ( 1270442 ) on Friday May 10, 2019 @11:27PM (#58572506)

    This, and various other recent /. posts about new google web "features", are the kinds of things that should have everyone terrified at Chrome market share. Google has such a large share of the web browser market that it can effectively invent its own web standards, make Chrome understand them and then other browsers must implement them or become "incompatible". I, for one, do *not* welcome our new Google Overlords.

  • iFrames are limited the way they are for very good reasons. These "portals" sound like an invitation to attackers of all kinds.

    • For Google there is probably some advantage as it might centralize the web even more or give rise to more web "malware", so it might make sense for them to promote.

      Of course normal web users usually have quite different needs and wants, but those don't count in an oligopoly like we have with web browsers.

  • regardless of it's value or usefulness, Google will shut it down soon. Especially when it's just started to be widely adapted.
  • by CptJeanLuc ( 1889586 ) on Saturday May 11, 2019 @04:40AM (#58573152)

    So now that Google got pretty much every leading browser to use Chromium, they are starting to do proprietary extensions of the HTML standard? We have been here before with Internet Explorer and its proprietary technologies with Active this, Active that and what not ... it did not go well and it took more than a decade to undo.

    This "portal" thingie may or may not be a good thing, I don't know ... but please Google for the love of everything that is holy, go through the normal HTML standardization process, and do not start doing your own thing. If you do, I will at least do my insignificant little part to fight you by continuing to shout "break up the evil monopoly" every time I mention Google on the Internet.

  • by bradley13 ( 1118935 ) on Saturday May 11, 2019 @05:53AM (#58573266) Homepage

    Who remembers IE6? Microsoft had a dominant share of the browser market, and started to infect the web with proprietary extensions. A great way to ensure continuing marketing dominance. It took us years to get rid of IE6, and it was nowhere near as dominant as Chrome.

    Now that Microsoft is also using the Chrome engine, Google has a near monopoly on browser market share. Now they are introducing new HTML tag? You won't find this tag in the HTML standard. In fact, the introduction to the portal specification [github.io] explicitly states "...is not a W3C Standard nor is it on the W3C Standards Track." They clearly think that they have enough power to ignore standards - in fact, to become the new de facto standards dictator.

  • by fygment ( 444210 ) on Saturday May 11, 2019 @08:52AM (#58573500)

    Content is pre-loaded _in case_ the user wants a _seamless_ transition to another site. So use up more bandwidth for the possibility that the user will save milliseconds transitioning to another page. Does that use-case sound absolutely unnecessary? Making it almost certain that there is an ulterior motive.

    • by noit ( 4622713 )
      Sounds like a good way to subvert browser set cookie rules. If they define what the "portal" is and does they can dictate what you control about it in your browser.

The only possible interpretation of any research whatever in the `social sciences' is: some do, some don't. -- Ernest Rutherford

Working...