Coder Social home page Coder Social logo

hkg-oneclickblock5p's Introduction

一鍵 block 清幾百件 5P 仔!#good# #tl;dr

先將目前forum轉做forum11,並隨意進入任何一個post之中。(chrome、IE請照以下步驟,Firefox請見第1頁頁尾指示) copy以下句子到網址欄 ( 由java(); ):

javascript:(function(){OneClickBlock5PLoader = document.createElement('script');OneClickBlock5PLoader.type = 'text/javascript';OneClickBlock5PLoader.id = 'OneClickBlock5PLoaderScript';OneClickBlock5PLoader.src = 'http://hkg-oneclickblock5p.googlecode.com/svn/trunk/1ClickBlock5P.js';document.getElementsByTagName('head')[0].appendChild(OneClickBlock5PLoader)})();

copy完後將句首的java script中間的空白位刪去變成javascript。(可按home制跳到句首)

按enter,然後根據跳出視窗指示,完成。

#Firefox Work-around

  • 入是但一個 post
  • Ctrl + Shift + K
  • Ctrl + V
  • Enter

##(點解要咁拎煩?)

http://stackoverflow.com/questions/10000862/javascript-not-running-from-address-bar

tl;dr Firefox (among others) won't allow you to run javascript snippets in the address bar anymore. 

http://stackoverflow.com/questions/7375288/firefox-6-javascript-in-addressbar

Indeed, using the Web Console (Ctrl-Shift-K) is the preferred way to run JavaScript now. 

https://bugzilla.mozilla.org/show_bug.cgi?id=656433

The change this bug will make is to disallow loading of javascript: URLs from the URL bar ''at all''. This behavior varies slightly from IE 9 which strips the leading "javascript:" from a pasted URL, and Chrome which does something similar. 

The approach in this bug still enables bookmarklet functionality through bookmarks as well as entering them on the Web Console or Error Console. 

...

Disabling only pastes ''will'' reduce the success rate of these attacks (impossible to say by how much). Disabling entering javascript: URIs in the location bar entirely will reduce the success rate further (impossible to say how much further), by eliminating the "type this prefix yourself and then paste this" variants, at the cost of breaking functionality that some users (a minority) have come to depend on (e.g. loading simple data: URIs to test something quickly). Evaluating that tradeoff isn't trivial, and given the "impossible to says", it's very subjective. 

#完成後…

最後恭喜巴打已清洗高登所有5p仔,所有5p仔記錄保留在此頁,留待各位驗證。若閣下發現有5p仔幸存,請pm回報,本名單將不斷更新,歡迎巴打們日後再執行一次此程式。

推post是對5p仔的最大打擊: http://forum11.hkgolden.com/view.aspx?message=4638679

名單製作巴打:屌你腦魔呀 ( http://forum11.hkgolden.com/ProfilePage.aspx?userid=249771 )

程式製作巴打:hkgsherlock ( http://forum11.hkgolden.com/ProfilePage.aspx?userid=229020 )

hkg-oneclickblock5p's People

Contributors

soumasandesu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.