How to make a part of Chrome "always on top"? [closed] - google-chrome

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Edit on 20190109. Just to clarify some thinks.
1. This is quite an old question, closed and yes off-topic (and also kind of a xy-problem question), still if you feel like it go on and down-vote it, I couldn't care less.
2. When I posted the question I wasn't aware of Electron and the solution it provides to my original requirement (and not the work around I am asking on this question).
I was wondering if i could change some things in my chrome with an extension, so when i press..
1) the windows button + D
2) or the minimize button
3) or the "Show Desktop" button in windows 7
..a part of chrome would still be visible, to be more specific i want to turn to a state of "always on top" the 1) tab bar
2) the address bar
3) and the bookmark bar
so is it possible to "split" an application like chrome in two "pieces" and somehow change its visibility in one of those "pieces"? any ideas are welcomed!

The easiest way to achieve this, in my thought, is combine a third-party program with a chrome extension.
For example, if you are under windows, you can use a program like Window On Top by Skybn. This program uses the Ctrl+F8 hotkey to toggle always on top window state, then you make an extension wich manipulate the browser window position and dimensions using the same hotkey.
To get the chrome window on top of screen with only tabs, adress and boookmarks, you can use something like this:
chrome.windows.getCurrent(function(window){
chrome.windows.update(window.id,{top:0,left:0,width:screen.width,height:100})
});

Related

Chrome extension that shows if page has been visited before. Does it exist? If not, would it be hard to make? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have been manually sending my resume to employers and wanted to know whether there is a Chrome extension that shows when I have visited a page before. This is to avoid sending my resume twice to the same company. I looked all over for one and couldn't find anything.
What I wanted would be just a basic icon that is grayed out if this is the first time you visit the page according to your browser history and lights up otherwise.
Does it exist? If not, would it be hard to make? I know a little C++ and understand algorithms in general, but have no other knowledge regarding extensions at all.
Thanks a lot!
I am not sure if it exists, but to solve this problem you can just build a simple chrome extension (yes it's easy if you want to know), chrome.history Api will help you do the trick, use chrome.history.search and change icon color following the result.

WatchOS: Panning and zooming image [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
In my little watch app (targeting watchOS3+) I need to show an image which will be fetched from a server (it is not big, let's say 600x600).
The image will be displayed alone in a modal page (only the Close button is on the top left corner)
Similar with the Photos app, I would like to be able to offer the user the possibility to pan and zoom the image.
Zooming will be done by using the Digital Crown (the events are wired up already).
Any idea how to deal with panning and zooming? Did anyone implement something like this already?
Thank you in advance!
I have solved the problem by implementing a small trick (see attached image).
Basically the zooming (Digital Crown) happens "in background" on a cached UIImage and a viewport (sized exactly as the display size) crops an area from the UIImage and shows it via the WKInterfaceImage.
Panning is done by simply moving the viewport around, following the TapGestureRecognizer data.
I think I will encapsulate this in a custom control and put it on GitHub.

Global keyboard shortcut to open an incognito window [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Is there a global shortcut to open an incognito window of Chrome?
I know that there is ctrl+shift+n but that only works in the context of Chrome – not while in other applications.
I also know that you can drag the order of the applications in the task bar and then use win+1 (to 9) in order to switch the focus to that application. Playing around with the keyboard, I've also noticed that you can open a window, too, with win+shift+1 … but that's not incognito. (win+ctrl+1 opens the application in admin mode – which is a nice discovery but also not what I'm looking for)
I'm searching for a solution that
doesn't involve the mouse and
doesn't mess with my alt+tab order,
preferably involving the task bar (but that's optional).
What about creating a shortcut of Chrome, in properties append chrome --incognito into target textbox and assign a shorcut key?
I've got two solutions – but they're more like workarounds than solutions:
(1) win+alt+1 opens the taskbar context menu (I think it's also called "jump menu") and from there I can select it with ↓.
(2) I can also open the "Run" window by pressing win+r and then type chrome --incognito the first time // hit enter on subsequent times.
But can anyone find something better?

Open link in new tab without loading it [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Is it possible to open links in a new tab inside Google Chrome without loading them? And instead, that it would wait for you to manually go to the tab to start loading ? (same philosophy as what Firefox, I suppose. Firefox does this when you open it and it starts where you left off, loading only the first-tab/last-loaded-tab)
Please let me know if there is a way to do that in Google Chrome, either by editing options or by the use of an extension you know off, that would be helpful.
Yes, this should be sort-of possible, but it's ugly and you still have to load something.
Basically, you need a bare-bones page that has JavaScript to detect whether or not the page has focus. You can use the code samples here to determine that: Is there a way to detect if a browser window is not currently active?
Once the page has focus, you can redirect to the actual page. This is messy. Don't do it, unless you have a really good reason. Your users will hate you for it.

Chrome Extension "Folder" Button to Hold Other Chrome Buttons [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
My question involves Google Chrome extension buttons, which you will see next to the "settings" button while running Google Chrome. I run many,many extensions which have buttons, and it's starting to take up too much real estate from the address bar. I'd like to know if there is any way for me to create an button which will hold extension buttons.
Ideally, this option already exists in the form of an extension I can install. If that's not the case, I'll create my own extension. That'd be a task. C'est la vie.
Thank you!
That's not a real question ...But at least in my chrome (v24, win7), I can drag the bar (the column that separate address bar from extensions icons) and by dragging that, icons will be grouped together in a drop-down list.