Forked from J05HI/eBay_Kleinanzeigen_Anzeige_duplizieren.js
Last active
May 30, 2023 08:51
-
-
Save OldRon1977/ccfa88e0e4a304dc08a0eba4010e0f6a to your computer and use it in GitHub Desktop.
eBay Kleinanzeigen - Anzeige duplizieren
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @namespace https://github.com/J05HI | |
// @name Kleinanzeigen - Anzeige duplizieren | |
// @description Bietet eine "Anzeige duplizieren" Funktion beim Bearbeiten einer vorhandenen Anzeige in eBay Kleinanzeigen. | |
// @icon http://www.google.com/s2/favicons?domain=www.kleinanzeigen.de | |
// @copyright 2020, J05HI (https://github.com/J05HI) (Update: Kleinanzeigen by OldRon) | |
// @license MIT | |
// @version 1.0.3 | |
// @match https://www.kleinanzeigen.de/p-anzeige-bearbeiten.html?adId=* | |
// @grant none | |
// @require http://code.jquery.com/jquery-3.5.1.min.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
$('#pstad-submit').after('<button id="pstad-duplicate" class="button" type="submit" style="background-color: #86B817;"><span>Anzeige duplizieren</span></button>'); | |
$('#pstad-duplicate').click(function(e) { | |
e.preventDefault(); | |
$('#postad-id').val(''); | |
$('#adForm').submit(); | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment