Neverending Perpetual Motion

    @jswork/next-gm-api

    1.0.2 • Public • Published

    next-gm-api

    APIs for tampermonkey.

    version license size download

    installation

    npm install -S @jswork/next-gm-api

    apis

    api description
    gets Get all the apis.
    addStyle From tampermonkey.
    deleteValue From tampermonkey.
    listValues From tampermonkey.
    addValueChangeListener From tampermonkey.
    removeValueChangeListener From tampermonkey.
    setValue From tampermonkey.
    getValue From tampermonkey.
    log From tampermonkey.
    getResourceText From tampermonkey.
    getResourceURL From tampermonkey.
    registerMenuCommand From tampermonkey.
    unregisterMenuCommand From tampermonkey.
    openInTab From tampermonkey.
    xmlhttpRequest From tampermonkey.
    download From tampermonkey.
    getTab From tampermonkey.
    saveTab From tampermonkey.
    getTabs From tampermonkey.
    notification From tampermonkey.
    setClipboard From tampermonkey.
    info From tampermonkey.

    usage

    // @grant GM_addStyle
    // @grant GM_deleteValue
    // @grant GM_listValues
    // @grant GM_addValueChangeListener
    // @grant GM_removeValueChangeListener
    // @grant GM_setValue
    // @grant GM_getValue
    // @grant GM_log
    // @grant GM_getResourceText
    // @grant GM_getResourceURL
    // @grant GM_registerMenuCommand
    // @grant GM_unregisterMenuCommand
    // @grant GM_openInTab
    // @grant GM_xmlhttpRequest
    // @grant GM_download
    // @grant GM_getTab
    // @grant GM_saveTab
    // @grant GM_getTabs
    // @grant GM_notification
    // @grant GM_setClipboard
    // @grant GM_info
    
    import NxGmApi from '@feizheng/next-gm-api';
    
    NxGmApi.log('hello From tampermonkey.~');

    resources

    license

    Code released under the MIT license.

    Install

    npm i @jswork/next-gm-api

    DownloadsWeekly Downloads

    9

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    7.19 kB

    Total Files

    5

    Last publish

    Collaborators

    • afeiship