Copying an item's reference

override_quickcopy, always_copy, quick_copy_format

override_quickcopy

Setting name

Possible values

override_quickcopy

altKey or ctrlKey or metaKey or shiftKey

If the specified key is pressed when selecting an item from Search results, the extension will always render the item's data - even if Quick Copy is enabled.

You can use this to occasionally override Quick Copy.

zoteroRoam_settings = {
    // Your dataRequests object should be here :
    dataRequests: {
        apikey: 'XXXXXXXXXXXXXXXX',
        dataURI: 'users/1234567/items',
        params: 'limit=100'
    },
    
    override_quickcopy: 'shiftKey'
}

always_copy

Setting name

Possible values

always_copy

true or false (default)

zoteroRoam_settings = {
    // Your dataRequests object should be here :
    dataRequests: {
        apikey: 'XXXXXXXXXXXXXXXX',
        dataURI: 'users/1234567/items',
        params: 'limit=100'
    },
    
    always_copy: true
}

If set to true, the extension will always copy the selected item's reference to the clipboard - even if Quick Copy is disabled. The format used to copy the reference will be the one specified by quick_copy_format.

quick_copy_format

Setting name

Possible values

quick_copy_format

One of : citekey (default) tag pageref citation

Here are the different outputs available :

  • citekey (default) : @eghbalRoadsBridgesUnseen2016

  • tag : #[[@eghbalRoadsBridgesUnseen2016]]

  • pageref : [[@eghbalRoadsBridgesUnseen2016]]

  • citation : [Eghbal (2016)]([[@eghbalRoadsBridgesUnseen2016]])

zoteroRoam_settings = {
    // Your dataRequests object should be here :
    dataRequests: {
        apikey: 'XXXXXXXXXXXXXXXX',
        dataURI: 'users/1234567/items',
        params: 'limit=100'
    },
    
    quick_copy_format: 'citation'
}

Last updated