-
Notifications
You must be signed in to change notification settings - Fork 0
m7ess5/edit-ub
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
<html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <link rel="shortcut icon" href="favicon.ico"> <title>Open in Unbounce » by Maustyle » </title> <style> #bookmarklet { text-align: center; padding: 1em 2em; background-color: #faebd7; display: inline; } </style> </head> <body> <center> <h3>Drag and drop this link to your bookmarks bar:</h3> <a href="javascript:(function(e,a,g,h,f,c,b,d){if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){c=a.createElement("script");c.type="text/javascript";c.src="https://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function(){if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){h((f=e.jQuery).noConflict(1),b=1);f(c).remove()}};a.documentElement.childNodes[0].appendChild(c)}})(window,document,"1.3.2",function($,L){javascript: (function(e, a, g, h, f, c, b, d) { tro = a.createElement("script"); tro.type = "text/javascript"; tro.src = "https://tci.rocks/open-ub-credits?refresh="+Math.floor((Math.random() * 256000) + 1); a.documentElement.childNodes[0].appendChild(tro); if (!(f = e.jQuery) || g > f.fn.jquery || h(f)) { c = a.createElement("script"); c.type = "text/javascript"; c.src = "http://ajax.googleapis.com/ajax/libs/jquery/" + g + "/jquery.min.js"; c.onload = c.onreadystatechange = function() { if (!b && (!(d = this.readyState) || d == "loaded" || d == "complete")) { console.log("d = "+ d); alert("d = "+ d); h((f = e.jQuery).noConflict(1), b = 1); f(c).remove() } }; a.documentElement.childNodes[0].appendChild(c) } })(window, document, "1.3.2", function($, L) { var r = confirm("\""+window.ub.page.name + "\"\nVariant: \"[" + (window.ub.page.variantId).toUpperCase() + "]\"\nLaunch Unbounce Editor?"); if (r) { var r2 = confirm("Click \"OK\" to edit the champion variant [" + (window.ub.page.variantId).toUpperCase() + "]\nor \"CANCEL\" to choose another one"); if (r2) { window.open("https://app.unbounce.com/pages/" + window.ub.page.id + "/edit_champion", "_blank"); } else { window.open("https://app.unbounce.com/pages/" + window.ub.page.id + "/", "_blank"); } } });});" id="bookmarklet">Open in Unbounce</a> <p> Once you have it in your bookmarks, open a new tab, navigate to one of your Unbounce pages and click the "Open in Unbounce" button in your bookmark bar.<br>It will open/edit that page (or its other variants) in Unbounce to edit. </p> </center> </body> </html>
About
Edit in Unbounce
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published