diff options
| -rw-r--r-- | home.nix | 60 |
1 files changed, 30 insertions, 30 deletions
| @@ -621,47 +621,47 @@ in | |||
| 621 | 621 | ||
| 622 | extraConfig = '' | 622 | extraConfig = '' |
| 623 | # javascript | 623 | # javascript |
| 624 | config.set('content.javascript.enabled', True, 'chrome-devtools://*') | 624 | config.set('content.javascript.enabled', True, 'chrome-devtools://*') |
| 625 | config.set('content.javascript.enabled', True, 'devtools://*') | 625 | config.set('content.javascript.enabled', True, 'devtools://*') |
| 626 | config.set('content.javascript.enabled', True, 'chrome://*/*') | 626 | config.set('content.javascript.enabled', True, 'chrome://*/*') |
| 627 | config.set('content.javascript.enabled', True, 'qute://*/*') | 627 | config.set('content.javascript.enabled', True, 'qute://*/*') |
| 628 | 628 | ||
| 629 | config.set('content.javascript.enabled', True, 'floridapolytechnic.instructure.com') | 629 | config.set('content.javascript.enabled', True, 'floridapolytechnic.instructure.com') |
| 630 | config.set('content.javascript.enabled', True, '*.floridapoly.edu') | 630 | config.set('content.javascript.enabled', True, '*.floridapoly.edu') |
| 631 | config.set('content.javascript.enabled', True, 'login.microsoftonline.com') | 631 | config.set('content.javascript.enabled', True, 'login.microsoftonline.com') |
| 632 | config.set('content.javascript.enabled', True, 'www.microsoft365.com') | 632 | config.set('content.javascript.enabled', True, 'www.microsoft365.com') |
| 633 | config.set('content.javascript.enabled', True, 'flpoly-my.sharepoint.com') | 633 | config.set('content.javascript.enabled', True, 'flpoly-my.sharepoint.com') |
| 634 | config.set('content.javascript.enabled', True, 'flpoly.sharepoint.com') | 634 | config.set('content.javascript.enabled', True, 'flpoly.sharepoint.com') |
| 635 | config.set('content.javascript.enabled', True, 'teams.microsoft.com') | 635 | config.set('content.javascript.enabled', True, 'teams.microsoft.com') |
| 636 | config.set('content.javascript.enabled', True, 'ieeexplore.ieee.org') | 636 | config.set('content.javascript.enabled', True, 'ieeexplore.ieee.org') |
| 637 | 637 | ||
| 638 | config.set('content.javascript.enabled', True, 'gitlab.com') | 638 | config.set('content.javascript.enabled', True, 'gitlab.com') |
| 639 | config.set('content.javascript.enabled', True, 'cloud.binary.ninja') | 639 | config.set('content.javascript.enabled', True, 'cloud.binary.ninja') |
| 640 | config.set('content.javascript.enabled', True, 'console.hetzner.cloud') | 640 | config.set('content.javascript.enabled', True, 'console.hetzner.cloud') |
| 641 | config.set('content.javascript.enabled', True, '*.hetzner.com') | 641 | config.set('content.javascript.enabled', True, '*.hetzner.com') |
| 642 | config.set('content.javascript.enabled', True, '*.digikey.com') | 642 | config.set('content.javascript.enabled', True, '*.digikey.com') |
| 643 | config.set('content.javascript.enabled', True, '*.demiurge.epistemia') | 643 | config.set('content.javascript.enabled', True, '*.demiurge.epistemia') |
| 644 | 644 | ||
| 645 | # Allow locally loaded documents to access remote URLs. | 645 | # Allow locally loaded documents to access remote URLs. |
| 646 | config.set('content.local_content_can_access_remote_urls', True, 'file:///home/vin/.local/share/qutebrowser/userscripts/*') | 646 | config.set('content.local_content_can_access_remote_urls', True, 'file:///home/vin/.local/share/qutebrowser/userscripts/*') |
| 647 | config.set('content.local_content_can_access_file_urls', False, 'file:///home/vin/.local/share/qutebrowser/userscripts/*') | 647 | config.set('content.local_content_can_access_file_urls', False, 'file:///home/vin/.local/share/qutebrowser/userscripts/*') |
| 648 | 648 | ||
| 649 | # disable dark mode for some sites | 649 | # disable dark mode for some sites |
| 650 | config.set('colors.webpage.darkmode.enabled', False, 'flpoly-my.sharepoint.com') | 650 | config.set('colors.webpage.darkmode.enabled', False, 'flpoly-my.sharepoint.com') |
| 651 | config.set('colors.webpage.darkmode.enabled', False, 'flpoly.sharepoint.com') | 651 | config.set('colors.webpage.darkmode.enabled', False, 'flpoly.sharepoint.com') |
| 652 | config.set('colors.webpage.darkmode.enabled', False, 'teams.microsoft.com') | 652 | config.set('colors.webpage.darkmode.enabled', False, 'teams.microsoft.com') |
| 653 | 653 | ||
| 654 | config.set('colors.webpage.darkmode.enabled', False, 'cloud.binary.ninja') | 654 | config.set('colors.webpage.darkmode.enabled', False, 'cloud.binary.ninja') |
| 655 | config.set('colors.webpage.darkmode.enabled', False, 'git.vineetk.net') | 655 | config.set('colors.webpage.darkmode.enabled', False, 'git.vineetk.net') |
| 656 | 656 | ||
| 657 | # prevent accidental exiting | 657 | # prevent accidental exiting |
| 658 | config.unbind("<Ctrl+q>", mode="normal") | 658 | config.unbind("<Ctrl+q>", mode="normal") |
| 659 | 659 | ||
| 660 | # source theme from nixos | 660 | # source theme from nixos |
| 661 | config.source("theme.py") | 661 | config.source("theme.py") |
| 662 | 662 | ||
| 663 | # source redirectors | 663 | # source redirectors |
| 664 | config.source("redirectors.py") | 664 | config.source("redirectors.py") |
| 665 | ''; | 665 | ''; |
| 666 | }; | 666 | }; |
| 667 | 667 | ||
