2

I am looking for a browser extension (preferably Chrome), script or Windows 7 program that modifies the behavior of Google Spreadsheets so that whenever a cell is selected its content is copied into the clipboard.

1

This userscript will auto-copy the cell's contents once it becomes active; it's not exactly what you want, but it does what you want at the expense of another click.

// ==UserScript==
// @name         Google Sheets auto copier
// @namespace    http://stackexchange.com/users/4337810/%E1%94%95%E1%96%BA%E1%98%8E%E1%95%8A
// @version      0.9
// @description  Auto copies cell contents when it is active
// @author       ᔕᖺᘎᕊ (http://stackexchange.com/users/4337810/%E1%94%95%E1%96%BA%E1%98%8E%E1%95%8A)
// @match        *://docs.google.com/spreadsheets/*
// @require      https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js
// @grant        GM_setClipboard
// ==/UserScript==

setTimeout(function() {
    $('div[class="cell-input"]').on('click', function() {
        GM_setClipboard($(this).text());
    });
}, 1000);
  1. Install Tampermonkey (before you use this because the script relies on GM_setClipboard and Tampermonkey provides support for that).
  2. Install the script

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.