Toot

Written by Elsental on 2024-11-25 at 09:21

I've been offered this before. But it doesn't work :

document.addEventListener('DOMContentLoaded', function () {

    const span = Array.from(document.querySelectorAll('span'))

      .find(el => el.textContent.trim() === 'Powered by ');

    if (span) {

      span.textContent = 'New text';

    }

  });


$(document).ready(function() {

const span = $('span').filter(function() {

return $(this).text().trim() === 'Powered by ';

});

if (span.length) {

span.text('New text');

}

});

=> More informations about this toot | View the thread | More toots from Elsental@shelter.moe

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113542856604938620
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
291.242529 milliseconds
Gemini-to-HTML Time
0.497594 milliseconds

This content has been proxied by September (ba2dc).