Send Link to Papaly Inbox

Adds a link to the current webpage to your Papaly Inbox

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Send Link to Papaly Inbox
// @namespace    https://gordon-breuer.de/
// @version      1.0
// @description  Adds a link to the current webpage to your Papaly Inbox
// @author       Anheledir
// @include http://*/*
// @include https://*/*
// @grant       GM_registerMenuCommand
// ==/UserScript==

function sendToInbox() {
    var e = document.createElement('script');
    e.setAttribute('id', 'clipinet-javascript');
    e.setAttribute('type', 'text/javascript');
    e.setAttribute('charset', 'UTF-8');
    e.setAttribute('src', '//papaly.com/items/bookmarklet.js?r=' + Math.floor(Math.random() * 100000));
    document.body.appendChild(e);
}

(function() {
    GM_registerMenuCommand("Send Link to Papaly Inbox", sendToInbox);
})();