LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-25-2022, 08:11 PM   #1
BudiKusasi
Member
 
Registered: Apr 2017
Distribution: Artix
Posts: 345

Rep: Reputation: 15
To we override CSS in a web page by using bookmark snippet


How to override web page color, in a snippet, after going to that page by window.location= ... javascript syntax

Thanks before

Last edited by BudiKusasi; 09-26-2022 at 09:01 PM.
 
Old 09-27-2022, 07:37 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,390
Blog Entries: 28

Rep: Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165
This article might be a good place to start: https://www.w3docs.com/snippets/css/...ss-styles.html

I have seen settings in some browsers that allow you to override the website's style with your own, but off the top of my head I can't remember in which brower(s). I just nosed around in the Firefox settings and could not find such an option (v. 105.0.1).

Which browser do you commonly use?
 
Old 09-27-2022, 09:26 PM   #3
BudiKusasi
Member
 
Registered: Apr 2017
Distribution: Artix
Posts: 345

Original Poster
Rep: Reputation: 15
weird it's always run before the go jump, i.e. processing the current page not the jump target one, e.g. such

javascript:window.location='https://xyz.com'; document.body.style.background = #000
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anybody familiar with GTK+3.x theming? Looking for help with gtk.css override. beanaroo Linux - Software 5 10-26-2015 05:36 PM
CSS - Is there a way to put several lines of HTML into one line using CSS? Chronothread Programming 12 01-05-2011 06:06 AM
OK to copy over bookmark & bookmark.bat Chrome files from Windows? zensunni Linux - Newbie 2 09-12-2010 03:52 PM
HTML/CSS/JS: Problem with <p> not having an absolute position with CSS. RHLinuxGUY Programming 7 03-03-2007 12:21 AM
Firefox Bookmark Manager - What are bookmark seperator names for? SBing Linux - Software 2 06-21-2004 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration