-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.htm
62 lines (53 loc) · 2.92 KB
/
README.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<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>