This file contains 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 Medium - Hide Featured | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description try to take over the world! | |
// @author You | |
// @match https://medium.com/* | |
// @grant none | |
// ==/UserScript== |
This file contains 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
// Gephi SVG visualisation interactivity | |
$('.viz-view svg').click(function (event) { | |
// check if the click was on one of the SVG child elements | |
if (event.target !== this) { | |
// set the clicked element as the target (because 'this' is the parent SVG element) | |
var target = $(event.target); | |
// if the click is on an edge path |
NewerOlder