先將目前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 )