-
Notifications
You must be signed in to change notification settings - Fork 7
quoted law name and statute not rendered #8
Comments
Hmm, for document pages 立法院議事暨公報管理系統, the following codes work perfectly as pre-processor: var ps = document.getElementsByTagName("P");
for(var i = 0; i < ps.length; ++i) ps[i].innerText = ps[i].innerText; But there seems to be different file at that site. The above page @clkao talked about has BTW, the page above has a corresponding page http://lci.ly.gov.tw/LyLCEW/html/agenda1/01/08/03/01/LCEWA01_080301_00003.htm with same content but different background. |
Codes var ps = document.getElementsByTagName("P");
for(var i = 0; i < ps.length; ++i) ps[i].innerText = ps[i].innerText; spend too much time for large documents. Some even reaches 90 seconds for me (AMD Sempron LE-1200, XPSP3). Gotta find some other way... |
Now you can click the button in the popup page! I don't really know what caused my problem before.... Other modification: * change name from "法令易讀器" to "法規亦毒氣"; old english name "zhLawEasyRead" is gone from `manifest.json`, but I haven't decided yet whether to retain it in cases that only english names are permittable. * debugged #8 by modifying `ly.lci.js`; I misused `document.location.pathname` to detect sub-string in search part.
for example: http://lci.ly.gov.tw/LyLCEW/jsp/ldad000.jsp?irKey=&htmlType=agenda&fileName=html/agenda1/01/08/03/01/LCEWA01_080301_00003.htm
"「會計法」第99條之1" should probably still be recognized
The text was updated successfully, but these errors were encountered: