Add Google Calendar back to chrome://apps and create a launcher in Ubuntu Dock

Submitted by Jochus on Fri, 27/07/2018 - 08:07 | Posted in: Linux

  • Navigate to calendar.google.com
  • Press F12 to bring up the Developer Tools Panel.
  • Click the Console tab.
  • Google an icon of your choosing by typing "Google Calendar.ico" into Google Images
  • Paste this code in, replacing the "link.href" part with your chosen icon and press enter:
    (function() {
        var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
        link.type = 'image/x-icon';
        link.rel = 'shortcut icon';
        link.href = '<a href="https://png.icons8.com/color/1600/google-calendar.png';&#10">https://png.icons8.com/color/1600/google-calendar.png';&#10</a>;    document.getElementsByTagName('head')[0].appendChild(link);
    })();

    You'll notice the web page's icon will change.
  • Click the '...' button > More tools... > Create shortcut > "Google Calendar"
  • Go to chrome://apps or click the Apps button in the top-left of your browser and you should see the new high quality icon there
  • Right click on the app and pick: Create shortcuts ...
  • Check Applications Menu
  • In the Ubuntu launcher, search for your app
  • Right click on the app and choose Add to favorites

Add new comment

The content of this field is kept private and will not be shown publicly.

Full HTML

  • Lines and paragraphs break automatically.
  • You can caption images (data-caption="Text"), but also videos, blockquotes, and so on.
  • Web page addresses and email addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <cpp>, <css>, <html5>, <java>, <javascript>, <php>, <sql>, <xml>. The supported tag styles are: <foo>, [foo].
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.