Skip to content

Instantly share code, notes, and snippets.

@perXautomatik
Last active April 6, 2021 21:38
Show Gist options
  • Save perXautomatik/843a9f0eb3923fde14811e6b268f9720 to your computer and use it in GitHub Desktop.
Save perXautomatik/843a9f0eb3923fde14811e6b268f9720 to your computer and use it in GitHub Desktop.
[HowTo] How to run custom javaScripts snippets from context menu
with help Of SelectionSk chrome extension
data:text/html,<script>window.location='http://www.google.com/search?q='+Date()+'%s';</script>
this script simply navigates to google and searches for the current date, to navigate usage of a javascriptfunction
then it inserts whatever you have selected and inserts it afterwards with the '%s' clause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment