// ==UserScript== // @name Остановить новый диз VK // @version 1.2 // @description Удаляем редирект ВК // @author ICP // @match *://*.vk.com/* // @exclude *://vk.com/* // @exclude *://m.vk.com/* // @exclude *://new.vk.com/about // @exclude *://new.vk.com/products // @exclude *://new.vk.com/dev // @exclude *://new.vk.com/dev/* // @exclude *://new.vk.com/blog // @exclude *://new.vk.com/blog/* // @run-at document-start // @grant GM_xmlhttpRequest // @connect *.vk.com // @namespace ICP // @run-at document-start // @downloadURL none // ==/UserScript== var urls = window.location.href.replace(/(http.*):.*vk.com\//i, '$1://vk.com/'); var form = document.createElement('form'); form.method = 'post'; form.action = urls; document.head.appendChild(form); form.submit();