-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Chrome keyboard shortcut for switching proxies should cycle #264
Comments
or press again to cycle back to the first is the best |
Please follow issue formats: You have not mentioned your browser! But I can guess you are talking about Chrome |
There is a limitation on number of shortcuts on google chrome. Can't do anything about it. But pressing again to cycle back is a good idea. |
I have an idea. Since there may be conflicts with shortcut keys, is it a better implementation to click on the image to cycle and switch? I'm not sure about the technical details here, it's just a simple idea~~~ |
Click on icon opens the menu, can't do that |
Related: #363 |
Yes, You're right. But if you delete default_popup from manifest.json, Adding some code to background.js should be able to implement it. chrome.action.onClicked.addListener((tab) => {
// someCondition need to add a new setting
if (someCondition) {
chrome.action.setPopup({ tabId: tab.id, popup: 'popup.html' });
} else {
// Quick click switch
}
}); Then add a check option in the right-click icon menu, This way, you can cancel the quick switch settings chrome.contextMenus.create({
title: XXX,
contexts: 'action',
id: XXX,
type:'checkbox',
checked:true
}); I have tried to look at the project code, but unfortunately, I have not developed a browser plugin. I searched for this information from Google and hope it can be helpful~ |
This ticket is for enhancing the proxy cycle shortcuts behaviour, for action click events behaviour see #363 Also the problem is that I don't have much free time |
Shortcuts now will cycle at the end of the list. This is effective for both select next & select previous proxies. |
There is already a Switch to the next proxy server as the active proxy
but can't switch back
The text was updated successfully, but these errors were encountered: