Last active
October 12, 2018 18:10
-
-
Save hagure/bbf964b9ba867edea96aea63557e4f6c to your computer and use it in GitHub Desktop.
Pinboard - Change Title of Tab Set pages to the name of the Tab Set #pinboard #userscript
This file contains hidden or 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== | |
// @name Pinboard - Change Tab Sets Titles to Name of Set | |
// @namespace https://terrymccall.info | |
// @version 1.0 | |
// @description Instead of "Pinboard: Tab Detail", it shows the title of the Tab Set | |
// @author Hagure | |
// @match https://pinboard.in/u:*/tabs/*/ | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Your code here... | |
var thetitle = document.getElementById('set_name_value'); | |
document.title = thetitle.innerHTML; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment