×
Login Register an account
Top Submissions Explore Upgoat Search Random Subverse Random Post Colorize! Site Rules Donate
2

The HTML <title> of the page should be the post title.

submitted by qwop to TalkDev 4.1 yearsMar 23, 2021 20:29:50 ago (+2/-0)     (TalkDev)*

Currently when I bookmark a post, the bookmark is named "Voat - Have your say".
After I bookmark a bunch of posts, all I have is a folder full of:

Voat - Have your say
Voat - Have your say
Voat - Have your say
Voat - Have your say

Now that's not very useful :/

Solution: put the title of the post as the HTML title of the page.

E.g. the bookmark to this post should be something like:
"Voat - The HTML title of the page should be the post title."




2 comments block


[ - ] qwop [op] 0 points 4.1 yearsMar 24, 2021 20:42:30 ago (+0/-0)

Here is a Tampermonkey/Greasemonkey script to fix this issue:

// UserScript
// @name Voat - Title Fix
// @namespace https://www.voat.xyz/
// @version 1.0
// @author qwop
// @match https://www.voat.xyz/viewpost.php
// @grant none
// @run-at document-idle
// /UserScript

(function() {
'use strict';

setTimeout(() => {
document.title = 'Voat - ' + $('h2 > a').text();
}, 1000);
})();


[ - ] account deleted by user 0 points 4.1 yearsMar 23, 2021 20:45:50 ago (+0/-0)

account deleted by user