Prox Menu: Show xx CSS
|
Apr. 18, 2009, 10:57 PM
(This post was last modified: May. 08, 2009 02:32 PM by sidki3003.)
Post: #1
|
|||
|
|||
Prox Menu: Show xx CSS
5/08: attached files updated here
I'm using such a bookmarklet, similar to "Show xx Scripts", for Mozilla (by Jesse Ruderman) for a long while. However, the main drawback was that it didn't display imports. Recently, ddandyy posted a "Show All CSSs" mod for the Prox menu. The new thing here is that it also displays most inline imports. What follows is an attempt to get such a thing cross-browser ready, to also display (all!) imports by external style sheets, show disabled (i.e.: currently inactive) style sheets, etc. The modified prox-x-menu.js is attached. (It also contains a fix for Google Chrome not reversing "Toggle Topo View".) Below header filters need to be updated: Code: [HTTP headers] ! : Redir: . /local.ptron/ to Offsite Location becomes obsolete -> Uncheck. After merging, disabling the respective previous filter versions, and saving, do "Configure -> OK -> Save -> Reload" three times. The main obstacles being: - Entirely different syntax in IE vs. W3C for accessing the import rules. - At least 2 different security models for accessing off-domain rules. - Turning imports with relative URLs into absolute ones. - Getting IE to display text/css inline. Tricky scenarios: Lots of imports called by an onsite CSS, some disabled style sheets: http://www.info07.com/ Like above, plus disabled imports, plus style sheets blocked by Proxomitron: http://piro.sakura.ne.jp/ Off-domain import called by inline style (plus off-domain CSS bug): http://googlesystem.blogspot.com/ If you get an empty popup or a download dialog, then something went wrong. Let me know in this case (which doesn't imply that i can fix it). |
|||
« Next Oldest | Next Newest »
|