PushBullet

PushBullet API

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/418543/879740/PushBullet.js

Аўтар
wdssmq
Версія
0.0.1.20201212112405
Створаны
12.12.2020
Абноўлены
12.12.2020
Памер
7.5 КБ
Ліцэнзія
Н/Д

alexschneider/pushbullet-js: Client side javascript pushbullet

const objPB = window.PushBullet || {};
objPB.APIKey = "o.XXXXXXXXXXXXXXXXXXXX";
objPB.isGM = true;
objPB.push("link", null, null, {title: "<your title here>", url: "<your url here>", body: "<your optional body here>"}, function(err, res) {
  if(err) {
    throw err;
  } else {
    console.log(res);
  }
});