Skip to content

Instantly share code, notes, and snippets.

@aweffr
Created September 4, 2019 01:51
Show Gist options
  • Save aweffr/1820d79774be8b994e27841de6ec300a to your computer and use it in GitHub Desktop.
Save aweffr/1820d79774be8b994e27841de6ec300a to your computer and use it in GitHub Desktop.
greaseMoney-starter.js
// ==UserScript==
// @name test
// @namespace http://tampermonkey.net/
// @version 0.1
// @description test
// @match *
// @author rxliuli
// @grant MIT
// @grant GM.deleteValue
// @grant GM.getValue
// @grant GM.listValues
// @grant GM.setValue
// @grant GM.getResourceUrl
// @grant GM.notification
// @grant GM.openInTab
// @grant GM.setClipboard
// ==/UserScript==
;
(function() {
'use strict'
console.log(GM)
console.log(GM.info)
console.log(GM.deleteValue)
console.log(GM.getValue)
console.log(GM.listValues)
console.log(GM.setValue)
console.log(GM.getResourceUrl)
console.log(GM.notification)
console.log(GM.openInTab)
console.log(GM.setClipboard)
console.log(GM.setClipboard)
console.log(unsafeWindow)
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment