Pocket select all

Select all item on getpocket.com

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         Pocket select all
// @name:zh-CN   Pocket全选
// @namespace    hoothin
// @version      0.1
// @description  Select all item on getpocket.com
// @description:zh-CN  在Pocket列表页内添加全选按钮
// @author       hoothin
// @include      https://getpocket.com/a/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    if($(".bulkedit-status>p").length<1)return;
    var selectBtn=document.createElement("a");
    selectBtn.href="#";
    selectBtn.innerHTML="Select All";
    selectBtn.style="position: absolute;left: -100px;top: 15px;";
    selectBtn.onclick=function(e){$(".item_content").click();};
    $(".bulkedit-status>p").after(selectBtn);
})();