Using the jquery-terminal emulator widget without jquery - jquery-terminal

Is there a way to use this terminal widget without jquery. I mostly use vanilla js on my site, and I want to include this terminal.
Is it possible to use without jquery?
Is there a good alternative?
If not, what is the least intrusive way to use this on an existing page that doesn't use jquery? (without actually using iframe)

Unfortunately you can't use it without jQuery but there is one different library that can work with vanillaJS, which is terminalJS.
There is also xtermjs but that one is more for apps that emulate real terminal (it supports curses apps like vi or tmux) and in most cases using websockets.

Related

Is it possible to override the default folder browser dialog in Windows?

For a while now I've disliked the default folder browser dialog in Windows:
Granted, at least it has the text box with autocomplete; but if you go strictly with the tree view, it can take a lot of clicks and scrolling to get where you want!
It'd be nice if I could develop a superior (to my taste) UI and have this override my system's default. That is, whenever an application requests a native folder browser from Windows on my system, I'd like to be able to define my own such control so that it will be displayed instead of the built-in one. Naturally I could/would then also offer this to others to install on their systems if they like.
Does Windows provide an API to override this particular feature? Maybe via a shell extension or something like that? (I've never done anything that interacts directly with the OS like that; so I don't even know where to start looking.)
Basically I am asking if this OS-level functionality is configurable within Windows.
An app called FlashFolder seems to have done that, and has a lot of good reviews (meaning it at least works for someone) but doesn't work for me at all on Windows 8. If you have an earlier version of Windows perhaps you'll have more luck.

Date time format UI

My app shows many dates/times and I would like to allow user to create its own format using a friendly interface like the OSX system UI shown in image
I can't find any cocoa or CF API to show a similar panel, if possible I prefer don't re-implement it from the scratch.
Anyone can point me if this panel can be shown from standard API or if exists a ready to use component?
You're looking for NSTokenField, though you will need to do some modifications to make it work for your case.

UI Framework/Toolkit for Web Applications

Are there any UI Toolkits/Frameworks that can be used for a web application like Bootstrap, from Twitter(http://twitter.github.com/bootstrap/)?
I am currently upgrading an old ASP line of business application and I would like to use a common framework to handle grids, alert messages, forms, etc. I am very familiar with jQuery UI, but it is not as complete as I would like it to be. My main concern is I just want a consistent UI for the application that other developers can use that are not too design-savy.
Also, I would like the application to behave consistently throughout the application.
I don't need a framework for the server-side as I am using ASP.NET MVC. By the way, I am using both jQuery and jQuery UI, but I am looking for something that can fill in the missing blanks.
We have tried so many different options, the most robust and flexible solution remains jQuery and jQuery UI. There are tons of people writing widgets for it, and it is compatible with a lot of technology unlike some other frameworks which limit you, precisely because it is simple and light weight.
What exactly is your reservation with jQuery?
The options we have tried are Google Web Toolkit, Ext-JS and Prototype, none as nice and easy as jQuery.
We are using Telerik Extensions for MVC for all the interactions that we have in our web applications and we are very pleased with it. We use their stylesheets to style our form inputs and buttons. The stylesheet are easily editable if you want to change the theme.
btw, it use jQuery underneath.

Do I need a Firefox plugin or an extension?

I need to read every url that loads into the navigation bar of firefox (either by type in or by clicking a link), pass them through a filter and decide if allow the url to open or not.
I have some experience on firefox extensions but not with plugins.
Do I need to do it using extensions or plugins for this?
I currently have a BHO for IE that does this, and I get the URLs using the web browser events.
An extension would be just fine. For what you want to do, you need nsIObserverService, and http-on-modify-request observer.
You can use Adblock Plus (See the video)

Creating native GtkMenu from Firefox extension

Is it possible to create a native GtkMenu (I mean not XUL, but a real GtkMenu) from a Firefox extension? (and add to the firefox window). I would like to make GlobalMenu work with Firefox, which currently doesn't work due to the lack of native GUI.
If you want to have your menu inside firefox window, then... I don't know the details, but the usual way in X is to make a X window (for example GtkWindow) with your GtkMenu. Then you should make firefox "swallow" that window, something like all the systray utilities do that (keywords:reparenting X window--should be enough). I guess there should be special XUL element for than, but I don't see any.
If you dont want to, you can simply make your own GtkWindow with GtkMenu and show it. I guess you should probably do this from another thread. Regarding your other question here -- it is fully possible to write an extension in C++, as long as you use Gecko SDK and Gecko API. You can then link with whatever library you want, including GTK.
I think you should ask this question on one of Mozilla's mailing lists, for example mozilla.dev.extensions (they are listed on http://www.mozilla.org/community/developer-forums.html).

Resources