Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save CodeBrauer/7734c2309e99ab80eca5b7abbd5ece30 to your computer and use it in GitHub Desktop.
Save CodeBrauer/7734c2309e99ab80eca5b7abbd5ece30 to your computer and use it in GitHub Desktop.
Bookmarklets for delivery status pages (Lieferando/Amazon)

Bookmarklets for delivery status pages (Lieferando/Amazon)

Amazon πŸ“¦

(function() {
    'use strict';
    function loadData(){
        document.title = document.querySelector(".mapTracker-da-bubble").textContent + ' - Amazon';
    }
    setInterval(loadData,10*1000);
    loadData();
}());

πŸ”— Bookmarklet: https://bookmarkify.it/57815

Tested on: https://www.amazon.de/progress-tracker/package/xxx

Lieferando Foodtracker πŸ›΅πŸ”

(function() {
    'use strict';
    function loadData(){
        var title = "";

        var n = document.querySelectorAll('#scoober-tracker svg tspan');
        if(n.length) title += n[0].innerHTML + "min";

        var t = document.querySelectorAll('#scoober-tracker h1');
        if(t.length){
            if(title!=="") title += " - ";
            title += t[1].innerText;
        }

        if(title!=="") document.title = title;
    }
    setInterval(loadData,10*1000);
    loadData();
}());

πŸ”— Bookmarklet: https://bookmarkify.it/57813

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment