Add a nvd userscript to always show `Change History' - dotfiles - leot's dotfiles
(HTM) hg clone https://bitbucket.org/iamleot/dotfiles
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset 310bce4d741b027d45735532213b3602afea96d8
(DIR) parent 7a8350e7ee8dfc0523513b3ce20f630a49241b4c
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 14 Oct 2018 02:49:48
Add a nvd userscript to always show `Change History'
(The contents of it can often save some time, always show it.)
Diffstat:
config/vimb/scripts.js | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff -r 7a8350e7ee8d -r 310bce4d741b config/vimb/scripts.js
--- a/config/vimb/scripts.js Fri Oct 12 22:09:51 2018 +0200
+++ b/config/vimb/scripts.js Sun Oct 14 02:49:48 2018 +0200
@@ -60,6 +60,20 @@
}
// ==UserScript==
+// @name nvd
+// @description Show Change History
+// @include http*://nvd.nist.gov/vuln/detail/*
+// ==/UserScript==
+function userscript_nvd()
+{
+ [".vuln-change-history-container"].forEach(function(c) {
+ document.querySelectorAll(c).forEach(function(e) {
+ e.style["display"] = "block";
+ });
+ });
+}
+
+// ==UserScript==
// @name nytimes
// @description Remove top and bottom banners on The New York Times
// @include http*://www.nytimes.com/*