You are not logged in.

Tillin9

Beginner

  • "Tillin9" started this thread

Posts: 4

Location: Middletown, CT

Occupation: Physcs Research Itern, Intermediate Linux Admin

  • Send private message

1

Wednesday, July 26th 2006, 2:16am

Pop-up Blocker in Konqueror

Howdy, I want to disable to warning message that comes up whenever the pop-up blocker blocks a pop-up. I don't actually want to change the behavior of the blocking, just the annoying messages.

I'm on KDE 3.5.3, running Debian etch.

Is there a way to do this? (preferably without recompiling) I couldn't find it in any config dialogues, and searching didn't yield any results. If not could I put in a feature request for such an option?

I know I could disable Javascript and that would probably do it, but I would like both Javascript and Smart pop-up blocking enabled, just not so many warning messages.

This mainly stems from a few of the sites my lab uses (designed for IE) trigger the blocker's warning message repeatidly (one once very 30 seconds) even if they don't actually serve pop-ups when viewed under IE.

Tillin9

Beginner

  • "Tillin9" started this thread

Posts: 4

Location: Middletown, CT

Occupation: Physcs Research Itern, Intermediate Linux Admin

  • Send private message

2

Wednesday, July 26th 2006, 2:26am

Similarly, is there an option to lock toolbars in Konqueror? The toolbars menu has no "lock toolbars menu" and configure toolbars doesn't seem to have anything helpful either.

Thanks in advance.

jucato

Trainee

Posts: 155

Location: Philippines

  • Send private message

3

Wednesday, July 26th 2006, 4:00am

I think you can configure Konqueror to automatically reject Javascript from individual/specific sites, so that it won't ask you again and again for confirmation. It's in Settings > Configure Konqueror > Java & Javascript > Javascript tab > Domain-specific group > add a New rule (automatically accept or reject, etc)

As for toolbars, I'm not so sure. But I think you can prevent toolbars from being edited (through Configure Toolbar), but I think they can still be moved. To prevent a certain toolbar in Konqueror from being edited, go to ~/.kde/share/apps/konqueror and open up konqueror.rc. Look for the ToolBar line of the toolbar you want to "lock". For example, if I want to prevent the Location Bar from being edited, I look for this line:

Quoted

<ToolBar newline="true" noMerge="1" name="locationToolBar" fullWidth="true">


On that line, I add a noEdit="true" entry, so that it would look like this:

Quoted

<ToolBar newline="true" noMerge="1" name="locationToolBar" fullWidth="true" noEdit="true">


Then save the file. At least, that's how I did it on my system. I'm not sure if it's the correct way or if there's an easier way.
OS: Kubuntu 6.06 LTS (Dapper Drake) | KDE 3.5.3
Computer Specs: AMD Sempron 2200 1.5Ghz | VIA KM266 Pro 8235 chipset | nVidia GeForce MX 4000 128MB DDR-RAM 32-bit AGP 8x

Tillin9

Beginner

  • "Tillin9" started this thread

Posts: 4

Location: Middletown, CT

Occupation: Physcs Research Itern, Intermediate Linux Admin

  • Send private message

4

Wednesday, July 26th 2006, 7:23am

Thanks for the help. While I would still like to have javascript enabled with the alert disabled globally, at least the worst offenders are now gone.

However, I was unable to repeat your success with Konqueror's menus. I searched for ~/.kde/share/apps/konqueror.rc but didn't seem to have one. I was able to find a similar ~/.kde/share/config/konquerorrc. This is my file from KDE 3.2 (it had a version tag in there) which is apparently still being used. I guess when I upgraded, KDE didn't transfer to the new file format/ location?

When I added the noEdit="true" the only thing it did was make it impossible for the Location bar and Main toolbar to exist on the same line.

Some digging found Kiosk, an application designed to lock down KDE settings and it had examples from my 3.2 type file. Unfortunately the immutable option it suggested {Si] and didn't do anything either. I also tried moving the file to the ~/.kde/share/apps/konqueror.rc location with no luck.

My guess is that this a bug in KDE 3.5's parsing of 3.2 files? Anyway...If you won't mind attaching a copy of your konqueror.rc I could give that a try.

Thanks again in advance.

jucato

Trainee

Posts: 155

Location: Philippines

  • Send private message

5

Wednesday, July 26th 2006, 7:46am

You can enable javascript globally in the Global Javascript Policies section of that tab. Set all options to "Allow", and you won't be bothered by any more confirmation dialog boxes.

I think the complete path name is ~/.kde/share/apps/konqueror/konqueror.rc (just making sure you got it right).

I'm not familiar with Kiosk. But I think it's useful for those desktops that you want to be locked because it's going to be used by different people.
OS: Kubuntu 6.06 LTS (Dapper Drake) | KDE 3.5.3
Computer Specs: AMD Sempron 2200 1.5Ghz | VIA KM266 Pro 8235 chipset | nVidia GeForce MX 4000 128MB DDR-RAM 32-bit AGP 8x