[PLUGIN] SweetAlert2

Post your completed addons to share with the community

Post » Fri Nov 24, 2017 8:29 am

Nandynho wrote:@dannykln
Code: Select all
tokenat(Alert.GetLastValue, 1, """")
tokenat(Alert.GetLastValue, 3, """")
tokenat(Alert.GetLastValue, 5, """")

replace(Alert.GetLastValue, """", "")
replace(Alert.GetLastValueAt(0), """", "")



thanks!
B
31
S
18
G
3
Posts: 18
Reputation: 4,203

Post » Sat Dec 02, 2017 1:05 pm

Hi @Nandynho!
Do you know why there is no "Copy" and "Paste" option in SweetAlert inputs? This option simply doesn't appear!
BTW, do you recommend switching to your new Sweet Alert II Plugin? It looks amazing! :)
B
21
S
7
G
1
Posts: 168
Reputation: 1,918

Post » Thu Dec 07, 2017 8:10 pm

Sweet Alert II it's the latest version.
"Copy" and "Paste" with the right mouse button?
Bitcoin Wallet: 1GCRqZExcP6svMdKGpCaRH4A8QAZtSjXxu
B
46
S
18
Posts: 241
Reputation: 3,742

Post » Fri Mar 30, 2018 11:50 pm

Hi @Nandynho! How are you going?
Sorry that I answer that late, I've been very busy... Yes, if you right click the input, nothing happens, no contextmenu is shown at all! This happens in Chrome and NW.js preview as well as in Android apk.

I guess it's this part of the code in "sweetalert2.js":

Code: Select all
  document.body.appendChild(sweetContainer);
  $("#sweetalert2").bind('contextmenu', function(e){ return false; });

but I don't know how to change this.
B
21
S
7
G
1
Posts: 168
Reputation: 1,918

Post » Sat Mar 31, 2018 1:32 pm

@ChesVCF you're right!

change this line:
Code: Select all
$("#sweetalert2").bind('contextmenu', function(e){ return false; });

for:
Code: Select all
//$("#sweetalert2").bind('contextmenu', function(e){ return false; });



last version
Bitcoin Wallet: 1GCRqZExcP6svMdKGpCaRH4A8QAZtSjXxu
B
46
S
18
Posts: 241
Reputation: 3,742

Previous

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest