[Falkon] [Bug 396024] Allow per-site configuration of JavaScript
https://bugs.kde.org/show_bug.cgi?id=396024 Juraj changed: What|Removed |Added Resolution|--- |FIXED Status|REPORTED|RESOLVED Latest Commit||https://invent.kde.org/netw ||ork/falkon/-/commit/0dd534d ||165905b50dc9c54dd8cc08be83d ||bcb787 --- Comment #13 from Juraj --- Git commit 0dd534d165905b50dc9c54dd8cc08be83dbcb787 by Juraj Oravec. Committed on 12/06/2024 at 20:56. Pushed by jurajo into branch 'master'. Implement per site permissions in database This includes: - Cookies - HTML5 permissions - WebAttributes - Panels, tabs, GUI. Related: bug 409496, bug 451357, bug 392711 Signed-off-by: Juraj Oravec M +1-0autotests/CMakeLists.txt A +111 -0autotests/sitesettingstest.cpp [License: GPL (v3+)] A +47 -0autotests/sitesettingstest.h [License: GPL (v3+)] M +14 -3src/lib/CMakeLists.txt M +17 -0src/lib/app/mainapplication.cpp M +3-0src/lib/app/mainapplication.h M +179 -2src/lib/app/profilemanager.cpp M +3-0src/lib/app/profilemanager.h M +41 -28 src/lib/cookies/cookiejar.cpp M +0-3src/lib/cookies/cookiejar.h M +42 -12 src/lib/cookies/cookiemanager.cpp M +3-0src/lib/cookies/cookiemanager.h M +31 -0src/lib/data/data/browsedata.sql M +60 -0src/lib/other/siteinfo.cpp M +6-0src/lib/other/siteinfo.h M +37 -2src/lib/other/siteinfo.ui A +130 -0src/lib/other/siteinfopermissionitem.cpp [License: GPL (v3+)] A +64 -0src/lib/other/siteinfopermissionitem.h [License: GPL (v3+)] A +86 -0src/lib/other/siteinfopermissionitem.ui A +627 -0src/lib/other/sitesettingsmanager.cpp [License: GPL (v3+)] A +141 -0src/lib/other/sitesettingsmanager.h [License: GPL (v3+)] M +48 -8src/lib/preferences/preferences.cpp M +0-1src/lib/preferences/preferences.h M +181 -160 src/lib/preferences/preferences.ui A +40 -0src/lib/preferences/sitesettingsattributesitem.cpp [License: GPL(v3.0+)] A +40 -0src/lib/preferences/sitesettingsattributesitem.h [License: GPL(v3.0+)] A +49 -0src/lib/preferences/sitesettingsattributesitem.ui A +90 -0src/lib/preferences/sitesettingsbrowsedialog.cpp [License: GPL(v3.0+)] A +40 -0src/lib/preferences/sitesettingsbrowsedialog.h [License: GPL(v3.0+)] R +48 -88 src/lib/preferences/sitesettingsbrowsedialog.ui [from: src/lib/tools/html5permissions/html5permissionsdialog.ui - 058% similarity] A +73 -0src/lib/preferences/sitesettingshtml5item.cpp [License: GPL(v3.0+)] A +45 -0src/lib/preferences/sitesettingshtml5item.h [License: GPL(v3.0+)] A +52 -0src/lib/preferences/sitesettingshtml5item.ui D +0-190 src/lib/tools/html5permissions/html5permissionsdialog.cpp M +16 -81 src/lib/tools/html5permissions/html5permissionsmanager.cpp M +0-8src/lib/tools/html5permissions/html5permissionsmanager.h M +8-0src/lib/tools/sqldatabase.cpp M +2-0src/lib/tools/sqldatabase.h M +30 -2src/lib/webengine/webpage.cpp M +1-0src/plugins/CMakeLists.txt M +2-0src/plugins/PyFalkon/CMakeLists.txt M +3-0src/plugins/PyFalkon/pyfalkon_global.h M +6-0src/plugins/PyFalkon/typesystem_pyfalkon.xml A +14 -0src/plugins/SiteSettingsView/CMakeLists.txt A +2-0src/plugins/SiteSettingsView/Messages.sh A +9-0src/plugins/SiteSettingsView/sitesettingsview.json A +80 -0src/plugins/SiteSettingsView/sitesettingsview_controller.cpp [License: GPL (v3+)] C +18 -19 src/plugins/SiteSettingsView/sitesettingsview_controller.h [from: src/lib/tools/html5permissions/html5permissionsmanager.h - 050% similarity] A +66 -0src/plugins/SiteSettingsView/sitesettingsview_plugin.cpp [License: GPL (v3+)] R +21 -28 src/plugins/SiteSettingsView/sitesettingsview_plugin.h [from: src/lib/tools/html5permissions/html5permissionsdialog.h - 050% similarity] A +276 -0src/plugins/SiteSettingsView/sitesettingsview_widget.cpp [License: GPL (v3+)] A +66 -0src/plugins/SiteSettingsView/sitesettingsview_widget.h [License: GPL (v3+)] M +1-0src/plugins/StatusBarIcons/sbi_javascripticon.cpp https://invent.kde.org/network/falkon/-/commit/0dd534d165905b50dc9c54dd8cc08be83dbcb787 -- You are receiving this mail because: You are watching all bug changes.
[Falkon] [Bug 396024] Allow per-site configuration of JavaScript
https://bugs.kde.org/show_bug.cgi?id=396024 --- Comment #12 from Horstl --- After working for several months, the extension JavaScriptButton causes the following failure in my PCLinuxOS-install of Falkon: "Falkon: Python plugin support initialized falkon: symbol lookup error: /usr/lib64/plugins/falkon/PyFalkon.so: undefined symbol: _ZN8Shiboken10ObjectType20introduceWrapperTypeEP7_objectPKcS4_P11PyType_SpecS4_PFvPvEP13SbkObjectTypeS2_j" According to Texstar from PCLinuxOS this is a glibc 2.31 issue and: "The browser developers are aware of the issue and are working to fix the problem". Other updates that may be the cause for the problem were: python-rpm (4.8.1-11pclos2020) to 4.8.1-12pclos2020 python3-pyside2 (5.12.2-2pclos2019) to 5.12.6-1pclos2020 python3-shiboken2 (5.12.2-2pclos2019) to 5.12.6-1pclos2020 Can you fix this for Falkon too, please? -- You are receiving this mail because: You are watching all bug changes.
[Falkon] [Bug 396024] Allow per-site configuration of JavaScript
https://bugs.kde.org/show_bug.cgi?id=396024 --- Comment #11 from The_assassin --- (In reply to Horstl from comment #10) As far as I see, Falkon is built without Python plug-in for your distribution. You could ask packages maintainers to enable python3-pyside support for Falkon. If you want to build it yourself, you need to install "python3-pyside-devel" and "python3-shiboken-devel" packages. Good luck! -- You are receiving this mail because: You are watching all bug changes.
[Falkon] [Bug 396024] Allow per-site configuration of JavaScript
https://bugs.kde.org/show_bug.cgi?id=396024 --- Comment #10 from Horstl --- I'm using PCLinuxOS -- You are receiving this mail because: You are watching all bug changes.
[Falkon] [Bug 396024] Allow per-site configuration of JavaScript
https://bugs.kde.org/show_bug.cgi?id=396024 --- Comment #9 from The_assassin --- Which distribution you are using? -- You are receiving this mail because: You are watching all bug changes.
[Falkon] [Bug 396024] Allow per-site configuration of JavaScript
https://bugs.kde.org/show_bug.cgi?id=396024 --- Comment #8 from Horstl --- Doesn't work for me, unfortunately. How can I determine, if my Falkon was built with PyFalkon plug-in? And what would I have to ask the packager of my distro for, to enable it? Which compiler-options or whatsoever does he need? -- You are receiving this mail because: You are watching all bug changes.
[Falkon] [Bug 396024] Allow per-site configuration of JavaScript
https://bugs.kde.org/show_bug.cgi?id=396024 --- Comment #7 from The_assassin --- If Falkon was built with PyFalkon plug-in, it is already enabled and no additional action are required. Regarding extensions, if you are using most recent git version of Falkon, you could just click on the "INSTALL" button on the extension page, otherwise, just extract it to ~/.config/falkon/plugins Example command: unzip javascriptbutton.zip -d ~/.config/falkon/plugins -- You are receiving this mail because: You are watching all bug changes.
[Falkon] [Bug 396024] Allow per-site configuration of JavaScript
https://bugs.kde.org/show_bug.cgi?id=396024 Horstl changed: What|Removed |Added CC||hors...@opentrash.com --- Comment #6 from Horstl --- I would like to test the mentioned Python extension and downloaded javascriptbutton.zip, but I don't know what to do with it! It says: "Requires PyFalkon plug-in to be enabled in Falkon." => how do I have to do that in Falkon 3.1.0? And what do I have to do with the zip-file afterwards? Thanks in advance! -- You are receiving this mail because: You are watching all bug changes.
[Falkon] [Bug 396024] Allow per-site configuration of JavaScript
https://bugs.kde.org/show_bug.cgi?id=396024 --- Comment #5 from The_assassin --- Yes, it is per-tab, but you just could open the new site in new tab, or just click the button before open a new site in same tab. -- You are receiving this mail because: You are watching all bug changes.
[Falkon] [Bug 396024] Allow per-site configuration of JavaScript
https://bugs.kde.org/show_bug.cgi?id=396024 --- Comment #4 from Christoph Feck --- It doesn't have per-site configuration, so no, it is not useful. -- You are receiving this mail because: You are watching all bug changes.
[Falkon] [Bug 396024] Allow per-site configuration of JavaScript
https://bugs.kde.org/show_bug.cgi?id=396024 The_assassin changed: What|Removed |Added CC||private2@yandex.ru --- Comment #3 from The_assassin --- There is a Python extension at https://store.kde.org/browse/cat/571/ Please consider closing the issue if that extension are useful for you! Also, please do not report here issues related to that extension, thanks! -- You are receiving this mail because: You are watching all bug changes.
[Falkon] [Bug 396024] Allow per-site configuration of JavaScript
https://bugs.kde.org/show_bug.cgi?id=396024 --- Comment #2 from Christoph Feck --- I tried it, but it doesn't allow the reverse. If I have JavaScript disabled, the button doesn't allow me to temporarily enable it. Starting with enabled, then later disabling it defeats the purpose; any malformed site will have already executed its scripts before I get the chance to disable it. -- You are receiving this mail because: You are watching all bug changes.
[Falkon] [Bug 396024] Allow per-site configuration of JavaScript
https://bugs.kde.org/show_bug.cgi?id=396024 Xavier Brochard changed: What|Removed |Added CC||xav...@alternatif.org --- Comment #1 from Xavier Brochard --- The StatusBar Icons extension add a javascript icon at the bottom right of the window that let you temporarily disable Javascript. -- You are receiving this mail because: You are watching all bug changes.