Use waitforkeyelements for handyflash
This commit is contained in:
@ -1,16 +1,20 @@
|
||||
// ==UserScript==
|
||||
// @name Gesamtkosten Handyflash
|
||||
// @namespace http://tampermonkey.net/
|
||||
// @version 0.2
|
||||
// @version 0.3
|
||||
// @description Berechnet die Gesamtkosten der Verträge auf handyflash.de
|
||||
// @author Jan Bader <jan@javil.eu>
|
||||
// @match http*://www.handyflash.de/handys/*
|
||||
// @updateUrl https://git.javil.eu/jacob1123/userscripts/raw/master/total-cost.handyflash.user.js
|
||||
// @grant none
|
||||
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
|
||||
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
|
||||
// @grant GM_addStyle
|
||||
// ==/UserScript==
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
waitForKeyElements("article.rate", actionFunction);
|
||||
function actionFunction() {
|
||||
jQuery("article.rate").each(
|
||||
function(i, tarif) {
|
||||
var grundgebuehr_text = jQuery(tarif).find(".tariff_price").text();
|
||||
@ -29,4 +33,5 @@
|
||||
console.log(header + ": " + info);
|
||||
}
|
||||
);
|
||||
}
|
||||
})();
|
||||
|
Reference in New Issue
Block a user