-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom CSS not applied to new pages #3452
Comments
I saw that issue but thought this might be different since it's not involving iframes? I'm happy to close this if it's the same thing. |
Update: maybe I need to do more tests, so I'll investigate more in days. Update 2: in fact #3732 works in most time, except the short time before a web page gets completely downloaded (content-loaded) from Internet. |
I run into this issue, too. |
Still running into this issue |
I regularly encounter this problem too :c |
@gdh1995 adding onto this issue; I think the style for the background of the searched text is broken, i tried both |
Custom CSS seems to be ignored completely in my case (Vivaldi 3.3, Xubuntu 16.04.3). Since there are troubles with custom CSS, is it possible to somehow replace / overwrite the default one? |
I'm experiencing the same issue, and it's really annoying to have to reload each new tab to temporarily fix it. Has anyone found a way to make it work and always load the custom CSS instead of the default one? Thanks |
I found a workaround. As @sebastian-65 thought, by overwriting the default configuration I managed to fix it. It's not ideal, but get the job done for now. In the file "$XDG_CONFIG_HOME/chromium/Default/Extensions/<id_number>/<version_number>/content_scripts/vimium.css" I changed the attributes of "div.internalVimiumHintMarker", "div.internalVimiumHintMarker span" and "div.internalVimiumInputHint" to match my custom CSS "hint" configuration. Even though I have lots of stuff in my custom CSS, the issue only affects the hint, so that was all I had to change. Hope this helps someone. |
I'm glad to hear you've made it @0x462e41! I'm definitely gonna try it in couple of days. Thank you for your investigation! |
Pretty cool link hints. Consider sharing the CSS on the theme page. |
this no longer works, as chromium now checks for modifications of plugins, and disables them if they no longer match their expected hash. :( |
I mean, you can just download the source from github and load it as an unpacked extension from chrome://extensions in developer mode, so there is no hash verification and you can just edit the source as you wish. |
Added the following code in main.js, and it seems to fix the problem. That is, the CSS from the settings is applied. For me this bug happened a lot when using activateModeToOpenInNewForegroundTab.
|
@itajsh |
@gdh1995 OK, this seems to work too. |
Since no related reports for Vimium-Fx in philc#3452 .
This should now be fixed in Vimium on |
I have some custom CSS set (which is a much appreciated feature) but there are times when the default styles are still applied until I reload the page.
Steps to reproduce the behavior (90% consistent):
Since it only seems to happen on a new page and not every single time, maybe there's something happening while things are loading or initializing?
With custom CSS:
![Screen Shot 2020-01-01 at 8 33 16 PM](https://user-images.githubusercontent.com/9157052/71651924-55a93f00-2cd6-11ea-9cfd-683cbd47f595.png)
Custom CSS not being applied:
![Screen Shot 2020-01-01 at 8 32 53 PM](https://user-images.githubusercontent.com/9157052/71651929-5f32a700-2cd6-11ea-8e4d-af5632413f6b.png)
Chrome: 79.0.3945.88
Vimium: 1.64.6
macOS: 10.15.2
The text was updated successfully, but these errors were encountered: