Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Google ClickJacking Killer
- // @namespace alice
- // @description Googleの検索結果からクリックジャッキングを除去 ©2014 alice
- // @include https://www.google.com/*
- // @include https://www.google.co.*/*
- // @version 2
- // @grant none
- // ==/UserScript==
- window.setTimeout(killClickJacking, 1000);
- window.setInterval(killClickJacking, 2000);
- function killClickJacking()
- {
- var anchors = document.getElementsByTagName('A');
- for(var i = 0; i < anchors.length; i++)
- {
- anchors[i].onmousedown = '';
- }
- }
Add Comment
Please, Sign In to add comment