Skip to content

This bookmarklet opens codeSandBox page from github page.

Notifications You must be signed in to change notification settings

kagekiyo7/github2codeSandBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

github2codeSandBox

This bookmarklet opens codeSandBox page from github page.

Compressed code

javascript:(function(){if("github.com"!==location.hostname)alert("Not Github");else{var a=location.href.split("/");a="tree"===a[5]||"blob"===a[5]?a.slice(3,7).join("/"):"pull"===a[5]?document.querySelector(".commit-ref.css-truncate.user-select-contain.expandable.head-ref > .no-underline").getAttribute("href").replace(/\//,""):a.slice(3,5).join("/");window.open("https://codesandbox.io/s/github/"+a)}})();

About

This bookmarklet opens codeSandBox page from github page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published