Closed
Bug 152062
Opened 22 years ago
Closed 22 years ago
[RFE] Selective substitution of CSS on foreign sites
Categories
(SeaMonkey :: UI Design, enhancement)
SeaMonkey
UI Design
Tracking
(Not tracked)
People
(Reporter: malx, Assigned: samir_bugzilla)
Details
I whould like to request a feature. When I visit a site and I do not like some CSS setting (for example white background) I need to have a way to change it (white -> grey). So next time in View->Use Style I whould see "Custom user style" for this site. It is something like selective "Block images", but it is for CSS. Better if there whould be bug #17534 , but even without it - simple diff and text edit whould do (open text edit. Ask user to edit current CSS. Check for diff(or even save all new style). save it somewhere to be accessible from View->Use Style). Could DOM inspector be used as CSS editor for this feature? If someone is interested - I am using now quick fix. A have add in Bookmarks item with URL="javascript:void(window.document.body.style.backgroundColor='#777777')" It is possible to alter any style (all at onece) with such hack, but is is not easy to edit this :) javascript:{document.styleSheets.item(0).cssRules.item(6).style.cssFloat="left";document.styleSheets.item(0).cssRules.item(5).style.cssFloat="left";document.styleSheets.item(0).cssRules.item(3).style.cssFloat="left";document.styleSheets.item(0).cssRules.item(4).style.cssFloat="left";alert(a)}
Comment 1•22 years ago
|
||
Feature requests should have severity "enhancement".
Severity: normal → enhancement
Comment 2•22 years ago
|
||
Editing the site's existing style sheet would not always work. Some sites use HTML instead of CSS for styles, some sites use inline styles instead of the <style> element, and some sites have mutliple style sheets. Also, diffing CSS should not be necessary. That's what cascading is for. Related bugs: bug 45848 ability to have multiple user style sheets. bug 41975 remember your choice of user style sheets for each site. bug 83663 remember your choice of author style sheets for each site. bug 32372 add "ignore all author styles" to the choice of author style sheets. Here are some tools your might find useful: http://www.squarefree.com/bookmarklets/webdevel.html#test_styles: this bookmarklet opens a window into which you can type a new style sheet for the current page/site. You often need to use !important because a style sheet added through a bookmarklet is considered to be an author style sheet rather than a user style sheet. http://www.squarefree.com/userstyles/make-bookmarklet.html: creates a bookmarklet based on CSS you type so you don't have to keep entering the same code into the test styles bookmarklet.
Assignee: Matti → sgehani
Component: Browser-General → XP Apps
QA Contact: imajes-qa → paw
Comment 3•22 years ago
|
||
I don't think this is different enough to be a separate bug. It's a combination of per site user css, and having a css editor, both of which are already filed. *** This bug has been marked as a duplicate of 41975 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•