Pocket select all

Select all item on getpocket.com

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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);
})();