GithubHelp home page GithubHelp logo

ubuntu-copy-docs's Introduction

Ubuntu Copy Docs

Browser extension that adds a link to copy docs to Ubuntu and Canonical websites.

extenstion in action on ubuntu.com

Install

Firefox

Get Ubuntu Copy Docs from Firefox Add-ons.

Chrome

Get Ubuntu Copy Docs from Chrome Web Store.

How to add it to the site

This extension looks for specific meta data in the page HTML.

If you want to link your page to a copy doc you need to add a <meta name="copydoc" content="..."> tag to the page HTML head, where the content is the URL of the copy doc.

For example:

<meta name="copydoc" content="https://docs.google.com/document/d/example123">

Currently the extension is configured only on some domains (including ubuntu.com, canonical.com, snapcraft.io, maas.io). If you would like your domain added to those file a bug or create a PR with it.

ubuntu-copy-docs's People

Contributors

andreeamun avatar anthonydillon avatar bartaz avatar deadlight avatar petesfrench avatar renovate-bot avatar renovate[bot] avatar sparkiegeek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ubuntu-copy-docs's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/release.yml
  • actions/checkout v3
  • actions/create-release v1
  • actions/upload-release-asset v1

  • Check this box to trigger a request for Renovate to run again on this repository

The meta tags seem to trigger google login on firefox

By visiting this site in ubuntu.com which contains these tags, I got warned by my password manager that credentials to google.com were requested (the wording was somehow weird), here is a screenshot
Screen Shot 2019-10-11 at 12 20 35 by looking at the source the only two google related pieces of code were the re-captcha (which I have encountered in countless sites that do not trigger this) and the meta tag for this add-on:

<meta name="copydoc" content="https://drive.google.com/drive/folders/0B4s80tIYQW4BMjNiMGFmNzQtNDkxZC00YmQ0LWJiZWUtNTk2YThlY2MzZmJh">
  <meta name="google-site-verification" content="ddh2iq7ZuKf1LpkL_gtM_T7DkKDVD7ibq6Ceue4a_3M">

It would seem to me that the browser, when the extension is not present, tries somehow to access the link? (the link mentioned in there requires authorization). Now this is not especially bad but it might lead to sites using it to be flagged as suspicious when it happens? perhaps using a either encoded text to avoid pre-fetch by eager browsers or a CDATA section?

Cheers.

Update logos

We are using old logos for the extension store pages, we should use the new one.

It requires changes both in code (for built-in icons) and stores listing pages (Firefox and Chrome).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.