- Source
- Byline: Ben Halpern
- Published:
10242022-074045
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Tab Manager In Side Panel Privacy Disclaimer | |
| This extension only collect some personal or sensitive data from your browser activity, such as the URLs or domains you visit. | |
| We collect this data to provide you with the functionality of our extension: a simple but powerful tab manager in side panel for chrome. | |
| We do not sell, share or disclose your data to any third parties. | |
| We only use your data locally and only for as long as necessary to provide our service. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "isDark" : false, | |
| "author" : "David Blue", | |
| "colors" : { | |
| "editor" : { | |
| "codeBackground" : "#f2f3f4", | |
| "headingMarkup" : "#a2a3a6", | |
| "accent02" : "#cdc080", | |
| "link" : "#5281b1", | |
| "code" : "#5f6165", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Version 0.0.1 | |
| module.exports = askChatWithPrompt; | |
| function askChat(str, app) { | |
| const prompt = encodeURI(str); | |
| const chatViewEl = app.workspace.getLeavesOfType("surfing-view").find((item)=>{ return /chat\.openai\.com/.test(item?.view?.currentUrl)}).view.webviewEl; | |
| chatViewEl.executeJavaScript(` | |
| var htmlElement = document.querySelector("textarea"); | |
| htmlElement.value = decodeURI("${ prompt }"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // JavaScript for Automation (JXA) for opening a new tab in different browsers. | |
| // Doing an "open 'https://example.com/'" and letting macOS handle it is usually preferable, | |
| // but sometimes you want to specifically open a tab in a browser which is not the default. | |
| // Chromium-based browsers | |
| // Other examples include "Brave Browser", "Vivaldi" | |
| const browser = Application("Google Chrome") | |
| const newTab = browser.Tab({ url: "https://example.com/" }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # DO NOT EDIT THIS FILE | |
| # | |
| # It is automatically generated by grub-mkconfig using templates | |
| # from /etc/grub.d and settings from /etc/default/grub | |
| # | |
| ### BEGIN /etc/grub.d/00_header ### | |
| insmod part_gpt | |
| insmod part_msdos |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Linux/x86 6.0.11 Kernel Configuration | |
| # | |
| CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0" | |
| CONFIG_CC_IS_GCC=y | |
| CONFIG_GCC_VERSION=120200 | |
| CONFIG_CLANG_VERSION=0 | |
| CONFIG_AS_IS_GNU=y | |
| CONFIG_AS_VERSION=23900 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- For the latest version: | |
| -- https://gist.github.com/parterburn/e832b9090ee35eb830529de8bd978b82 | |
| -- Set this property to true to always open in a new window | |
| property open_in_new_window : false | |
| -- Set this property to false to reuse the current tab | |
| property open_in_new_tab : true | |
| -- Handlers |
- Install and download the free Scriptable app on your iOS device.
- Inside the app, press the "Plus" icon to create a new script
- Paste the content of the JS file into the script
- Place a Scriptable widget on your home screen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(() => { | |
| const requestURL = "http://127.0.0.1:8080/api/readingList"; | |
| const token = "dfgkjlhsdfgkljghklhj"; | |
| const pageTitle = document.title; | |
| const pageURL = window.location.href; | |
| let metaImage = ""; | |
| let metaDescription = ""; | |
| function getMetaValue(propName) { |
