arnoldsk / Fix PoE Builds links

// ==UserScript==
// @name         Fix PoE Builds links
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://www.poebuilds.cc/*
// @license      MIT
// @grant        none
// ==/UserScript==

;(() => {
  'use strict';

  document
    .querySelectorAll('a[href^="http://www.pathofexile.com"]')
    .forEach(e => (e.href = e.href.replace('http', 'https')))
})()