Quote
anontemp123
Thanks for the explanations. Some things I didn't understand, but it's becoming clearer. I imagine a lot of folks expect Javascript blocking to work with coarse granularity like YesScript, and are confused when it doesn't. (Although I understand why the finer granularity is correct-er.)
That is true, but also is true that, in that way, a lot of people around this forum, just directly block Javascript and only enable it when needed.
But I see what you expect and others could too.
It is an interesting point of view that, here, as said above, a few of us don't even consider. Lets say we prefer to browse clean of any script.
Quote
anontemp123
Aside from viewing HTML, is there any quick way to determine that, for example, www.google.com loads scripts from 4 different domains?
[...]
I always wished there was a dialog that could pop up and list all domains for Javascript on that page and I could just click which domains I wanted to block.
I have kinda what you are talking about as a personal macro for developing purposes. About a couple of months I updated to show [almost] every external resource of a page set in the HTML code of a page.
It is very similar, as it is an adaption, to the one for viewing images and an update to a previous one to show unsecure elements from a secure page.
http://kmeleonbrowser.org/forum/read.php?9,123209
But, it is not for public use. I could make it public, but lets do this one first.
Quote
anontemp123
@JohnHell
What do you mean by "without installation as add-on"? If I create a "plugins" folder and drop the YesScript file in there, isn't that regarded as an add-on?
Extensions in K-meleon are not installed as add-ons, and you don't have an extensions manager.
To be adapted and used in K-meleon, YesScript must be "converted" to an extension, what is nothing but a mix of the add-on itself with macros to help access the add-on interface and other features.
Quote
anontemp123
As far as the interface, ideally I would prefer just two items:
1) Some sort of visual indication if Javascript is blocked or not.
2) Something I can click to bring up the dialog to enter blocked domains. Entering chrome://yesscript/content/manage.xul will get tedious.
I don't need to be able to click the icon to block the domain for the currently loaded web page. And I can refresh to update the visual indicator, too.
The 1) won't be possible, as I said. For me, that I'm using windows instead tabs to browse, yes, and would be fancy as in Firefox, but using tabs... sorry, but that won't be possible.
About 2), no, you don't need to type the URL
, those are the insights of YesScript and how to access directly from K-meleon, as in K-meleon YesScript can't install a button by itself. So, until the extension is done, would be the only way to access the list manager.
Actually, I already thought what Siria was suggesting above me.
The idea is to have a button that, when clicked, prompt you if you want to blacklist, if it is not already blacklisted, or whitelist, if it is already. You could click no/cancel and forget about it. The button will have a right click menu to access the list manager.
It will work to inform you the current status and take actions or not.
You would say, well, after blacklist or whitelist, I still would need to reload the page. True, but, what happens when you load a page in a background tab? Would you reload again that tab just to see how a button in a toolbar changes? or would you prefer to click that button and we warned if it is blocked or not?
They aren't question to actually searching for an answer, it is to show you that, in case of K-meleon and tabbed browsing, would be the most acceptable.
Quote
siria
To 1) visibility: Tough one. Just glad John is volunteering
(way too complicated for me)
@JohnH: if you really manage to figure out a way to have a macro know if a page is blocked or not, here just random ideas for visibility (aside from the obvious menu checkmark): perhaps a button that by default indicates "?", but when clicked checks the state and shows it (either pressed or "Y" or "N"?). Just for 1-2 seconds, and then switches back to "?" (macrocommand settimer). And/or perhaps renaming blocked pages with a prefix, that would stay permanently after OnLoad, but not sure if that still works in KM76 (js: d.title="!!"+d.title) Or if possible a red dotted stripe by css on the left screen border, but afraid on some pages that may mess something...
Tough for both of us. I was scratching my head how and I ended more of less with your ideas.
Mmmmmm. I scratched my head again and maybe that renaming of the title is not a bad idea. I guess the title is treated independently from tab to tab and when switching tabs. GOOD IDEA Siria!
Yep... I like the idea. Replace the "title of a page" to "YESCRIPTED -- title of a page".
Forget the said above @anontemp123.
Edited 2 time(s). Last edit at 04/16/2016 11:37PM by JohnHell.