馃洜 住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐 馃洜
-
@驻讬砖诇 注砖讬转讬 讜诇讗 拽讜专讛 讻诇讜诐
@avi-klaine 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:@驻讬砖诇 注砖讬转讬 讜诇讗 拽讜专讛 讻诇讜诐
讘转诪讜谞讛 砖讛讘讗转
https://mitmachim.top/assets/uploads/files/1617866112295-爪讬诇讜诐-诪住讱-2021-04-08-100649.jpg
讝讛 驻转讜讞 讝讛 谞砖讗专 讻讻讛??
诪讜讝专 -
@avi-klaine 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:@驻讬砖诇 注砖讬转讬 讜诇讗 拽讜专讛 讻诇讜诐
讘转诪讜谞讛 砖讛讘讗转
https://mitmachim.top/assets/uploads/files/1617866112295-爪讬诇讜诐-诪住讱-2021-04-08-100649.jpg
讝讛 驻转讜讞 讝讛 谞砖讗专 讻讻讛??
诪讜讝专 -
注讚讻讜谉: 住专讙诇 讻诇讬诐.user.js
- 讗驻砖专 诇讛讝讬讝 讗转 讛住专讙诇 注诐 讛注讻讘专
- 讗驻砖专 诇诪讝注专 讗转 讛住专讙诇 讘讚讗讘诇拽诇讬拽
- 讬砖 讗驻砖专讜转 诇讛讜住驻转 转诪讜谞转 专拽注 诇驻讜专讜诐
- 诪讜讞拽 讗转 讞讜拽讬 讛驻讜专讜诐 讘爪讚

讛注专讛: 讛转诪讜谞转-专拽注 注讜讘讚转 讟讜讘 专拽 讘注专讻转 谞讜砖讗 讛专讙讬诇讛 (讘专讬专转 诪讞讚诇)
-
注讚讻讜谉: 住专讙诇 讻诇讬诐.user.js
- 讗驻砖专 诇讛讝讬讝 讗转 讛住专讙诇 注诐 讛注讻讘专
- 讗驻砖专 诇诪讝注专 讗转 讛住专讙诇 讘讚讗讘诇拽诇讬拽
- 讬砖 讗驻砖专讜转 诇讛讜住驻转 转诪讜谞转 专拽注 诇驻讜专讜诐
- 诪讜讞拽 讗转 讞讜拽讬 讛驻讜专讜诐 讘爪讚

讛注专讛: 讛转诪讜谞转-专拽注 注讜讘讚转 讟讜讘 专拽 讘注专讻转 谞讜砖讗 讛专讙讬诇讛 (讘专讬专转 诪讞讚诇)
-
注讚讻讜谉: 住专讙诇 讻诇讬诐.user.js
- 讗驻砖专 诇讛讝讬讝 讗转 讛住专讙诇 注诐 讛注讻讘专
- 讗驻砖专 诇诪讝注专 讗转 讛住专讙诇 讘讚讗讘诇拽诇讬拽
- 讬砖 讗驻砖专讜转 诇讛讜住驻转 转诪讜谞转 专拽注 诇驻讜专讜诐
- 诪讜讞拽 讗转 讞讜拽讬 讛驻讜专讜诐 讘爪讚

讛注专讛: 讛转诪讜谞转-专拽注 注讜讘讚转 讟讜讘 专拽 讘注专讻转 谞讜砖讗 讛专讙讬诇讛 (讘专讬专转 诪讞讚诇)
@谞-谞讞 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:注讚讻讜谉: 住专讙诇 讻诇讬诐.user.js
- 讗驻砖专 诇讛讝讬讝 讗转 讛住专讙诇 注诐 讛注讻讘专
- 讗驻砖专 诇诪讝注专 讗转 讛住专讙诇 讘讚讗讘诇拽诇讬拽
- 讬砖 讗驻砖专讜转 诇讛讜住驻转 转诪讜谞转 专拽注 诇驻讜专讜诐
- 诪讜讞拽 讗转 讞讜拽讬 讛驻讜专讜诐 讘爪讚

转讝讛专 诇讗 诇讛讬讜转 诪讜专讞拽 讘讻讱 砖诪讞拽转 讗转 讞讜拽讬 讛驻讜专讜诐 诪注诇 驻谞讬 讛讙诇讜讘讜住

-
注讚讻讜谉: 住专讙诇 讻诇讬诐.user.js
- 讗驻砖专 诇讛讝讬讝 讗转 讛住专讙诇 注诐 讛注讻讘专
- 讗驻砖专 诇诪讝注专 讗转 讛住专讙诇 讘讚讗讘诇拽诇讬拽
- 讬砖 讗驻砖专讜转 诇讛讜住驻转 转诪讜谞转 专拽注 诇驻讜专讜诐
- 诪讜讞拽 讗转 讞讜拽讬 讛驻讜专讜诐 讘爪讚

讛注专讛: 讛转诪讜谞转-专拽注 注讜讘讚转 讟讜讘 专拽 讘注专讻转 谞讜砖讗 讛专讙讬诇讛 (讘专讬专转 诪讞讚诇)
@谞-谞讞
讞诪讜讚!!!

转诪砖讬讻讜 诇注砖讜转 讚讘专讬诐 讟讜讘讬诐 诇注''讬
-
注讚讻讜谉: 住专讙诇 讻诇讬诐.user.js
- 讗驻砖专 诇讛讝讬讝 讗转 讛住专讙诇 注诐 讛注讻讘专
- 讗驻砖专 诇诪讝注专 讗转 讛住专讙诇 讘讚讗讘诇拽诇讬拽
- 讬砖 讗驻砖专讜转 诇讛讜住驻转 转诪讜谞转 专拽注 诇驻讜专讜诐
- 诪讜讞拽 讗转 讞讜拽讬 讛驻讜专讜诐 讘爪讚

讛注专讛: 讛转诪讜谞转-专拽注 注讜讘讚转 讟讜讘 专拽 讘注专讻转 谞讜砖讗 讛专讙讬诇讛 (讘专讬专转 诪讞讚诇)
-
@谞-谞讞
讬砖 诪爪讘 砖讻砖驻讜转讞讬诐 讗转 讛驻讜专讜诐 讛诇砖讜谞讬转 转讛讬讬讛 住讙讜专讛

let panel = document.createElement('div'); let title = document.createElement('div'); panel.id = 'movePanel'; panel.style.zIndex = '7'; panel.style.cursor = 'move'; panel.style.boxShadow = '0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)' panel.style.position = 'fixed'; panel.style.width = '60px'; panel.style.height = '60px'; panel.style.left = '17px'; panel.style.bottom = '5%'; panel.style.paddingTop = '12px'; panel.style.paddingBottom = '8px'; panel.style.flexDirection = 'column'; panel.style.alignItems = 'center'; panel.style.justifyContent = 'center'; panel.style.borderRadius = '10px'; panel.style.backgroundColor = 'rgb(255, 255, 190)'; panel.ondblclick = function () { if (panel.style.height === '515px') { $('.images').css('display', 'none'); panel.style.height = '60px'; } else { $('.images').css('display', 'block'); panel.style.height = '515px'; }} title.style.display = 'block'; title.style.textAlign = 'center'; title.style.fontSize = '25px'; title.style.color = '#357BB8'; title.innerHTML = '讻诇讬诐'; panel.appendChild(title); let deletingChanges = document.createElement('img'); deletingChanges.src = '/assets/uploads/files/1617365157713-deletingchanges.png'; deletingChanges.title = '诪讞讬拽转 讛砖讬谞讜讬讬诐'; deletingChanges.style.cursor = 'pointer'; deletingChanges.style.display = 'none'; deletingChanges.style.margin = 'auto';deletingChanges.style.width = '20px'; deletingChanges.style.marginBottom = '20px'; deletingChanges.style.marginTop = '5px'; deletingChanges.onclick = function () { var confirmation = confirm("讗转讛 讘讟讜讞 砖讘专爪讜谞讱 诇诪讞讜拽 讗转 讛砖讬谞讜讬讬诐?"); if (confirmation == true) { localStorage.removeItem('allParagraphsColor'); localStorage.removeItem('customBackgroundImage'); localStorage.removeItem('hideForumLogo'); localStorage.removeItem('emojisize'); location.reload(); }} let image1 = document.createElement('img'); image1.src = '/assets/uploads/files/1616637195056-img.png'; image1.title = '讬讞住 诪讜谞讬讟讬谉 诇驻讜住讟'; image1.style.cursor = 'pointer'; image1.onclick = function () { var result = (app.user.reputation) / app.user.postcount; app.alert({ title: '<h4 style="color: #4caf50;">讞讬砖讜讘 驻讜住讟讬诐 VS 诪讜谞讬讟讬谉</h4>', message: '诪住驻专 讛驻讜住讟讬诐 砖讻转讘转 讛讜讗 ' + app.user.postcount + '<br>诪讗讬讚讱 诪住驻专 讛诇讬讬拽讬诐 砖拽讘诇转 讛讜讗 ' + app.user.reputation + '<hr style="border-top: 2px solid #838694;">讘转\'讻诇住 讬讞住 讛诇讬讬拽讬诐 诇驻讜住讟 讛讜讗: <h3 style="color: #4caf50; text-align: center;">' + result.toFixed(4), timeout: 5000 }) } image1.style.display = 'none'; image1.style.margin = 'auto'; image1.style.width = '37px'; image1.style.marginBottom = '15px'; let image2 = document.createElement('img'); image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; image2.title = '注专讬讻转 讛驻讜专讜诐'; image2.style.cursor = 'pointer'; image2.onclick = function () { if (document.designMode == 'off') { image2.src = '/assets/uploads/files/1616627933907-asset-1.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '注专讜讱 讗转 讛讗转专 讻专爪讜谞讱!', type: 'success', timeout: 2500 }) document.designMode = 'on' } else { document.designMode = 'off' image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '讛注专讬讻讛 讛住转讬讬诪讛', timeout: 2500 }) } } image2.style.display = 'none'; image2.style.margin = 'auto'; image2.style.width = '37px'; image2.style.marginBottom = '15px'; let image3 = document.createElement('img'); image3.src = 'https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/unnamed.png'; image3.title = '讞讬驻讜砖 讙讜讙诇 讘驻讜专讜诪讬诐 讛讞专讚讬讬诐'; image3.style.cursor = 'pointer'; image3.style.display = 'none'; image3.style.margin = 'auto'; image3.style.width = '37px'; image3.style.marginBottom = '15px'; image3.onclick = function () { var search = prompt("诪讛 讗转讛 专讜爪讛 诇讞驻砖 讘驻讜专讜诪讬诐?"); if (search != null && search != "") { search = encodeURIComponent(search.trim()); var link = "https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/#gsc.tab=0&gsc.q=" + search; function linkb(href) { Object.assign(document.createElement('a'), { target: '_blank', href, }).click(); } linkb(link); } } let image4 = document.createElement('div'); image4.title = '砖讬谞讜讬 爪讘注 讟拽住讟'; let colorInput = document.createElement('input'); colorInput.id = 'colorPostInput'; colorInput.type = 'color'; colorInput.value = '#333333'; colorInput.style.position = 'absolute'; colorInput.style.right = '-8px'; colorInput.style.top = '-8px'; colorInput.style.width = '56px'; colorInput.style.height = '56px'; colorInput.style.border = 'none'; colorInput.style.cursor = 'pointer'; if (localStorage.allParagraphsColor) { document.body.style.color = localStorage.allParagraphsColor; colorInput.value = localStorage.allParagraphsColor; } colorInput.addEventListener('input', (event) => { localStorage.allParagraphsColor = colorInput.value; document.body.style.color = colorInput.value; }); image4.style.cursor = 'pointer'; image4.style.display = 'none'; image4.style.margin = 'auto'; image4.style.position = 'relative'; image4.style.overflow = 'hidden'; image4.style.width = '40px'; image4.style.height = '40px'; image4.style.border = 'solid 2px #ddd'; image4.style.borderRadius = '40px'; image4.style.marginBottom = '15px'; let image5 = document.createElement('img'); image5.src = '/assets/uploads/files/1617339003540-images.png'; image5.title = '讛讜住驻转 转诪讜谞转 专拽注 诪讜转讗诪转 讗讬砖讬转'; image5.style.cursor = 'pointer'; if (localStorage.customBackgroundImage) { let myStyle = document.createElement('style'); myStyle.appendChild(document.createTextNode('li { background-color: white; opacity: 0.9; border-radius: 10px; }')); myStyle.appendChild(document.createTextNode('.breadcrumb, .topic-list-header, .input-group { opacity: 0.95; border-radius: 10px; }')); document.getElementsByTagName('head')[0].appendChild(myStyle); $('body').css('background-image', `url(${localStorage.customBackgroundImage})`); $('body').css('background-attachment', 'fixed'); $('body').css('background-size', 'cover'); } image5.onclick = function () { let backgroundUrl = prompt('讛讻谞住 讗转 讛拽讬砖讜专 诇转诪讜谞转 讛专拽注'); if (backgroundUrl != null && backgroundUrl != "") { let myStyle = document.createElement('style'); myStyle.appendChild(document.createTextNode('li { background-color: white; opacity: 0.9; border-radius: 10px; }')); myStyle.appendChild(document.createTextNode('.breadcrumb, .topic-list-header, .input-group { opacity: 0.95; border-radius: 10px; }')); document.getElementsByTagName('head')[0].appendChild(myStyle); $('.breadcrumb').css('border-radius', '10px'); $('body').css('background-image', `url(${backgroundUrl})`); $('body').css('background-attachment', 'fixed'); $('body').css('background-size', 'cover'); localStorage.customBackgroundImage = backgroundUrl; }} image5.style.display = 'none'; image5.style.margin = 'auto'; image5.style.width = '37px'; image5.style.marginBottom = '15px'; if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "hide") { $('.forum-logo').css("display", "none"); } else { $('.forum-logo').css("display", "block"); } } let image6 = document.createElement('img'); image6.src = '/favicon.ico'; image6.title = '讛住转专转 讛诇讜讙讜 砖诇 讛驻讜专讜诐'; image6.style.cursor = 'pointer'; image6.onclick = function () { if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "show") { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } else { localStorage.hideForumLogo = "show"; $('.forum-logo').css("display", "block"); } } else { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } } image6.style.display = 'none'; image6.style.margin = 'auto'; image6.style.width = '37px'; image6.style.marginBottom = '15px'; if (localStorage.emojisize) { for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { document.querySelector('head').innerHTML += `<style>.emoji { width: ${localStorage.emojisize}px; height: ${localStorage.emojisize}px; }</style>`; } } let image7 = document.createElement('img'); image7.src = '/plugins/nodebb-plugin-emoji/emoji/apple/1f642.png?v=a54dqpiknn4'; image7.title = '砖讬谞讜讬 讙讜讚诇 讗讬诪讜讙\'讬诐'; image7.style.cursor = 'pointer'; image7.onclick = function () { var emojisize = prompt("诇讗讬讝讛 讙讜讚诇 诇砖谞讜转 讗转 讛讗讬诪讜讙'讬诐? (讘驻讬拽住诇讬诐)"); if (emojisize != null && emojisize != "") { emojisize = encodeURIComponent(emojisize.trim()); localStorage.emojisize = emojisize; for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { var emojis = document.getElementsByClassName('emoji')[i]; emojis.style.width = emojisize + 'px'; emojis.style.height = emojisize + 'px' } } } image7.style.display = 'none'; image7.style.margin = 'auto'; image7.style.width = '37px'; image7.style.marginBottom = '15px'; let image8 = document.createElement('img'); image8.src = '/assets/uploads/files/1616992426113-link.png'; image8.title = '驻讜专讜诪讬诐'; image8.style.cursor = 'pointer'; image8.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">驻讜专讜诪讬诐</h3>', message: '<hr><a href="https://tchumim.com" target="_blank"><img width="40px" title="转讞讜诪讬诐" src="/assets/uploads/files/1616989719968-1.png"></a>' + '<a href="https://诪拽爪讜注讜转.com/" target="_blank"><img width="40px" title="诪拽爪讜注讜转" src="/assets/uploads/files/1616989719998-2.png"></a>' + '<a href="https://www.prog.co.il" target="_blank"><img width="40px" title="驻专讜讙" src="/assets/uploads/files/1616989720025-3.png"></a>' + '<a href="https://forum-office.ml" target="_blank"><img width="40px" title="驻讜专讜诐 讗讜驻讬住" src="/assets/uploads/files/1616989720045-4.png"></a>' + '<a href="https://f2.freeivr.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 讬诪讜转 讛诪砖讬讞" src="/assets/uploads/files/1616989720065-5.png"></a>' + '<br><br><a href="https://www.tora-forum.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 诇转讜专讛" src="/assets/uploads/files/1616989720081-6.png"></a>' + '<a href="https://meatzvim.cf" target="_blank"><img width="40px" title="诪注爪讘讬诐" src="/assets/uploads/files/1616989720101-7.png"></a>' + '<a href="https://www.techno-tech.cf" target="_blank"><img width="40px" title="转讻谞讜讟拽" src="/assets/uploads/files/1616989720122-8.png"></a>' + '<a href="http://forum.netfree.link" target="_blank"><img width="40px" title="驻讜专讜诐 谞讟驻专讬" src="/assets/uploads/files/1617018043234-9.png"></a>' }) } image8.style.display = 'none'; image8.style.margin = 'auto'; image8.style.width = '37px'; image8.style.marginBottom = '15px'; deletingChanges.classList.add('images'); image1.classList.add('images'); image2.classList.add('images'); image3.classList.add('images'); image4.classList.add('images'); image5.classList.add('images'); image6.classList.add('images'); image7.classList.add('images'); image8.classList.add('images'); image4.appendChild(colorInput); panel.appendChild(deletingChanges); panel.appendChild(image1); panel.appendChild(image2); panel.appendChild(image3); panel.appendChild(image4); panel.appendChild(image5); panel.appendChild(image6); panel.appendChild(image7); panel.appendChild(image8); document.body.appendChild(panel); dragElement(document.getElementById('movePanel')); function dragElement(elmnt) { var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0; elmnt.onmousedown = dragMouseDown; function dragMouseDown(e) { e = e || window.event; e.preventDefault(); pos3 = e.clientX; pos4 = e.clientY; document.onmouseup = closeDragElement; document.onmousemove = elementDrag; } function elementDrag(e) { e = e || window.event; e.preventDefault(); pos1 = pos3 - e.clientX; pos2 = pos4 - e.clientY; pos3 = e.clientX; pos4 = e.clientY; elmnt.style.top = (elmnt.offsetTop - pos2) + "px"; elmnt.style.left = (elmnt.offsetLeft - pos1) + "px"; } function closeDragElement() { document.onmouseup = null; document.onmousemove = null; } } let removeMsoNormal = document.createElement('style'); removeMsoNormal.appendChild(document.createTextNode('.MsoNormal { display: none; }')); document.getElementsByTagName('head')[0].appendChild(removeMsoNormal); if (!localStorage.alreadyInstalled) { localStorage.alreadyInstalled = ' '; app.alert({ type: 'success', message: '<div style="text-align: center"><h3 style="color: black">转讜讚讛 砖讛转拽谞转 讗转 讛转讜住祝!</h3><hr><a href="/user/诪讜讟讬-讗讜专谉"><img width="70px" style="border-radius: 40px; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 0 20px 0 rgba(0, 0, 0, 0.19)" src="/assets/uploads/profile/886-profileavatar-1603289895083.jpeg"></a>' + '<a href="/user/谞-谞讞"><img width="70px" style="margin-right: 15px; border-radius: 40px; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 0 20px 0 rgba(0, 0, 0, 0.19)" src="/assets/uploads/profile/5246-profileavatar-1614689486244.png"></a></div><p style="margin-top: 20px; text-align: left; color: gray">诪讜讟讬 讗讜专谉 & 谞 谞讞</p>' }) } // ==UserScript== // @name 住专讙诇 讻诇讬诐 // @version 0.2 // @author 诪讜讟讬 讗讜专谉 & 谞 谞讞 // @description 馃榾 讛讜住驻转 住专讙诇 讻诇讬诐 诇驻讜专讜诐 // @include https://mitmachim.top/* // @icon https://mitmachim.top/assets/uploads/files/1616983314128-tools-solid.svg // @homepage https://mitmachim.top/topic/21073 // @supportURL https://mitmachim.top/topic/21073 // @noframes // ==/UserScript== -
@谞-谞讞 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:注讚讻讜谉: 住专讙诇 讻诇讬诐.user.js
- 讗驻砖专 诇讛讝讬讝 讗转 讛住专讙诇 注诐 讛注讻讘专
- 讗驻砖专 诇诪讝注专 讗转 讛住专讙诇 讘讚讗讘诇拽诇讬拽
- 讬砖 讗驻砖专讜转 诇讛讜住驻转 转诪讜谞转 专拽注 诇驻讜专讜诐
- 诪讜讞拽 讗转 讞讜拽讬 讛驻讜专讜诐 讘爪讚

转讝讛专 诇讗 诇讛讬讜转 诪讜专讞拽 讘讻讱 砖诪讞拽转 讗转 讞讜拽讬 讛驻讜专讜诐 诪注诇 驻谞讬 讛讙诇讜讘讜住

@驻讬砖诇 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:转讝讛专 诇讗 诇讛讬讜转 诪讜专讞拽 讘讻讱 砖诪讞拽转 讗转 讞讜拽讬 讛驻讜专讜诐 诪注诇 驻谞讬 讛讙诇讜讘讜住

@谞-谞讞 讗讜诇讬 转讜住讬祝 讗转 讞讜拽讬 讛驻讜专讜诐 诇住专讙诇 讻诇讬诐.
-
@驻讬砖诇 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:转讝讛专 诇讗 诇讛讬讜转 诪讜专讞拽 讘讻讱 砖诪讞拽转 讗转 讞讜拽讬 讛驻讜专讜诐 诪注诇 驻谞讬 讛讙诇讜讘讜住

@谞-谞讞 讗讜诇讬 转讜住讬祝 讗转 讞讜拽讬 讛驻讜专讜诐 诇住专讙诇 讻诇讬诐.
@avi-klaine 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:@驻讬砖诇 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:转讝讛专 诇讗 诇讛讬讜转 诪讜专讞拽 讘讻讱 砖诪讞拽转 讗转 讞讜拽讬 讛驻讜专讜诐 诪注诇 驻谞讬 讛讙诇讜讘讜住

@谞-谞讞 讗讜诇讬 转讜住讬祝 讗转 讞讜拽讬 讛驻讜专讜诐 诇住专讙诇 讻诇讬诐.
诇拽讞转 讗转 讝讛 讘专爪讬谞讜转

讗讘诇 讝讛 专注讬讜谉
-
@avi-klaine 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:@驻讬砖诇 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:转讝讛专 诇讗 诇讛讬讜转 诪讜专讞拽 讘讻讱 砖诪讞拽转 讗转 讞讜拽讬 讛驻讜专讜诐 诪注诇 驻谞讬 讛讙诇讜讘讜住

@谞-谞讞 讗讜诇讬 转讜住讬祝 讗转 讞讜拽讬 讛驻讜专讜诐 诇住专讙诇 讻诇讬诐.
诇拽讞转 讗转 讝讛 讘专爪讬谞讜转

讗讘诇 讝讛 专注讬讜谉
驻讜住讟 讝讛 谞诪讞拽! -
注讚讻讜谉: 住专讙诇 讻诇讬诐.user.js
- 讗驻砖专 诇讛讝讬讝 讗转 讛住专讙诇 注诐 讛注讻讘专
- 讗驻砖专 诇诪讝注专 讗转 讛住专讙诇 讘讚讗讘诇拽诇讬拽
- 讬砖 讗驻砖专讜转 诇讛讜住驻转 转诪讜谞转 专拽注 诇驻讜专讜诐
- 诪讜讞拽 讗转 讞讜拽讬 讛驻讜专讜诐 讘爪讚

讛注专讛: 讛转诪讜谞转-专拽注 注讜讘讚转 讟讜讘 专拽 讘注专讻转 谞讜砖讗 讛专讙讬诇讛 (讘专讬专转 诪讞讚诇)
-
@brochabar
谞住讛 讗转 讝讛let panel = document.createElement('div'); let title = document.createElement('div'); panel.addEventListener('mouseenter', (event) => { panel.style.width = '60px'; title.style.transform = 'scale(1, 1)'; for (let images of document.getElementsByClassName('images')) { images.style.transform = 'scale(1, 1)' images.style.filter = 'blur(0)' } }); panel.addEventListener('mouseleave', (event) => { panel.style.width = '20px'; title.style.transform = 'scale(0, 0)'; for (let images of document.getElementsByClassName('images')) { images.style.transform = 'scale(0, 0)' images.style.filter = 'blur(20px)' } }); panel.style.transition = 'width 0.5s'; panel.style.boxShadow = '0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)' panel.style.position = 'fixed'; panel.style.width = '20px'; panel.style.height = 'auto'; panel.style.left = '36px'; panel.style.bottom = '46.2%'; panel.style.transform = 'translate(0, 50%)'; panel.style.paddingTop = '12px'; panel.style.paddingBottom = '8px'; panel.style.flexDirection = 'column'; panel.style.alignItems = 'center'; panel.style.justifyContent = 'center'; panel.style.borderRadius = '10px'; panel.style.backgroundColor = 'rgb(255, 255, 190)'; title.style.transform = 'scale(0, 0)'; title.style.transition = '0.5s'; title.style.display = 'block'; title.style.textAlign = 'center'; title.style.fontSize = '25px'; title.style.color = '#357BB8'; title.innerHTML = '讻诇讬诐<br><br>'; panel.appendChild(title); let image1 = document.createElement('img'); image1.src = '/assets/uploads/files/1616637195056-img.png'; image1.title = '讬讞住 诪讜谞讬讟讬谉 诇驻讜住讟'; image1.style.cursor = 'pointer'; image1.onclick = function () { var result = (app.user.reputation) / app.user.postcount; app.alert({ title: '<h4 style="color: #4caf50;">讞讬砖讜讘 驻讜住讟讬诐 VS 诪讜谞讬讟讬谉</h4>', message: '诪住驻专 讛驻讜住讟讬诐 砖讻转讘转 讛讜讗 ' + app.user.postcount + '<br>诪讗讬讚讱 诪住驻专 讛诇讬讬拽讬诐 砖拽讘诇转 讛讜讗 ' + app.user.reputation + '<hr style="border-top: 2px solid #838694;">讘转\'讻诇住 讬讞住 讛诇讬讬拽讬诐 诇驻讜住讟 讛讜讗: <h3 style="color: #4caf50; text-align: center;">' + result.toFixed(4), timeout: 7000 }) } image1.style.display = 'block'; image1.style.margin = 'auto'; image1.style.width = '37px'; image1.style.marginBottom = '15px'; image1.style.transition = '0.5s'; image1.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image2 = document.createElement('img'); image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; image2.title = '注专讬讻转 讛驻讜专讜诐'; image2.style.cursor = 'pointer'; image2.onclick = function () { if (document.designMode == 'off') { image2.src = '/assets/uploads/files/1616627933907-asset-1.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '注专讜讱 讗转 讛讗转专 讻专爪讜谞讱!', type: 'success', timeout: 2500 }) document.designMode = 'on' } else { document.designMode = 'off' image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '讛注专讬讻讛 讛住转讬讬诪讛', timeout: 2500 }) } } image2.style.display = 'block'; image2.style.margin = 'auto'; image2.style.width = '37px'; image2.style.marginBottom = '15px'; image2.style.transition = '0.5s'; image2.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image3 = document.createElement('img'); image3.src = 'https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/unnamed.png'; image3.title = '讞讬驻讜砖 讙讜讙诇 讘驻讜专讜诪讬诐 讛讞专讚讬讬诐'; image3.style.cursor = 'pointer'; image3.style.display = 'block'; image3.style.margin = 'auto'; image3.style.width = '37px'; image3.style.marginBottom = '15px'; image3.style.transition = '0.5s'; image3.style.transform = 'scale(0, 0) translate(-40px, 0)'; image3.onclick = function () { var search = prompt("诪讛 讗转讛 专讜爪讛 诇讞驻砖 讘驻讜专讜诪讬诐?"); if (search != null && search != "") { search = encodeURIComponent(search.trim()); var link = "https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/#gsc.tab=0&gsc.q=" + search; function linkb(href) { Object.assign(document.createElement('a'), { target: '_blank', href, }).click(); } linkb(link); } } let image4 = document.createElement('div'); image4.title = '砖讬谞讜讬 爪讘注 讘驻讜住讟讬诐'; let colorInput = document.createElement('input'); colorInput.id = 'colorPostInput'; colorInput.type = 'color'; colorInput.style.position = 'absolute'; colorInput.style.right = '-8px'; colorInput.style.top = '-8px'; colorInput.style.width = '56px'; colorInput.style.height = '56px'; colorInput.style.border = 'none'; colorInput.style.cursor = 'pointer'; if (localStorage.allParagraphsColor) { document.body.style.color = localStorage.allParagraphsColor; colorInput.value = localStorage.allParagraphsColor; } colorInput.addEventListener('change', (event) => { localStorage.allParagraphsColor = colorInput.value; document.body.style.color = colorInput.value; }); image4.style.cursor = 'pointer'; image4.style.display = 'block'; image4.style.margin = 'auto'; image4.style.position = 'relative'; image4.style.overflow = 'hidden'; image4.style.width = '40px'; image4.style.height = '40px'; image4.style.border = 'solid 2px #ddd'; image4.style.borderRadius = '40px'; image4.style.marginBottom = '15px'; image4.style.transition = '0.5s'; image4.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image5 = document.createElement('img'); image5.src = 'https://ssl.gstatic.com/translate/favicon.ico'; image5.title = '转专讙讜诐 诪讗谞讙诇讬转 诇注讘专讬转'; image5.style.cursor = 'pointer'; image5.style.display = 'block'; image5.style.margin = 'auto'; image5.style.width = '37px'; image5.style.marginBottom = '15px'; image5.style.transition = '0.5s'; image5.style.transform = 'scale(0, 0) translate(-40px, 0)'; image5.onclick = function () { var translate = prompt("诪讛 讗转讛 专讜爪讛 诇转专讙诐?"); if (translate != null && translate != "") { translate = encodeURIComponent(translate.trim()); var link = "https://translate.google.co.il/?sl=en&tl=iw&text=" + translate + "&op=translate"; function linkb(href) { Object.assign(document.createElement('a'), { target: '_blank', href, }).click(); } linkb(link); } } if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "hide") { $('.forum-logo').css("display", "none"); } else { $('.forum-logo').css("display", "block"); } } let image6 = document.createElement('img'); image6.src = '/favicon.ico'; image6.title = '讛住转专转 讛诇讜讙讜 砖诇 讛驻讜专讜诐'; image6.style.cursor = 'pointer'; image6.onclick = function () { if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "show") { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } else { localStorage.hideForumLogo = "show"; $('.forum-logo').css("display", "block"); } } else { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } } image6.style.display = 'block'; image6.style.margin = 'auto'; image6.style.width = '37px'; image6.style.marginBottom = '15px'; image6.style.transition = '0.5s'; image6.style.transform = 'scale(0, 0) translate(-40px, 0)'; if (localStorage.emojisize) { for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { document.querySelector('head').innerHTML += `<style>.emoji { width: ${localStorage.emojisize}px; height: ${localStorage.emojisize}px; }</style>`; } } let image7 = document.createElement('img'); image7.src = '/plugins/nodebb-plugin-emoji/emoji/apple/1f642.png?v=a54dqpiknn4'; image7.title = '砖讬谞讜讬 讙讜讚诇 讗讬诪讜讙\'讬诐'; image7.style.cursor = 'pointer'; image7.onclick = function () { var emojisize = prompt("诇讗讬讝讛 讙讜讚诇 诇砖谞讜转 讗转 讛讗讬诪讜讙'讬诐? (讘驻讬拽住诇讬诐)"); if (emojisize != null && emojisize != "") { emojisize = encodeURIComponent(emojisize.trim()); localStorage.emojisize = emojisize; for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { var emojis = document.getElementsByClassName('emoji')[i]; emojis.style.width = emojisize + 'px'; emojis.style.height = emojisize + 'px' } } } image7.style.display = 'block'; image7.style.margin = 'auto'; image7.style.width = '37px'; image7.style.marginBottom = '15px'; image7.style.transition = '0.5s'; image7.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image8 = document.createElement('img'); image8.src = '/assets/uploads/files/1616992426113-link.png'; image8.title = '驻讜专讜诪讬诐'; image8.style.cursor = 'pointer'; image8.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">驻讜专讜诪讬诐</h3>', message: '<hr><a href="https://tchumim.com" target="_blank"><img width="40px" title="转讞讜诪讬诐" src="/assets/uploads/files/1616989719968-1.png"></a>' + '<a href="https://诪拽爪讜注讜转.com/" target="_blank"><img width="40px" title="诪拽爪讜注讜转" src="/assets/uploads/files/1616989719998-2.png"></a>' + '<a href="https://www.prog.co.il" target="_blank"><img width="40px" title="驻专讜讙" src="/assets/uploads/files/1616989720025-3.png"></a>' + '<a href="https://forum-office.ml" target="_blank"><img width="40px" title="驻讜专讜诐 讗讜驻讬住" src="/assets/uploads/files/1616989720045-4.png"></a>' + '<a href="https://f2.freeivr.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 讬诪讜转 讛诪砖讬讞" src="/assets/uploads/files/1616989720065-5.png"></a>' + '<br><br><a href="https://www.tora-forum.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 诇转讜专讛" src="/assets/uploads/files/1616989720081-6.png"></a>' + '<a href="https://meatzvim.cf" target="_blank"><img width="40px" title="诪注爪讘讬诐" src="/assets/uploads/files/1616989720101-7.png"></a>' + '<a href="https://www.techno-tech.cf" target="_blank"><img width="40px" title="转讻谞讜讟拽" src="/assets/uploads/files/1616989720122-8.png"></a>' + '<a href="http://forum.netfree.link" target="_blank"><img width="40px" title="驻讜专讜诐 谞讟驻专讬" src="/assets/uploads/files/1617018043234-9.png"></a>' }) } image8.style.display = 'block'; image8.style.margin = 'auto'; image8.style.width = '37px'; image8.style.marginBottom = '15px'; image8.style.transition = '0.5s'; image8.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image9 = document.createElement('img'); image9.src = '/assets/uploads/files/1616992426113-link.png'; image9.title = '讛拽讬砖讜专讬诐 砖诇讬'; image9.style.cursor = 'pointer'; image9.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">讛拽讬砖讜专讬诐 砖诇讬</h3>', message: '<hr><a href="/user/brochabar" target="_blank"><img width="40px" title="brochabar" src="/assets/uploads/profile/6823-profileavatar-1612680469756.png"></a>' }) } image9.style.display = 'block'; image9.style.margin = 'auto'; image9.style.width = '37px'; image9.style.marginBottom = '15px'; image9.style.transition = '0.5s'; image9.style.transform = 'scale(0, 0) translate(-40px, 0)'; image1.classList.add('images'); image2.classList.add('images'); image3.classList.add('images'); image4.classList.add('images'); image5.classList.add('images'); image6.classList.add('images'); image7.classList.add('images'); image8.classList.add('images'); image9.classList.add('images'); image4.appendChild(colorInput); panel.appendChild(image1); panel.appendChild(image2); panel.appendChild(image3); panel.appendChild(image4); panel.appendChild(image5); panel.appendChild(image6); panel.appendChild(image7); panel.appendChild(image8); panel.appendChild(image9); document.body.appendChild(panel); // ==UserScript== // @name 住专讙诇 讻诇讬诐 // @version 0.1 // @author 诪讜讟讬 讗讜专谉, 谞 谞讞 // @description 馃榾 讛讜住驻转 住专讙诇 讻诇讬诐 诇驻讜专讜诐 // @include https://mitmachim.top/* // @icon https://mitmachim.top/assets/uploads/files/1616983314128-tools-solid.svg // @homepage https://mitmachim.top // ==/UserScript==@谞-谞讞 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:@brochabar
谞住讛 讗转 讝讛let panel = document.createElement('div'); let title = document.createElement('div'); panel.addEventListener('mouseenter', (event) => { panel.style.width = '60px'; title.style.transform = 'scale(1, 1)'; for (let images of document.getElementsByClassName('images')) { images.style.transform = 'scale(1, 1)' images.style.filter = 'blur(0)' } }); panel.addEventListener('mouseleave', (event) => { panel.style.width = '20px'; title.style.transform = 'scale(0, 0)'; for (let images of document.getElementsByClassName('images')) { images.style.transform = 'scale(0, 0)' images.style.filter = 'blur(20px)' } }); panel.style.transition = 'width 0.5s'; panel.style.boxShadow = '0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)' panel.style.position = 'fixed'; panel.style.width = '20px'; panel.style.height = 'auto'; panel.style.left = '36px'; panel.style.bottom = '46.2%'; panel.style.transform = 'translate(0, 50%)'; panel.style.paddingTop = '12px'; panel.style.paddingBottom = '8px'; panel.style.flexDirection = 'column'; panel.style.alignItems = 'center'; panel.style.justifyContent = 'center'; panel.style.borderRadius = '10px'; panel.style.backgroundColor = 'rgb(255, 255, 190)'; title.style.transform = 'scale(0, 0)'; title.style.transition = '0.5s'; title.style.display = 'block'; title.style.textAlign = 'center'; title.style.fontSize = '25px'; title.style.color = '#357BB8'; title.innerHTML = '讻诇讬诐<br><br>'; panel.appendChild(title); let image1 = document.createElement('img'); image1.src = '/assets/uploads/files/1616637195056-img.png'; image1.title = '讬讞住 诪讜谞讬讟讬谉 诇驻讜住讟'; image1.style.cursor = 'pointer'; image1.onclick = function () { var result = (app.user.reputation) / app.user.postcount; app.alert({ title: '<h4 style="color: #4caf50;">讞讬砖讜讘 驻讜住讟讬诐 VS 诪讜谞讬讟讬谉</h4>', message: '诪住驻专 讛驻讜住讟讬诐 砖讻转讘转 讛讜讗 ' + app.user.postcount + '<br>诪讗讬讚讱 诪住驻专 讛诇讬讬拽讬诐 砖拽讘诇转 讛讜讗 ' + app.user.reputation + '<hr style="border-top: 2px solid #838694;">讘转\'讻诇住 讬讞住 讛诇讬讬拽讬诐 诇驻讜住讟 讛讜讗: <h3 style="color: #4caf50; text-align: center;">' + result.toFixed(4), timeout: 7000 }) } image1.style.display = 'block'; image1.style.margin = 'auto'; image1.style.width = '37px'; image1.style.marginBottom = '15px'; image1.style.transition = '0.5s'; image1.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image2 = document.createElement('img'); image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; image2.title = '注专讬讻转 讛驻讜专讜诐'; image2.style.cursor = 'pointer'; image2.onclick = function () { if (document.designMode == 'off') { image2.src = '/assets/uploads/files/1616627933907-asset-1.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '注专讜讱 讗转 讛讗转专 讻专爪讜谞讱!', type: 'success', timeout: 2500 }) document.designMode = 'on' } else { document.designMode = 'off' image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '讛注专讬讻讛 讛住转讬讬诪讛', timeout: 2500 }) } } image2.style.display = 'block'; image2.style.margin = 'auto'; image2.style.width = '37px'; image2.style.marginBottom = '15px'; image2.style.transition = '0.5s'; image2.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image3 = document.createElement('img'); image3.src = 'https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/unnamed.png'; image3.title = '讞讬驻讜砖 讙讜讙诇 讘驻讜专讜诪讬诐 讛讞专讚讬讬诐'; image3.style.cursor = 'pointer'; image3.style.display = 'block'; image3.style.margin = 'auto'; image3.style.width = '37px'; image3.style.marginBottom = '15px'; image3.style.transition = '0.5s'; image3.style.transform = 'scale(0, 0) translate(-40px, 0)'; image3.onclick = function () { var search = prompt("诪讛 讗转讛 专讜爪讛 诇讞驻砖 讘驻讜专讜诪讬诐?"); if (search != null && search != "") { search = encodeURIComponent(search.trim()); var link = "https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/#gsc.tab=0&gsc.q=" + search; function linkb(href) { Object.assign(document.createElement('a'), { target: '_blank', href, }).click(); } linkb(link); } } let image4 = document.createElement('div'); image4.title = '砖讬谞讜讬 爪讘注 讘驻讜住讟讬诐'; let colorInput = document.createElement('input'); colorInput.id = 'colorPostInput'; colorInput.type = 'color'; colorInput.style.position = 'absolute'; colorInput.style.right = '-8px'; colorInput.style.top = '-8px'; colorInput.style.width = '56px'; colorInput.style.height = '56px'; colorInput.style.border = 'none'; colorInput.style.cursor = 'pointer'; if (localStorage.allParagraphsColor) { document.body.style.color = localStorage.allParagraphsColor; colorInput.value = localStorage.allParagraphsColor; } colorInput.addEventListener('change', (event) => { localStorage.allParagraphsColor = colorInput.value; document.body.style.color = colorInput.value; }); image4.style.cursor = 'pointer'; image4.style.display = 'block'; image4.style.margin = 'auto'; image4.style.position = 'relative'; image4.style.overflow = 'hidden'; image4.style.width = '40px'; image4.style.height = '40px'; image4.style.border = 'solid 2px #ddd'; image4.style.borderRadius = '40px'; image4.style.marginBottom = '15px'; image4.style.transition = '0.5s'; image4.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image5 = document.createElement('img'); image5.src = 'https://ssl.gstatic.com/translate/favicon.ico'; image5.title = '转专讙讜诐 诪讗谞讙诇讬转 诇注讘专讬转'; image5.style.cursor = 'pointer'; image5.style.display = 'block'; image5.style.margin = 'auto'; image5.style.width = '37px'; image5.style.marginBottom = '15px'; image5.style.transition = '0.5s'; image5.style.transform = 'scale(0, 0) translate(-40px, 0)'; image5.onclick = function () { var translate = prompt("诪讛 讗转讛 专讜爪讛 诇转专讙诐?"); if (translate != null && translate != "") { translate = encodeURIComponent(translate.trim()); var link = "https://translate.google.co.il/?sl=en&tl=iw&text=" + translate + "&op=translate"; function linkb(href) { Object.assign(document.createElement('a'), { target: '_blank', href, }).click(); } linkb(link); } } if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "hide") { $('.forum-logo').css("display", "none"); } else { $('.forum-logo').css("display", "block"); } } let image6 = document.createElement('img'); image6.src = '/favicon.ico'; image6.title = '讛住转专转 讛诇讜讙讜 砖诇 讛驻讜专讜诐'; image6.style.cursor = 'pointer'; image6.onclick = function () { if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "show") { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } else { localStorage.hideForumLogo = "show"; $('.forum-logo').css("display", "block"); } } else { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } } image6.style.display = 'block'; image6.style.margin = 'auto'; image6.style.width = '37px'; image6.style.marginBottom = '15px'; image6.style.transition = '0.5s'; image6.style.transform = 'scale(0, 0) translate(-40px, 0)'; if (localStorage.emojisize) { for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { document.querySelector('head').innerHTML += `<style>.emoji { width: ${localStorage.emojisize}px; height: ${localStorage.emojisize}px; }</style>`; } } let image7 = document.createElement('img'); image7.src = '/plugins/nodebb-plugin-emoji/emoji/apple/1f642.png?v=a54dqpiknn4'; image7.title = '砖讬谞讜讬 讙讜讚诇 讗讬诪讜讙\'讬诐'; image7.style.cursor = 'pointer'; image7.onclick = function () { var emojisize = prompt("诇讗讬讝讛 讙讜讚诇 诇砖谞讜转 讗转 讛讗讬诪讜讙'讬诐? (讘驻讬拽住诇讬诐)"); if (emojisize != null && emojisize != "") { emojisize = encodeURIComponent(emojisize.trim()); localStorage.emojisize = emojisize; for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { var emojis = document.getElementsByClassName('emoji')[i]; emojis.style.width = emojisize + 'px'; emojis.style.height = emojisize + 'px' } } } image7.style.display = 'block'; image7.style.margin = 'auto'; image7.style.width = '37px'; image7.style.marginBottom = '15px'; image7.style.transition = '0.5s'; image7.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image8 = document.createElement('img'); image8.src = '/assets/uploads/files/1616992426113-link.png'; image8.title = '驻讜专讜诪讬诐'; image8.style.cursor = 'pointer'; image8.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">驻讜专讜诪讬诐</h3>', message: '<hr><a href="https://tchumim.com" target="_blank"><img width="40px" title="转讞讜诪讬诐" src="/assets/uploads/files/1616989719968-1.png"></a>' + '<a href="https://诪拽爪讜注讜转.com/" target="_blank"><img width="40px" title="诪拽爪讜注讜转" src="/assets/uploads/files/1616989719998-2.png"></a>' + '<a href="https://www.prog.co.il" target="_blank"><img width="40px" title="驻专讜讙" src="/assets/uploads/files/1616989720025-3.png"></a>' + '<a href="https://forum-office.ml" target="_blank"><img width="40px" title="驻讜专讜诐 讗讜驻讬住" src="/assets/uploads/files/1616989720045-4.png"></a>' + '<a href="https://f2.freeivr.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 讬诪讜转 讛诪砖讬讞" src="/assets/uploads/files/1616989720065-5.png"></a>' + '<br><br><a href="https://www.tora-forum.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 诇转讜专讛" src="/assets/uploads/files/1616989720081-6.png"></a>' + '<a href="https://meatzvim.cf" target="_blank"><img width="40px" title="诪注爪讘讬诐" src="/assets/uploads/files/1616989720101-7.png"></a>' + '<a href="https://www.techno-tech.cf" target="_blank"><img width="40px" title="转讻谞讜讟拽" src="/assets/uploads/files/1616989720122-8.png"></a>' + '<a href="http://forum.netfree.link" target="_blank"><img width="40px" title="驻讜专讜诐 谞讟驻专讬" src="/assets/uploads/files/1617018043234-9.png"></a>' }) } image8.style.display = 'block'; image8.style.margin = 'auto'; image8.style.width = '37px'; image8.style.marginBottom = '15px'; image8.style.transition = '0.5s'; image8.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image9 = document.createElement('img'); image9.src = '/assets/uploads/files/1616992426113-link.png'; image9.title = '讛拽讬砖讜专讬诐 砖诇讬'; image9.style.cursor = 'pointer'; image9.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">讛拽讬砖讜专讬诐 砖诇讬</h3>', message: '<hr><a href="/user/brochabar" target="_blank"><img width="40px" title="brochabar" src="/assets/uploads/profile/6823-profileavatar-1612680469756.png"></a>' }) } image9.style.display = 'block'; image9.style.margin = 'auto'; image9.style.width = '37px'; image9.style.marginBottom = '15px'; image9.style.transition = '0.5s'; image9.style.transform = 'scale(0, 0) translate(-40px, 0)'; image1.classList.add('images'); image2.classList.add('images'); image3.classList.add('images'); image4.classList.add('images'); image5.classList.add('images'); image6.classList.add('images'); image7.classList.add('images'); image8.classList.add('images'); image9.classList.add('images'); image4.appendChild(colorInput); panel.appendChild(image1); panel.appendChild(image2); panel.appendChild(image3); panel.appendChild(image4); panel.appendChild(image5); panel.appendChild(image6); panel.appendChild(image7); panel.appendChild(image8); panel.appendChild(image9); document.body.appendChild(panel); // ==UserScript== // @name 住专讙诇 讻诇讬诐 // @version 0.1 // @author 诪讜讟讬 讗讜专谉, 谞 谞讞 // @description 馃榾 讛讜住驻转 住专讙诇 讻诇讬诐 诇驻讜专讜诐 // @include https://mitmachim.top/* // @icon https://mitmachim.top/assets/uploads/files/1616983314128-tools-solid.svg // @homepage https://mitmachim.top // ==/UserScript==讜讛拽讜讚 诇住拽专讬驻讟 讛诪注讜讚讻谉 诪讛讜?
-
@谞-谞讞 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:@brochabar
谞住讛 讗转 讝讛let panel = document.createElement('div'); let title = document.createElement('div'); panel.addEventListener('mouseenter', (event) => { panel.style.width = '60px'; title.style.transform = 'scale(1, 1)'; for (let images of document.getElementsByClassName('images')) { images.style.transform = 'scale(1, 1)' images.style.filter = 'blur(0)' } }); panel.addEventListener('mouseleave', (event) => { panel.style.width = '20px'; title.style.transform = 'scale(0, 0)'; for (let images of document.getElementsByClassName('images')) { images.style.transform = 'scale(0, 0)' images.style.filter = 'blur(20px)' } }); panel.style.transition = 'width 0.5s'; panel.style.boxShadow = '0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)' panel.style.position = 'fixed'; panel.style.width = '20px'; panel.style.height = 'auto'; panel.style.left = '36px'; panel.style.bottom = '46.2%'; panel.style.transform = 'translate(0, 50%)'; panel.style.paddingTop = '12px'; panel.style.paddingBottom = '8px'; panel.style.flexDirection = 'column'; panel.style.alignItems = 'center'; panel.style.justifyContent = 'center'; panel.style.borderRadius = '10px'; panel.style.backgroundColor = 'rgb(255, 255, 190)'; title.style.transform = 'scale(0, 0)'; title.style.transition = '0.5s'; title.style.display = 'block'; title.style.textAlign = 'center'; title.style.fontSize = '25px'; title.style.color = '#357BB8'; title.innerHTML = '讻诇讬诐<br><br>'; panel.appendChild(title); let image1 = document.createElement('img'); image1.src = '/assets/uploads/files/1616637195056-img.png'; image1.title = '讬讞住 诪讜谞讬讟讬谉 诇驻讜住讟'; image1.style.cursor = 'pointer'; image1.onclick = function () { var result = (app.user.reputation) / app.user.postcount; app.alert({ title: '<h4 style="color: #4caf50;">讞讬砖讜讘 驻讜住讟讬诐 VS 诪讜谞讬讟讬谉</h4>', message: '诪住驻专 讛驻讜住讟讬诐 砖讻转讘转 讛讜讗 ' + app.user.postcount + '<br>诪讗讬讚讱 诪住驻专 讛诇讬讬拽讬诐 砖拽讘诇转 讛讜讗 ' + app.user.reputation + '<hr style="border-top: 2px solid #838694;">讘转\'讻诇住 讬讞住 讛诇讬讬拽讬诐 诇驻讜住讟 讛讜讗: <h3 style="color: #4caf50; text-align: center;">' + result.toFixed(4), timeout: 7000 }) } image1.style.display = 'block'; image1.style.margin = 'auto'; image1.style.width = '37px'; image1.style.marginBottom = '15px'; image1.style.transition = '0.5s'; image1.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image2 = document.createElement('img'); image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; image2.title = '注专讬讻转 讛驻讜专讜诐'; image2.style.cursor = 'pointer'; image2.onclick = function () { if (document.designMode == 'off') { image2.src = '/assets/uploads/files/1616627933907-asset-1.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '注专讜讱 讗转 讛讗转专 讻专爪讜谞讱!', type: 'success', timeout: 2500 }) document.designMode = 'on' } else { document.designMode = 'off' image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '讛注专讬讻讛 讛住转讬讬诪讛', timeout: 2500 }) } } image2.style.display = 'block'; image2.style.margin = 'auto'; image2.style.width = '37px'; image2.style.marginBottom = '15px'; image2.style.transition = '0.5s'; image2.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image3 = document.createElement('img'); image3.src = 'https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/unnamed.png'; image3.title = '讞讬驻讜砖 讙讜讙诇 讘驻讜专讜诪讬诐 讛讞专讚讬讬诐'; image3.style.cursor = 'pointer'; image3.style.display = 'block'; image3.style.margin = 'auto'; image3.style.width = '37px'; image3.style.marginBottom = '15px'; image3.style.transition = '0.5s'; image3.style.transform = 'scale(0, 0) translate(-40px, 0)'; image3.onclick = function () { var search = prompt("诪讛 讗转讛 专讜爪讛 诇讞驻砖 讘驻讜专讜诪讬诐?"); if (search != null && search != "") { search = encodeURIComponent(search.trim()); var link = "https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/#gsc.tab=0&gsc.q=" + search; function linkb(href) { Object.assign(document.createElement('a'), { target: '_blank', href, }).click(); } linkb(link); } } let image4 = document.createElement('div'); image4.title = '砖讬谞讜讬 爪讘注 讘驻讜住讟讬诐'; let colorInput = document.createElement('input'); colorInput.id = 'colorPostInput'; colorInput.type = 'color'; colorInput.style.position = 'absolute'; colorInput.style.right = '-8px'; colorInput.style.top = '-8px'; colorInput.style.width = '56px'; colorInput.style.height = '56px'; colorInput.style.border = 'none'; colorInput.style.cursor = 'pointer'; if (localStorage.allParagraphsColor) { document.body.style.color = localStorage.allParagraphsColor; colorInput.value = localStorage.allParagraphsColor; } colorInput.addEventListener('change', (event) => { localStorage.allParagraphsColor = colorInput.value; document.body.style.color = colorInput.value; }); image4.style.cursor = 'pointer'; image4.style.display = 'block'; image4.style.margin = 'auto'; image4.style.position = 'relative'; image4.style.overflow = 'hidden'; image4.style.width = '40px'; image4.style.height = '40px'; image4.style.border = 'solid 2px #ddd'; image4.style.borderRadius = '40px'; image4.style.marginBottom = '15px'; image4.style.transition = '0.5s'; image4.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image5 = document.createElement('img'); image5.src = 'https://ssl.gstatic.com/translate/favicon.ico'; image5.title = '转专讙讜诐 诪讗谞讙诇讬转 诇注讘专讬转'; image5.style.cursor = 'pointer'; image5.style.display = 'block'; image5.style.margin = 'auto'; image5.style.width = '37px'; image5.style.marginBottom = '15px'; image5.style.transition = '0.5s'; image5.style.transform = 'scale(0, 0) translate(-40px, 0)'; image5.onclick = function () { var translate = prompt("诪讛 讗转讛 专讜爪讛 诇转专讙诐?"); if (translate != null && translate != "") { translate = encodeURIComponent(translate.trim()); var link = "https://translate.google.co.il/?sl=en&tl=iw&text=" + translate + "&op=translate"; function linkb(href) { Object.assign(document.createElement('a'), { target: '_blank', href, }).click(); } linkb(link); } } if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "hide") { $('.forum-logo').css("display", "none"); } else { $('.forum-logo').css("display", "block"); } } let image6 = document.createElement('img'); image6.src = '/favicon.ico'; image6.title = '讛住转专转 讛诇讜讙讜 砖诇 讛驻讜专讜诐'; image6.style.cursor = 'pointer'; image6.onclick = function () { if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "show") { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } else { localStorage.hideForumLogo = "show"; $('.forum-logo').css("display", "block"); } } else { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } } image6.style.display = 'block'; image6.style.margin = 'auto'; image6.style.width = '37px'; image6.style.marginBottom = '15px'; image6.style.transition = '0.5s'; image6.style.transform = 'scale(0, 0) translate(-40px, 0)'; if (localStorage.emojisize) { for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { document.querySelector('head').innerHTML += `<style>.emoji { width: ${localStorage.emojisize}px; height: ${localStorage.emojisize}px; }</style>`; } } let image7 = document.createElement('img'); image7.src = '/plugins/nodebb-plugin-emoji/emoji/apple/1f642.png?v=a54dqpiknn4'; image7.title = '砖讬谞讜讬 讙讜讚诇 讗讬诪讜讙\'讬诐'; image7.style.cursor = 'pointer'; image7.onclick = function () { var emojisize = prompt("诇讗讬讝讛 讙讜讚诇 诇砖谞讜转 讗转 讛讗讬诪讜讙'讬诐? (讘驻讬拽住诇讬诐)"); if (emojisize != null && emojisize != "") { emojisize = encodeURIComponent(emojisize.trim()); localStorage.emojisize = emojisize; for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { var emojis = document.getElementsByClassName('emoji')[i]; emojis.style.width = emojisize + 'px'; emojis.style.height = emojisize + 'px' } } } image7.style.display = 'block'; image7.style.margin = 'auto'; image7.style.width = '37px'; image7.style.marginBottom = '15px'; image7.style.transition = '0.5s'; image7.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image8 = document.createElement('img'); image8.src = '/assets/uploads/files/1616992426113-link.png'; image8.title = '驻讜专讜诪讬诐'; image8.style.cursor = 'pointer'; image8.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">驻讜专讜诪讬诐</h3>', message: '<hr><a href="https://tchumim.com" target="_blank"><img width="40px" title="转讞讜诪讬诐" src="/assets/uploads/files/1616989719968-1.png"></a>' + '<a href="https://诪拽爪讜注讜转.com/" target="_blank"><img width="40px" title="诪拽爪讜注讜转" src="/assets/uploads/files/1616989719998-2.png"></a>' + '<a href="https://www.prog.co.il" target="_blank"><img width="40px" title="驻专讜讙" src="/assets/uploads/files/1616989720025-3.png"></a>' + '<a href="https://forum-office.ml" target="_blank"><img width="40px" title="驻讜专讜诐 讗讜驻讬住" src="/assets/uploads/files/1616989720045-4.png"></a>' + '<a href="https://f2.freeivr.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 讬诪讜转 讛诪砖讬讞" src="/assets/uploads/files/1616989720065-5.png"></a>' + '<br><br><a href="https://www.tora-forum.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 诇转讜专讛" src="/assets/uploads/files/1616989720081-6.png"></a>' + '<a href="https://meatzvim.cf" target="_blank"><img width="40px" title="诪注爪讘讬诐" src="/assets/uploads/files/1616989720101-7.png"></a>' + '<a href="https://www.techno-tech.cf" target="_blank"><img width="40px" title="转讻谞讜讟拽" src="/assets/uploads/files/1616989720122-8.png"></a>' + '<a href="http://forum.netfree.link" target="_blank"><img width="40px" title="驻讜专讜诐 谞讟驻专讬" src="/assets/uploads/files/1617018043234-9.png"></a>' }) } image8.style.display = 'block'; image8.style.margin = 'auto'; image8.style.width = '37px'; image8.style.marginBottom = '15px'; image8.style.transition = '0.5s'; image8.style.transform = 'scale(0, 0) translate(-40px, 0)'; let image9 = document.createElement('img'); image9.src = '/assets/uploads/files/1616992426113-link.png'; image9.title = '讛拽讬砖讜专讬诐 砖诇讬'; image9.style.cursor = 'pointer'; image9.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">讛拽讬砖讜专讬诐 砖诇讬</h3>', message: '<hr><a href="/user/brochabar" target="_blank"><img width="40px" title="brochabar" src="/assets/uploads/profile/6823-profileavatar-1612680469756.png"></a>' }) } image9.style.display = 'block'; image9.style.margin = 'auto'; image9.style.width = '37px'; image9.style.marginBottom = '15px'; image9.style.transition = '0.5s'; image9.style.transform = 'scale(0, 0) translate(-40px, 0)'; image1.classList.add('images'); image2.classList.add('images'); image3.classList.add('images'); image4.classList.add('images'); image5.classList.add('images'); image6.classList.add('images'); image7.classList.add('images'); image8.classList.add('images'); image9.classList.add('images'); image4.appendChild(colorInput); panel.appendChild(image1); panel.appendChild(image2); panel.appendChild(image3); panel.appendChild(image4); panel.appendChild(image5); panel.appendChild(image6); panel.appendChild(image7); panel.appendChild(image8); panel.appendChild(image9); document.body.appendChild(panel); // ==UserScript== // @name 住专讙诇 讻诇讬诐 // @version 0.1 // @author 诪讜讟讬 讗讜专谉, 谞 谞讞 // @description 馃榾 讛讜住驻转 住专讙诇 讻诇讬诐 诇驻讜专讜诐 // @include https://mitmachim.top/* // @icon https://mitmachim.top/assets/uploads/files/1616983314128-tools-solid.svg // @homepage https://mitmachim.top // ==/UserScript==讜讛拽讜讚 诇住拽专讬驻讟 讛诪注讜讚讻谉 诪讛讜?
let panel = document.createElement('div'); let title = document.createElement('div'); panel.id = 'movePanel'; panel.style.zIndex = '7'; panel.style.cursor = 'move'; panel.style.boxShadow = '0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)' panel.style.position = 'fixed'; panel.style.width = '60px'; panel.style.height = '555px'; panel.style.left = '17px'; panel.style.bottom = '2%'; panel.style.paddingTop = '12px'; panel.style.paddingBottom = '8px'; panel.style.flexDirection = 'column'; panel.style.alignItems = 'center'; panel.style.justifyContent = 'center'; panel.style.borderRadius = '10px'; panel.style.backgroundColor = 'rgb(255, 255, 190)'; panel.ondblclick = function () { if (panel.style.height === '555px') { $('.images').css('display', 'none'); panel.style.height = '60px'; } else { $('.images').css('display', 'block'); panel.style.height = '555px'; }} title.style.display = 'block'; title.style.textAlign = 'center'; title.style.fontSize = '25px'; title.style.color = '#357BB8'; title.innerHTML = '讻诇讬诐'; panel.appendChild(title); let deletingChanges = document.createElement('img'); deletingChanges.src = '/assets/uploads/files/1617365157713-deletingchanges.png'; deletingChanges.title = '诪讞讬拽转 讛砖讬谞讜讬讬诐'; deletingChanges.style.cursor = 'pointer'; deletingChanges.style.display = 'block'; deletingChanges.style.margin = 'auto';deletingChanges.style.width = '20px'; deletingChanges.style.marginBottom = '20px'; deletingChanges.style.marginTop = '5px'; deletingChanges.onclick = function () { var confirmation = confirm("讗转讛 讘讟讜讞 砖讘专爪讜谞讱 诇诪讞讜拽 讗转 讛砖讬谞讜讬讬诐?"); if (confirmation == true) { localStorage.removeItem('allParagraphsColor'); localStorage.removeItem('customBackgroundImage'); localStorage.removeItem('hideForumLogo'); localStorage.removeItem('emojisize'); location.reload(); }} let image1 = document.createElement('img'); image1.src = '/assets/uploads/files/1616637195056-img.png'; image1.title = '讬讞住 诪讜谞讬讟讬谉 诇驻讜住讟'; image1.style.cursor = 'pointer'; image1.onclick = function () { var result = (app.user.reputation) / app.user.postcount; app.alert({ title: '<h4 style="color: #4caf50;">讞讬砖讜讘 驻讜住讟讬诐 VS 诪讜谞讬讟讬谉</h4>', message: '诪住驻专 讛驻讜住讟讬诐 砖讻转讘转 讛讜讗 ' + app.user.postcount + '<br>诪讗讬讚讱 诪住驻专 讛诇讬讬拽讬诐 砖拽讘诇转 讛讜讗 ' + app.user.reputation + '<hr style="border-top: 2px solid #838694;">讘转\'讻诇住 讬讞住 讛诇讬讬拽讬诐 诇驻讜住讟 讛讜讗: <h3 style="color: #4caf50; text-align: center;">' + result.toFixed(4), timeout: 5000 }) } image1.style.display = 'block'; image1.style.margin = 'auto'; image1.style.width = '37px'; image1.style.marginBottom = '15px'; let image2 = document.createElement('img'); image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; image2.title = '注专讬讻转 讛驻讜专讜诐'; image2.style.cursor = 'pointer'; image2.onclick = function () { if (document.designMode == 'off') { image2.src = '/assets/uploads/files/1616627933907-asset-1.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '注专讜讱 讗转 讛讗转专 讻专爪讜谞讱!', type: 'success', timeout: 2500 }) document.designMode = 'on' } else { document.designMode = 'off' image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '讛注专讬讻讛 讛住转讬讬诪讛', timeout: 2500 }) } } image2.style.display = 'block'; image2.style.margin = 'auto'; image2.style.width = '37px'; image2.style.marginBottom = '15px'; let image3 = document.createElement('img'); image3.src = 'https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/unnamed.png'; image3.title = '讞讬驻讜砖 讙讜讙诇 讘驻讜专讜诪讬诐 讛讞专讚讬讬诐'; image3.style.cursor = 'pointer'; image3.style.display = 'block'; image3.style.margin = 'auto'; image3.style.width = '37px'; image3.style.marginBottom = '15px'; image3.onclick = function () { var search = prompt("诪讛 讗转讛 专讜爪讛 诇讞驻砖 讘驻讜专讜诪讬诐?"); if (search != null && search != "") { search = encodeURIComponent(search.trim()); var link = "https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/#gsc.tab=0&gsc.q=" + search; function linkb(href) { Object.assign(document.createElement('a'), { target: '_blank', href, }).click(); } linkb(link); } } let image4 = document.createElement('div'); image4.title = '砖讬谞讜讬 爪讘注 讟拽住讟'; let colorInput = document.createElement('input'); colorInput.id = 'colorPostInput'; colorInput.type = 'color'; colorInput.value = '#333333'; colorInput.style.position = 'absolute'; colorInput.style.right = '-8px'; colorInput.style.top = '-8px'; colorInput.style.width = '56px'; colorInput.style.height = '56px'; colorInput.style.border = 'none'; colorInput.style.cursor = 'pointer'; if (localStorage.allParagraphsColor) { document.body.style.color = localStorage.allParagraphsColor; colorInput.value = localStorage.allParagraphsColor; } colorInput.addEventListener('input', (event) => { localStorage.allParagraphsColor = colorInput.value; document.body.style.color = colorInput.value; }); image4.style.cursor = 'pointer'; image4.style.display = 'block'; image4.style.margin = 'auto'; image4.style.position = 'relative'; image4.style.overflow = 'hidden'; image4.style.width = '40px'; image4.style.height = '40px'; image4.style.border = 'solid 2px #ddd'; image4.style.borderRadius = '40px'; image4.style.marginBottom = '15px'; let image5 = document.createElement('img'); image5.src = '/assets/uploads/files/1617339003540-images.png'; image5.title = '讛讜住驻转 转诪讜谞转 专拽注 诪讜转讗诪转 讗讬砖讬转'; image5.style.cursor = 'pointer'; if (localStorage.customBackgroundImage) { let myStyle = document.createElement('style'); myStyle.appendChild(document.createTextNode('li { background-color: white; opacity: 0.9; border-radius: 10px; }')); myStyle.appendChild(document.createTextNode('.breadcrumb, .topic-list-header, .input-group { opacity: 0.95; border-radius: 10px; }')); document.getElementsByTagName('head')[0].appendChild(myStyle); $('body').css('background-image', `url(${localStorage.customBackgroundImage})`); $('body').css('background-attachment', 'fixed'); $('body').css('background-size', 'cover'); } image5.onclick = function () { let backgroundUrl = prompt('讛讻谞住 讗转 讛拽讬砖讜专 诇转诪讜谞转 讛专拽注'); if (backgroundUrl != null && backgroundUrl != "") { let myStyle = document.createElement('style'); myStyle.appendChild(document.createTextNode('li { background-color: white; opacity: 0.9; border-radius: 10px; }')); myStyle.appendChild(document.createTextNode('.breadcrumb, .topic-list-header, .input-group { opacity: 0.95; border-radius: 10px; }')); document.getElementsByTagName('head')[0].appendChild(myStyle); $('.breadcrumb').css('border-radius', '10px'); $('body').css('background-image', `url(${backgroundUrl})`); $('body').css('background-attachment', 'fixed'); $('body').css('background-size', 'cover'); localStorage.customBackgroundImage = backgroundUrl; }} image5.style.display = 'block'; image5.style.margin = 'auto'; image5.style.width = '37px'; image5.style.marginBottom = '15px'; if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "hide") { $('.forum-logo').css("display", "none"); } else { $('.forum-logo').css("display", "block"); } } let image6 = document.createElement('img'); image6.src = '/favicon.ico'; image6.title = '讛住转专转 讛诇讜讙讜 砖诇 讛驻讜专讜诐'; image6.style.cursor = 'pointer'; image6.onclick = function () { if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "show") { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } else { localStorage.hideForumLogo = "show"; $('.forum-logo').css("display", "block"); } } else { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } } image6.style.display = 'block'; image6.style.margin = 'auto'; image6.style.width = '37px'; image6.style.marginBottom = '15px'; if (localStorage.emojisize) { for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { document.querySelector('head').innerHTML += `<style>.emoji { width: ${localStorage.emojisize}px; height: ${localStorage.emojisize}px; }</style>`; } } let image7 = document.createElement('img'); image7.src = '/plugins/nodebb-plugin-emoji/emoji/apple/1f642.png?v=a54dqpiknn4'; image7.title = '砖讬谞讜讬 讙讜讚诇 讗讬诪讜讙\'讬诐'; image7.style.cursor = 'pointer'; image7.onclick = function () { var emojisize = prompt("诇讗讬讝讛 讙讜讚诇 诇砖谞讜转 讗转 讛讗讬诪讜讙'讬诐? (讘驻讬拽住诇讬诐)"); if (emojisize != null && emojisize != "") { emojisize = encodeURIComponent(emojisize.trim()); localStorage.emojisize = emojisize; for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { var emojis = document.getElementsByClassName('emoji')[i]; emojis.style.width = emojisize + 'px'; emojis.style.height = emojisize + 'px' } } } image7.style.display = 'block'; image7.style.margin = 'auto'; image7.style.width = '37px'; image7.style.marginBottom = '15px'; let image8 = document.createElement('img'); image8.src = '/assets/uploads/files/1616992426113-link.png'; image8.title = '驻讜专讜诪讬诐'; image8.style.cursor = 'pointer'; image8.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">驻讜专讜诪讬诐</h3>', message: '<hr><a href="https://tchumim.com" target="_blank"><img width="40px" title="转讞讜诪讬诐" src="/assets/uploads/files/1616989719968-1.png"></a>' + '<a href="https://诪拽爪讜注讜转.com/" target="_blank"><img width="40px" title="诪拽爪讜注讜转" src="/assets/uploads/files/1616989719998-2.png"></a>' + '<a href="https://www.prog.co.il" target="_blank"><img width="40px" title="驻专讜讙" src="/assets/uploads/files/1616989720025-3.png"></a>' + '<a href="https://forum-office.ml" target="_blank"><img width="40px" title="驻讜专讜诐 讗讜驻讬住" src="/assets/uploads/files/1616989720045-4.png"></a>' + '<a href="https://f2.freeivr.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 讬诪讜转 讛诪砖讬讞" src="/assets/uploads/files/1616989720065-5.png"></a>' + '<br><br><a href="https://www.tora-forum.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 诇转讜专讛" src="/assets/uploads/files/1616989720081-6.png"></a>' + '<a href="https://meatzvim.cf" target="_blank"><img width="40px" title="诪注爪讘讬诐" src="/assets/uploads/files/1616989720101-7.png"></a>' + '<a href="https://www.techno-tech.cf" target="_blank"><img width="40px" title="转讻谞讜讟拽" src="/assets/uploads/files/1616989720122-8.png"></a>' + '<a href="http://forum.netfree.link" target="_blank"><img width="40px" title="驻讜专讜诐 谞讟驻专讬" src="/assets/uploads/files/1617018043234-9.png"></a>' }) } image8.style.display = 'block'; image8.style.margin = 'auto'; image8.style.width = '37px'; image8.style.marginBottom = '15px'; let image9 = document.createElement('img'); image9.src = '/assets/uploads/files/1616992426113-link.png'; image9.title = '讛拽讬砖讜专讬诐 砖诇讬'; image9.style.cursor = 'pointer'; image9.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">驻讜专讜诪讬诐</h3>', message: '<hr><a href="https://tchumim.com" target="_blank"><img width="40px" title="转讞讜诪讬诐" src="/assets/uploads/files/1616989719968-1.png"></a>' + '<a href="https://诪拽爪讜注讜转.com/" target="_blank"><img width="40px" title="诪拽爪讜注讜转" src="/assets/uploads/files/1616989719998-2.png"></a>' + '<a href="https://www.prog.co.il" target="_blank"><img width="40px" title="驻专讜讙" src="/assets/uploads/files/1616989720025-3.png"></a>' + '<a href="https://forum-office.ml" target="_blank"><img width="40px" title="驻讜专讜诐 讗讜驻讬住" src="/assets/uploads/files/1616989720045-4.png"></a>' + '<a href="https://f2.freeivr.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 讬诪讜转 讛诪砖讬讞" src="/assets/uploads/files/1616989720065-5.png"></a>' + '<br><br><a href="https://www.tora-forum.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 诇转讜专讛" src="/assets/uploads/files/1616989720081-6.png"></a>' + '<a href="https://meatzvim.cf" target="_blank"><img width="40px" title="诪注爪讘讬诐" src="/assets/uploads/files/1616989720101-7.png"></a>' + '<a href="https://www.techno-tech.cf" target="_blank"><img width="40px" title="转讻谞讜讟拽" src="/assets/uploads/files/1616989720122-8.png"></a>' + '<a href="http://forum.netfree.link" target="_blank"><img width="40px" title="驻讜专讜诐 谞讟驻专讬" src="/assets/uploads/files/1617018043234-9.png"></a>' }) } image9.style.display = 'block'; image9.style.margin = 'auto'; image9.style.width = '37px'; image9.style.marginBottom = '15px'; deletingChanges.classList.add('images'); image1.classList.add('images'); image2.classList.add('images'); image3.classList.add('images'); image4.classList.add('images'); image5.classList.add('images'); image6.classList.add('images'); image7.classList.add('images'); image8.classList.add('images'); image9.classList.add('images'); image4.appendChild(colorInput); panel.appendChild(deletingChanges); panel.appendChild(image1); panel.appendChild(image2); panel.appendChild(image3); panel.appendChild(image4); panel.appendChild(image5); panel.appendChild(image6); panel.appendChild(image7); panel.appendChild(image8); panel.appendChild(image9); document.body.appendChild(panel); dragElement(document.getElementById('movePanel')); function dragElement(elmnt) { var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0; elmnt.onmousedown = dragMouseDown; function dragMouseDown(e) { e = e || window.event; e.preventDefault(); pos3 = e.clientX; pos4 = e.clientY; document.onmouseup = closeDragElement; document.onmousemove = elementDrag; } function elementDrag(e) { e = e || window.event; e.preventDefault(); pos1 = pos3 - e.clientX; pos2 = pos4 - e.clientY; pos3 = e.clientX; pos4 = e.clientY; elmnt.style.top = (elmnt.offsetTop - pos2) + "px"; elmnt.style.left = (elmnt.offsetLeft - pos1) + "px"; } function closeDragElement() { document.onmouseup = null; document.onmousemove = null; } } let removeMsoNormal = document.createElement('style'); removeMsoNormal.appendChild(document.createTextNode('.MsoNormal { display: none; }')); document.getElementsByTagName('head')[0].appendChild(removeMsoNormal); if (!localStorage.alreadyInstalled) { localStorage.alreadyInstalled = ' '; app.alert({ type: 'success', message: '<div style="text-align: center"><h3 style="color: black">转讜讚讛 砖讛转拽谞转 讗转 讛转讜住祝!</h3><hr><a href="/user/诪讜讟讬-讗讜专谉"><img width="70px" style="border-radius: 40px; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 0 20px 0 rgba(0, 0, 0, 0.19)" src="/assets/uploads/profile/886-profileavatar-1603289895083.jpeg"></a>' + '<a href="/user/谞-谞讞"><img width="70px" style="margin-right: 15px; border-radius: 40px; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 0 20px 0 rgba(0, 0, 0, 0.19)" src="/assets/uploads/profile/5246-profileavatar-1614689486244.png"></a></div><p style="margin-top: 20px; text-align: left; color: gray">诪讜讟讬 讗讜专谉 & 谞 谞讞</p>' }) } // ==UserScript== // @name 住专讙诇 讻诇讬诐 // @version 0.2 // @author 诪讜讟讬 讗讜专谉 & 谞 谞讞 // @description 馃榾 讛讜住驻转 住专讙诇 讻诇讬诐 诇驻讜专讜诐 // @include https://mitmachim.top/* // @icon https://mitmachim.top/assets/uploads/files/1616983314128-tools-solid.svg // @homepage https://mitmachim.top/topic/21073 // @supportURL https://mitmachim.top/topic/21073 // @noframes // ==/UserScript== -
let panel = document.createElement('div'); let title = document.createElement('div'); panel.id = 'movePanel'; panel.style.zIndex = '7'; panel.style.cursor = 'move'; panel.style.boxShadow = '0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)' panel.style.position = 'fixed'; panel.style.width = '60px'; panel.style.height = '555px'; panel.style.left = '17px'; panel.style.bottom = '2%'; panel.style.paddingTop = '12px'; panel.style.paddingBottom = '8px'; panel.style.flexDirection = 'column'; panel.style.alignItems = 'center'; panel.style.justifyContent = 'center'; panel.style.borderRadius = '10px'; panel.style.backgroundColor = 'rgb(255, 255, 190)'; panel.ondblclick = function () { if (panel.style.height === '555px') { $('.images').css('display', 'none'); panel.style.height = '60px'; } else { $('.images').css('display', 'block'); panel.style.height = '555px'; }} title.style.display = 'block'; title.style.textAlign = 'center'; title.style.fontSize = '25px'; title.style.color = '#357BB8'; title.innerHTML = '讻诇讬诐'; panel.appendChild(title); let deletingChanges = document.createElement('img'); deletingChanges.src = '/assets/uploads/files/1617365157713-deletingchanges.png'; deletingChanges.title = '诪讞讬拽转 讛砖讬谞讜讬讬诐'; deletingChanges.style.cursor = 'pointer'; deletingChanges.style.display = 'block'; deletingChanges.style.margin = 'auto';deletingChanges.style.width = '20px'; deletingChanges.style.marginBottom = '20px'; deletingChanges.style.marginTop = '5px'; deletingChanges.onclick = function () { var confirmation = confirm("讗转讛 讘讟讜讞 砖讘专爪讜谞讱 诇诪讞讜拽 讗转 讛砖讬谞讜讬讬诐?"); if (confirmation == true) { localStorage.removeItem('allParagraphsColor'); localStorage.removeItem('customBackgroundImage'); localStorage.removeItem('hideForumLogo'); localStorage.removeItem('emojisize'); location.reload(); }} let image1 = document.createElement('img'); image1.src = '/assets/uploads/files/1616637195056-img.png'; image1.title = '讬讞住 诪讜谞讬讟讬谉 诇驻讜住讟'; image1.style.cursor = 'pointer'; image1.onclick = function () { var result = (app.user.reputation) / app.user.postcount; app.alert({ title: '<h4 style="color: #4caf50;">讞讬砖讜讘 驻讜住讟讬诐 VS 诪讜谞讬讟讬谉</h4>', message: '诪住驻专 讛驻讜住讟讬诐 砖讻转讘转 讛讜讗 ' + app.user.postcount + '<br>诪讗讬讚讱 诪住驻专 讛诇讬讬拽讬诐 砖拽讘诇转 讛讜讗 ' + app.user.reputation + '<hr style="border-top: 2px solid #838694;">讘转\'讻诇住 讬讞住 讛诇讬讬拽讬诐 诇驻讜住讟 讛讜讗: <h3 style="color: #4caf50; text-align: center;">' + result.toFixed(4), timeout: 5000 }) } image1.style.display = 'block'; image1.style.margin = 'auto'; image1.style.width = '37px'; image1.style.marginBottom = '15px'; let image2 = document.createElement('img'); image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; image2.title = '注专讬讻转 讛驻讜专讜诐'; image2.style.cursor = 'pointer'; image2.onclick = function () { if (document.designMode == 'off') { image2.src = '/assets/uploads/files/1616627933907-asset-1.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '注专讜讱 讗转 讛讗转专 讻专爪讜谞讱!', type: 'success', timeout: 2500 }) document.designMode = 'on' } else { document.designMode = 'off' image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '讛注专讬讻讛 讛住转讬讬诪讛', timeout: 2500 }) } } image2.style.display = 'block'; image2.style.margin = 'auto'; image2.style.width = '37px'; image2.style.marginBottom = '15px'; let image3 = document.createElement('img'); image3.src = 'https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/unnamed.png'; image3.title = '讞讬驻讜砖 讙讜讙诇 讘驻讜专讜诪讬诐 讛讞专讚讬讬诐'; image3.style.cursor = 'pointer'; image3.style.display = 'block'; image3.style.margin = 'auto'; image3.style.width = '37px'; image3.style.marginBottom = '15px'; image3.onclick = function () { var search = prompt("诪讛 讗转讛 专讜爪讛 诇讞驻砖 讘驻讜专讜诪讬诐?"); if (search != null && search != "") { search = encodeURIComponent(search.trim()); var link = "https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/#gsc.tab=0&gsc.q=" + search; function linkb(href) { Object.assign(document.createElement('a'), { target: '_blank', href, }).click(); } linkb(link); } } let image4 = document.createElement('div'); image4.title = '砖讬谞讜讬 爪讘注 讟拽住讟'; let colorInput = document.createElement('input'); colorInput.id = 'colorPostInput'; colorInput.type = 'color'; colorInput.value = '#333333'; colorInput.style.position = 'absolute'; colorInput.style.right = '-8px'; colorInput.style.top = '-8px'; colorInput.style.width = '56px'; colorInput.style.height = '56px'; colorInput.style.border = 'none'; colorInput.style.cursor = 'pointer'; if (localStorage.allParagraphsColor) { document.body.style.color = localStorage.allParagraphsColor; colorInput.value = localStorage.allParagraphsColor; } colorInput.addEventListener('input', (event) => { localStorage.allParagraphsColor = colorInput.value; document.body.style.color = colorInput.value; }); image4.style.cursor = 'pointer'; image4.style.display = 'block'; image4.style.margin = 'auto'; image4.style.position = 'relative'; image4.style.overflow = 'hidden'; image4.style.width = '40px'; image4.style.height = '40px'; image4.style.border = 'solid 2px #ddd'; image4.style.borderRadius = '40px'; image4.style.marginBottom = '15px'; let image5 = document.createElement('img'); image5.src = '/assets/uploads/files/1617339003540-images.png'; image5.title = '讛讜住驻转 转诪讜谞转 专拽注 诪讜转讗诪转 讗讬砖讬转'; image5.style.cursor = 'pointer'; if (localStorage.customBackgroundImage) { let myStyle = document.createElement('style'); myStyle.appendChild(document.createTextNode('li { background-color: white; opacity: 0.9; border-radius: 10px; }')); myStyle.appendChild(document.createTextNode('.breadcrumb, .topic-list-header, .input-group { opacity: 0.95; border-radius: 10px; }')); document.getElementsByTagName('head')[0].appendChild(myStyle); $('body').css('background-image', `url(${localStorage.customBackgroundImage})`); $('body').css('background-attachment', 'fixed'); $('body').css('background-size', 'cover'); } image5.onclick = function () { let backgroundUrl = prompt('讛讻谞住 讗转 讛拽讬砖讜专 诇转诪讜谞转 讛专拽注'); if (backgroundUrl != null && backgroundUrl != "") { let myStyle = document.createElement('style'); myStyle.appendChild(document.createTextNode('li { background-color: white; opacity: 0.9; border-radius: 10px; }')); myStyle.appendChild(document.createTextNode('.breadcrumb, .topic-list-header, .input-group { opacity: 0.95; border-radius: 10px; }')); document.getElementsByTagName('head')[0].appendChild(myStyle); $('.breadcrumb').css('border-radius', '10px'); $('body').css('background-image', `url(${backgroundUrl})`); $('body').css('background-attachment', 'fixed'); $('body').css('background-size', 'cover'); localStorage.customBackgroundImage = backgroundUrl; }} image5.style.display = 'block'; image5.style.margin = 'auto'; image5.style.width = '37px'; image5.style.marginBottom = '15px'; if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "hide") { $('.forum-logo').css("display", "none"); } else { $('.forum-logo').css("display", "block"); } } let image6 = document.createElement('img'); image6.src = '/favicon.ico'; image6.title = '讛住转专转 讛诇讜讙讜 砖诇 讛驻讜专讜诐'; image6.style.cursor = 'pointer'; image6.onclick = function () { if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "show") { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } else { localStorage.hideForumLogo = "show"; $('.forum-logo').css("display", "block"); } } else { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } } image6.style.display = 'block'; image6.style.margin = 'auto'; image6.style.width = '37px'; image6.style.marginBottom = '15px'; if (localStorage.emojisize) { for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { document.querySelector('head').innerHTML += `<style>.emoji { width: ${localStorage.emojisize}px; height: ${localStorage.emojisize}px; }</style>`; } } let image7 = document.createElement('img'); image7.src = '/plugins/nodebb-plugin-emoji/emoji/apple/1f642.png?v=a54dqpiknn4'; image7.title = '砖讬谞讜讬 讙讜讚诇 讗讬诪讜讙\'讬诐'; image7.style.cursor = 'pointer'; image7.onclick = function () { var emojisize = prompt("诇讗讬讝讛 讙讜讚诇 诇砖谞讜转 讗转 讛讗讬诪讜讙'讬诐? (讘驻讬拽住诇讬诐)"); if (emojisize != null && emojisize != "") { emojisize = encodeURIComponent(emojisize.trim()); localStorage.emojisize = emojisize; for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { var emojis = document.getElementsByClassName('emoji')[i]; emojis.style.width = emojisize + 'px'; emojis.style.height = emojisize + 'px' } } } image7.style.display = 'block'; image7.style.margin = 'auto'; image7.style.width = '37px'; image7.style.marginBottom = '15px'; let image8 = document.createElement('img'); image8.src = '/assets/uploads/files/1616992426113-link.png'; image8.title = '驻讜专讜诪讬诐'; image8.style.cursor = 'pointer'; image8.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">驻讜专讜诪讬诐</h3>', message: '<hr><a href="https://tchumim.com" target="_blank"><img width="40px" title="转讞讜诪讬诐" src="/assets/uploads/files/1616989719968-1.png"></a>' + '<a href="https://诪拽爪讜注讜转.com/" target="_blank"><img width="40px" title="诪拽爪讜注讜转" src="/assets/uploads/files/1616989719998-2.png"></a>' + '<a href="https://www.prog.co.il" target="_blank"><img width="40px" title="驻专讜讙" src="/assets/uploads/files/1616989720025-3.png"></a>' + '<a href="https://forum-office.ml" target="_blank"><img width="40px" title="驻讜专讜诐 讗讜驻讬住" src="/assets/uploads/files/1616989720045-4.png"></a>' + '<a href="https://f2.freeivr.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 讬诪讜转 讛诪砖讬讞" src="/assets/uploads/files/1616989720065-5.png"></a>' + '<br><br><a href="https://www.tora-forum.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 诇转讜专讛" src="/assets/uploads/files/1616989720081-6.png"></a>' + '<a href="https://meatzvim.cf" target="_blank"><img width="40px" title="诪注爪讘讬诐" src="/assets/uploads/files/1616989720101-7.png"></a>' + '<a href="https://www.techno-tech.cf" target="_blank"><img width="40px" title="转讻谞讜讟拽" src="/assets/uploads/files/1616989720122-8.png"></a>' + '<a href="http://forum.netfree.link" target="_blank"><img width="40px" title="驻讜专讜诐 谞讟驻专讬" src="/assets/uploads/files/1617018043234-9.png"></a>' }) } image8.style.display = 'block'; image8.style.margin = 'auto'; image8.style.width = '37px'; image8.style.marginBottom = '15px'; let image9 = document.createElement('img'); image9.src = '/assets/uploads/files/1616992426113-link.png'; image9.title = '讛拽讬砖讜专讬诐 砖诇讬'; image9.style.cursor = 'pointer'; image9.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">驻讜专讜诪讬诐</h3>', message: '<hr><a href="https://tchumim.com" target="_blank"><img width="40px" title="转讞讜诪讬诐" src="/assets/uploads/files/1616989719968-1.png"></a>' + '<a href="https://诪拽爪讜注讜转.com/" target="_blank"><img width="40px" title="诪拽爪讜注讜转" src="/assets/uploads/files/1616989719998-2.png"></a>' + '<a href="https://www.prog.co.il" target="_blank"><img width="40px" title="驻专讜讙" src="/assets/uploads/files/1616989720025-3.png"></a>' + '<a href="https://forum-office.ml" target="_blank"><img width="40px" title="驻讜专讜诐 讗讜驻讬住" src="/assets/uploads/files/1616989720045-4.png"></a>' + '<a href="https://f2.freeivr.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 讬诪讜转 讛诪砖讬讞" src="/assets/uploads/files/1616989720065-5.png"></a>' + '<br><br><a href="https://www.tora-forum.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 诇转讜专讛" src="/assets/uploads/files/1616989720081-6.png"></a>' + '<a href="https://meatzvim.cf" target="_blank"><img width="40px" title="诪注爪讘讬诐" src="/assets/uploads/files/1616989720101-7.png"></a>' + '<a href="https://www.techno-tech.cf" target="_blank"><img width="40px" title="转讻谞讜讟拽" src="/assets/uploads/files/1616989720122-8.png"></a>' + '<a href="http://forum.netfree.link" target="_blank"><img width="40px" title="驻讜专讜诐 谞讟驻专讬" src="/assets/uploads/files/1617018043234-9.png"></a>' }) } image9.style.display = 'block'; image9.style.margin = 'auto'; image9.style.width = '37px'; image9.style.marginBottom = '15px'; deletingChanges.classList.add('images'); image1.classList.add('images'); image2.classList.add('images'); image3.classList.add('images'); image4.classList.add('images'); image5.classList.add('images'); image6.classList.add('images'); image7.classList.add('images'); image8.classList.add('images'); image9.classList.add('images'); image4.appendChild(colorInput); panel.appendChild(deletingChanges); panel.appendChild(image1); panel.appendChild(image2); panel.appendChild(image3); panel.appendChild(image4); panel.appendChild(image5); panel.appendChild(image6); panel.appendChild(image7); panel.appendChild(image8); panel.appendChild(image9); document.body.appendChild(panel); dragElement(document.getElementById('movePanel')); function dragElement(elmnt) { var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0; elmnt.onmousedown = dragMouseDown; function dragMouseDown(e) { e = e || window.event; e.preventDefault(); pos3 = e.clientX; pos4 = e.clientY; document.onmouseup = closeDragElement; document.onmousemove = elementDrag; } function elementDrag(e) { e = e || window.event; e.preventDefault(); pos1 = pos3 - e.clientX; pos2 = pos4 - e.clientY; pos3 = e.clientX; pos4 = e.clientY; elmnt.style.top = (elmnt.offsetTop - pos2) + "px"; elmnt.style.left = (elmnt.offsetLeft - pos1) + "px"; } function closeDragElement() { document.onmouseup = null; document.onmousemove = null; } } let removeMsoNormal = document.createElement('style'); removeMsoNormal.appendChild(document.createTextNode('.MsoNormal { display: none; }')); document.getElementsByTagName('head')[0].appendChild(removeMsoNormal); if (!localStorage.alreadyInstalled) { localStorage.alreadyInstalled = ' '; app.alert({ type: 'success', message: '<div style="text-align: center"><h3 style="color: black">转讜讚讛 砖讛转拽谞转 讗转 讛转讜住祝!</h3><hr><a href="/user/诪讜讟讬-讗讜专谉"><img width="70px" style="border-radius: 40px; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 0 20px 0 rgba(0, 0, 0, 0.19)" src="/assets/uploads/profile/886-profileavatar-1603289895083.jpeg"></a>' + '<a href="/user/谞-谞讞"><img width="70px" style="margin-right: 15px; border-radius: 40px; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 0 20px 0 rgba(0, 0, 0, 0.19)" src="/assets/uploads/profile/5246-profileavatar-1614689486244.png"></a></div><p style="margin-top: 20px; text-align: left; color: gray">诪讜讟讬 讗讜专谉 & 谞 谞讞</p>' }) } // ==UserScript== // @name 住专讙诇 讻诇讬诐 // @version 0.2 // @author 诪讜讟讬 讗讜专谉 & 谞 谞讞 // @description 馃榾 讛讜住驻转 住专讙诇 讻诇讬诐 诇驻讜专讜诐 // @include https://mitmachim.top/* // @icon https://mitmachim.top/assets/uploads/files/1616983314128-tools-solid.svg // @homepage https://mitmachim.top/topic/21073 // @supportURL https://mitmachim.top/topic/21073 // @noframes // ==/UserScript==@谞-谞讞 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:let panel = document.createElement('div'); let title = document.createElement('div'); panel.id = 'movePanel'; panel.style.zIndex = '7'; panel.style.cursor = 'move'; panel.style.boxShadow = '0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)' panel.style.position = 'fixed'; panel.style.width = '60px'; panel.style.height = '555px'; panel.style.left = '17px'; panel.style.bottom = '2%'; panel.style.paddingTop = '12px'; panel.style.paddingBottom = '8px'; panel.style.flexDirection = 'column'; panel.style.alignItems = 'center'; panel.style.justifyContent = 'center'; panel.style.borderRadius = '10px'; panel.style.backgroundColor = 'rgb(255, 255, 190)'; panel.ondblclick = function () { if (panel.style.height === '555px') { $('.images').css('display', 'none'); panel.style.height = '60px'; } else { $('.images').css('display', 'block'); panel.style.height = '555px'; }} title.style.display = 'block'; title.style.textAlign = 'center'; title.style.fontSize = '25px'; title.style.color = '#357BB8'; title.innerHTML = '讻诇讬诐'; panel.appendChild(title); let deletingChanges = document.createElement('img'); deletingChanges.src = '/assets/uploads/files/1617365157713-deletingchanges.png'; deletingChanges.title = '诪讞讬拽转 讛砖讬谞讜讬讬诐'; deletingChanges.style.cursor = 'pointer'; deletingChanges.style.display = 'block'; deletingChanges.style.margin = 'auto';deletingChanges.style.width = '20px'; deletingChanges.style.marginBottom = '20px'; deletingChanges.style.marginTop = '5px'; deletingChanges.onclick = function () { var confirmation = confirm("讗转讛 讘讟讜讞 砖讘专爪讜谞讱 诇诪讞讜拽 讗转 讛砖讬谞讜讬讬诐?"); if (confirmation == true) { localStorage.removeItem('allParagraphsColor'); localStorage.removeItem('customBackgroundImage'); localStorage.removeItem('hideForumLogo'); localStorage.removeItem('emojisize'); location.reload(); }} let image1 = document.createElement('img'); image1.src = '/assets/uploads/files/1616637195056-img.png'; image1.title = '讬讞住 诪讜谞讬讟讬谉 诇驻讜住讟'; image1.style.cursor = 'pointer'; image1.onclick = function () { var result = (app.user.reputation) / app.user.postcount; app.alert({ title: '<h4 style="color: #4caf50;">讞讬砖讜讘 驻讜住讟讬诐 VS 诪讜谞讬讟讬谉</h4>', message: '诪住驻专 讛驻讜住讟讬诐 砖讻转讘转 讛讜讗 ' + app.user.postcount + '<br>诪讗讬讚讱 诪住驻专 讛诇讬讬拽讬诐 砖拽讘诇转 讛讜讗 ' + app.user.reputation + '<hr style="border-top: 2px solid #838694;">讘转\'讻诇住 讬讞住 讛诇讬讬拽讬诐 诇驻讜住讟 讛讜讗: <h3 style="color: #4caf50; text-align: center;">' + result.toFixed(4), timeout: 5000 }) } image1.style.display = 'block'; image1.style.margin = 'auto'; image1.style.width = '37px'; image1.style.marginBottom = '15px'; let image2 = document.createElement('img'); image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; image2.title = '注专讬讻转 讛驻讜专讜诐'; image2.style.cursor = 'pointer'; image2.onclick = function () { if (document.designMode == 'off') { image2.src = '/assets/uploads/files/1616627933907-asset-1.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '注专讜讱 讗转 讛讗转专 讻专爪讜谞讱!', type: 'success', timeout: 2500 }) document.designMode = 'on' } else { document.designMode = 'off' image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '讛注专讬讻讛 讛住转讬讬诪讛', timeout: 2500 }) } } image2.style.display = 'block'; image2.style.margin = 'auto'; image2.style.width = '37px'; image2.style.marginBottom = '15px'; let image3 = document.createElement('img'); image3.src = 'https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/unnamed.png'; image3.title = '讞讬驻讜砖 讙讜讙诇 讘驻讜专讜诪讬诐 讛讞专讚讬讬诐'; image3.style.cursor = 'pointer'; image3.style.display = 'block'; image3.style.margin = 'auto'; image3.style.width = '37px'; image3.style.marginBottom = '15px'; image3.onclick = function () { var search = prompt("诪讛 讗转讛 专讜爪讛 诇讞驻砖 讘驻讜专讜诪讬诐?"); if (search != null && search != "") { search = encodeURIComponent(search.trim()); var link = "https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/#gsc.tab=0&gsc.q=" + search; function linkb(href) { Object.assign(document.createElement('a'), { target: '_blank', href, }).click(); } linkb(link); } } let image4 = document.createElement('div'); image4.title = '砖讬谞讜讬 爪讘注 讟拽住讟'; let colorInput = document.createElement('input'); colorInput.id = 'colorPostInput'; colorInput.type = 'color'; colorInput.value = '#333333'; colorInput.style.position = 'absolute'; colorInput.style.right = '-8px'; colorInput.style.top = '-8px'; colorInput.style.width = '56px'; colorInput.style.height = '56px'; colorInput.style.border = 'none'; colorInput.style.cursor = 'pointer'; if (localStorage.allParagraphsColor) { document.body.style.color = localStorage.allParagraphsColor; colorInput.value = localStorage.allParagraphsColor; } colorInput.addEventListener('input', (event) => { localStorage.allParagraphsColor = colorInput.value; document.body.style.color = colorInput.value; }); image4.style.cursor = 'pointer'; image4.style.display = 'block'; image4.style.margin = 'auto'; image4.style.position = 'relative'; image4.style.overflow = 'hidden'; image4.style.width = '40px'; image4.style.height = '40px'; image4.style.border = 'solid 2px #ddd'; image4.style.borderRadius = '40px'; image4.style.marginBottom = '15px'; let image5 = document.createElement('img'); image5.src = '/assets/uploads/files/1617339003540-images.png'; image5.title = '讛讜住驻转 转诪讜谞转 专拽注 诪讜转讗诪转 讗讬砖讬转'; image5.style.cursor = 'pointer'; if (localStorage.customBackgroundImage) { let myStyle = document.createElement('style'); myStyle.appendChild(document.createTextNode('li { background-color: white; opacity: 0.9; border-radius: 10px; }')); myStyle.appendChild(document.createTextNode('.breadcrumb, .topic-list-header, .input-group { opacity: 0.95; border-radius: 10px; }')); document.getElementsByTagName('head')[0].appendChild(myStyle); $('body').css('background-image', `url(${localStorage.customBackgroundImage})`); $('body').css('background-attachment', 'fixed'); $('body').css('background-size', 'cover'); } image5.onclick = function () { let backgroundUrl = prompt('讛讻谞住 讗转 讛拽讬砖讜专 诇转诪讜谞转 讛专拽注'); if (backgroundUrl != null && backgroundUrl != "") { let myStyle = document.createElement('style'); myStyle.appendChild(document.createTextNode('li { background-color: white; opacity: 0.9; border-radius: 10px; }')); myStyle.appendChild(document.createTextNode('.breadcrumb, .topic-list-header, .input-group { opacity: 0.95; border-radius: 10px; }')); document.getElementsByTagName('head')[0].appendChild(myStyle); $('.breadcrumb').css('border-radius', '10px'); $('body').css('background-image', `url(${backgroundUrl})`); $('body').css('background-attachment', 'fixed'); $('body').css('background-size', 'cover'); localStorage.customBackgroundImage = backgroundUrl; }} image5.style.display = 'block'; image5.style.margin = 'auto'; image5.style.width = '37px'; image5.style.marginBottom = '15px'; if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "hide") { $('.forum-logo').css("display", "none"); } else { $('.forum-logo').css("display", "block"); } } let image6 = document.createElement('img'); image6.src = '/favicon.ico'; image6.title = '讛住转专转 讛诇讜讙讜 砖诇 讛驻讜专讜诐'; image6.style.cursor = 'pointer'; image6.onclick = function () { if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "show") { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } else { localStorage.hideForumLogo = "show"; $('.forum-logo').css("display", "block"); } } else { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } } image6.style.display = 'block'; image6.style.margin = 'auto'; image6.style.width = '37px'; image6.style.marginBottom = '15px'; if (localStorage.emojisize) { for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { document.querySelector('head').innerHTML += `<style>.emoji { width: ${localStorage.emojisize}px; height: ${localStorage.emojisize}px; }</style>`; } } let image7 = document.createElement('img'); image7.src = '/plugins/nodebb-plugin-emoji/emoji/apple/1f642.png?v=a54dqpiknn4'; image7.title = '砖讬谞讜讬 讙讜讚诇 讗讬诪讜讙\'讬诐'; image7.style.cursor = 'pointer'; image7.onclick = function () { var emojisize = prompt("诇讗讬讝讛 讙讜讚诇 诇砖谞讜转 讗转 讛讗讬诪讜讙'讬诐? (讘驻讬拽住诇讬诐)"); if (emojisize != null && emojisize != "") { emojisize = encodeURIComponent(emojisize.trim()); localStorage.emojisize = emojisize; for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { var emojis = document.getElementsByClassName('emoji')[i]; emojis.style.width = emojisize + 'px'; emojis.style.height = emojisize + 'px' } } } image7.style.display = 'block'; image7.style.margin = 'auto'; image7.style.width = '37px'; image7.style.marginBottom = '15px'; let image8 = document.createElement('img'); image8.src = '/assets/uploads/files/1616992426113-link.png'; image8.title = '驻讜专讜诪讬诐'; image8.style.cursor = 'pointer'; image8.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">驻讜专讜诪讬诐</h3>', message: '<hr><a href="https://tchumim.com" target="_blank"><img width="40px" title="转讞讜诪讬诐" src="/assets/uploads/files/1616989719968-1.png"></a>' + '<a href="https://诪拽爪讜注讜转.com/" target="_blank"><img width="40px" title="诪拽爪讜注讜转" src="/assets/uploads/files/1616989719998-2.png"></a>' + '<a href="https://www.prog.co.il" target="_blank"><img width="40px" title="驻专讜讙" src="/assets/uploads/files/1616989720025-3.png"></a>' + '<a href="https://forum-office.ml" target="_blank"><img width="40px" title="驻讜专讜诐 讗讜驻讬住" src="/assets/uploads/files/1616989720045-4.png"></a>' + '<a href="https://f2.freeivr.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 讬诪讜转 讛诪砖讬讞" src="/assets/uploads/files/1616989720065-5.png"></a>' + '<br><br><a href="https://www.tora-forum.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 诇转讜专讛" src="/assets/uploads/files/1616989720081-6.png"></a>' + '<a href="https://meatzvim.cf" target="_blank"><img width="40px" title="诪注爪讘讬诐" src="/assets/uploads/files/1616989720101-7.png"></a>' + '<a href="https://www.techno-tech.cf" target="_blank"><img width="40px" title="转讻谞讜讟拽" src="/assets/uploads/files/1616989720122-8.png"></a>' + '<a href="http://forum.netfree.link" target="_blank"><img width="40px" title="驻讜专讜诐 谞讟驻专讬" src="/assets/uploads/files/1617018043234-9.png"></a>' }) } image8.style.display = 'block'; image8.style.margin = 'auto'; image8.style.width = '37px'; image8.style.marginBottom = '15px'; let image9 = document.createElement('img'); image9.src = '/assets/uploads/files/1616992426113-link.png'; image9.title = '讛拽讬砖讜专讬诐 砖诇讬'; image9.style.cursor = 'pointer'; image9.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">驻讜专讜诪讬诐</h3>', message: '<hr><a href="https://tchumim.com" target="_blank"><img width="40px" title="转讞讜诪讬诐" src="/assets/uploads/files/1616989719968-1.png"></a>' + '<a href="https://诪拽爪讜注讜转.com/" target="_blank"><img width="40px" title="诪拽爪讜注讜转" src="/assets/uploads/files/1616989719998-2.png"></a>' + '<a href="https://www.prog.co.il" target="_blank"><img width="40px" title="驻专讜讙" src="/assets/uploads/files/1616989720025-3.png"></a>' + '<a href="https://forum-office.ml" target="_blank"><img width="40px" title="驻讜专讜诐 讗讜驻讬住" src="/assets/uploads/files/1616989720045-4.png"></a>' + '<a href="https://f2.freeivr.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 讬诪讜转 讛诪砖讬讞" src="/assets/uploads/files/1616989720065-5.png"></a>' + '<br><br><a href="https://www.tora-forum.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 诇转讜专讛" src="/assets/uploads/files/1616989720081-6.png"></a>' + '<a href="https://meatzvim.cf" target="_blank"><img width="40px" title="诪注爪讘讬诐" src="/assets/uploads/files/1616989720101-7.png"></a>' + '<a href="https://www.techno-tech.cf" target="_blank"><img width="40px" title="转讻谞讜讟拽" src="/assets/uploads/files/1616989720122-8.png"></a>' + '<a href="http://forum.netfree.link" target="_blank"><img width="40px" title="驻讜专讜诐 谞讟驻专讬" src="/assets/uploads/files/1617018043234-9.png"></a>' }) } image9.style.display = 'block'; image9.style.margin = 'auto'; image9.style.width = '37px'; image9.style.marginBottom = '15px'; deletingChanges.classList.add('images'); image1.classList.add('images'); image2.classList.add('images'); image3.classList.add('images'); image4.classList.add('images'); image5.classList.add('images'); image6.classList.add('images'); image7.classList.add('images'); image8.classList.add('images'); image9.classList.add('images'); image4.appendChild(colorInput); panel.appendChild(deletingChanges); panel.appendChild(image1); panel.appendChild(image2); panel.appendChild(image3); panel.appendChild(image4); panel.appendChild(image5); panel.appendChild(image6); panel.appendChild(image7); panel.appendChild(image8); panel.appendChild(image9); document.body.appendChild(panel); dragElement(document.getElementById('movePanel')); function dragElement(elmnt) { var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0; elmnt.onmousedown = dragMouseDown; function dragMouseDown(e) { e = e || window.event; e.preventDefault(); pos3 = e.clientX; pos4 = e.clientY; document.onmouseup = closeDragElement; document.onmousemove = elementDrag; } function elementDrag(e) { e = e || window.event; e.preventDefault(); pos1 = pos3 - e.clientX; pos2 = pos4 - e.clientY; pos3 = e.clientX; pos4 = e.clientY; elmnt.style.top = (elmnt.offsetTop - pos2) + "px"; elmnt.style.left = (elmnt.offsetLeft - pos1) + "px"; } function closeDragElement() { document.onmouseup = null; document.onmousemove = null; } } let removeMsoNormal = document.createElement('style'); removeMsoNormal.appendChild(document.createTextNode('.MsoNormal { display: none; }')); document.getElementsByTagName('head')[0].appendChild(removeMsoNormal); if (!localStorage.alreadyInstalled) { localStorage.alreadyInstalled = ' '; app.alert({ type: 'success', message: '<div style="text-align: center"><h3 style="color: black">转讜讚讛 砖讛转拽谞转 讗转 讛转讜住祝!</h3><hr><a href="/user/诪讜讟讬-讗讜专谉"><img width="70px" style="border-radius: 40px; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 0 20px 0 rgba(0, 0, 0, 0.19)" src="/assets/uploads/profile/886-profileavatar-1603289895083.jpeg"></a>' + '<a href="/user/谞-谞讞"><img width="70px" style="margin-right: 15px; border-radius: 40px; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 0 20px 0 rgba(0, 0, 0, 0.19)" src="/assets/uploads/profile/5246-profileavatar-1614689486244.png"></a></div><p style="margin-top: 20px; text-align: left; color: gray">诪讜讟讬 讗讜专谉 & 谞 谞讞</p>' }) } // ==UserScript== // @name 住专讙诇 讻诇讬诐 // @version 0.2 // @author 诪讜讟讬 讗讜专谉 & 谞 谞讞 // @description 馃榾 讛讜住驻转 住专讙诇 讻诇讬诐 诇驻讜专讜诐 // @include https://mitmachim.top/* // @icon https://mitmachim.top/assets/uploads/files/1616983314128-tools-solid.svg // @homepage https://mitmachim.top/topic/21073 // @supportURL https://mitmachim.top/topic/21073 // @noframes // ==/UserScript==诇讗 注讜讘讚
讛讜讗 诪专讗讛 砖讙讬讗讛 诪砖讛讜讗 讘注讝讜专 讛讝讛} function elementDrag(e) { e = e window.event; e.preventDefault(); pos1 = pos3 - e.clientX; pos2 = pos4 - e.clientY; pos3 = e.clientX; pos4 = e.clientY; elmnt.style.top = (elmnt.offsetTop - pos2) + "px"; elmnt.style.left = (elmnt.offsetLeft - pos1) + "px"; } -
@谞-谞讞 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:let panel = document.createElement('div'); let title = document.createElement('div'); panel.id = 'movePanel'; panel.style.zIndex = '7'; panel.style.cursor = 'move'; panel.style.boxShadow = '0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)' panel.style.position = 'fixed'; panel.style.width = '60px'; panel.style.height = '555px'; panel.style.left = '17px'; panel.style.bottom = '2%'; panel.style.paddingTop = '12px'; panel.style.paddingBottom = '8px'; panel.style.flexDirection = 'column'; panel.style.alignItems = 'center'; panel.style.justifyContent = 'center'; panel.style.borderRadius = '10px'; panel.style.backgroundColor = 'rgb(255, 255, 190)'; panel.ondblclick = function () { if (panel.style.height === '555px') { $('.images').css('display', 'none'); panel.style.height = '60px'; } else { $('.images').css('display', 'block'); panel.style.height = '555px'; }} title.style.display = 'block'; title.style.textAlign = 'center'; title.style.fontSize = '25px'; title.style.color = '#357BB8'; title.innerHTML = '讻诇讬诐'; panel.appendChild(title); let deletingChanges = document.createElement('img'); deletingChanges.src = '/assets/uploads/files/1617365157713-deletingchanges.png'; deletingChanges.title = '诪讞讬拽转 讛砖讬谞讜讬讬诐'; deletingChanges.style.cursor = 'pointer'; deletingChanges.style.display = 'block'; deletingChanges.style.margin = 'auto';deletingChanges.style.width = '20px'; deletingChanges.style.marginBottom = '20px'; deletingChanges.style.marginTop = '5px'; deletingChanges.onclick = function () { var confirmation = confirm("讗转讛 讘讟讜讞 砖讘专爪讜谞讱 诇诪讞讜拽 讗转 讛砖讬谞讜讬讬诐?"); if (confirmation == true) { localStorage.removeItem('allParagraphsColor'); localStorage.removeItem('customBackgroundImage'); localStorage.removeItem('hideForumLogo'); localStorage.removeItem('emojisize'); location.reload(); }} let image1 = document.createElement('img'); image1.src = '/assets/uploads/files/1616637195056-img.png'; image1.title = '讬讞住 诪讜谞讬讟讬谉 诇驻讜住讟'; image1.style.cursor = 'pointer'; image1.onclick = function () { var result = (app.user.reputation) / app.user.postcount; app.alert({ title: '<h4 style="color: #4caf50;">讞讬砖讜讘 驻讜住讟讬诐 VS 诪讜谞讬讟讬谉</h4>', message: '诪住驻专 讛驻讜住讟讬诐 砖讻转讘转 讛讜讗 ' + app.user.postcount + '<br>诪讗讬讚讱 诪住驻专 讛诇讬讬拽讬诐 砖拽讘诇转 讛讜讗 ' + app.user.reputation + '<hr style="border-top: 2px solid #838694;">讘转\'讻诇住 讬讞住 讛诇讬讬拽讬诐 诇驻讜住讟 讛讜讗: <h3 style="color: #4caf50; text-align: center;">' + result.toFixed(4), timeout: 5000 }) } image1.style.display = 'block'; image1.style.margin = 'auto'; image1.style.width = '37px'; image1.style.marginBottom = '15px'; let image2 = document.createElement('img'); image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; image2.title = '注专讬讻转 讛驻讜专讜诐'; image2.style.cursor = 'pointer'; image2.onclick = function () { if (document.designMode == 'off') { image2.src = '/assets/uploads/files/1616627933907-asset-1.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '注专讜讱 讗转 讛讗转专 讻专爪讜谞讱!', type: 'success', timeout: 2500 }) document.designMode = 'on' } else { document.designMode = 'off' image2.src = '/assets/uploads/files/1616631561115-asset-2.png'; app.alert({ title: '注专讬讻转 讛驻讜专讜诐', message: '讛注专讬讻讛 讛住转讬讬诪讛', timeout: 2500 }) } } image2.style.display = 'block'; image2.style.margin = 'auto'; image2.style.width = '37px'; image2.style.marginBottom = '15px'; let image3 = document.createElement('img'); image3.src = 'https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/unnamed.png'; image3.title = '讞讬驻讜砖 讙讜讙诇 讘驻讜专讜诪讬诐 讛讞专讚讬讬诐'; image3.style.cursor = 'pointer'; image3.style.display = 'block'; image3.style.margin = 'auto'; image3.style.width = '37px'; image3.style.marginBottom = '15px'; image3.onclick = function () { var search = prompt("诪讛 讗转讛 专讜爪讛 诇讞驻砖 讘驻讜专讜诪讬诐?"); if (search != null && search != "") { search = encodeURIComponent(search.trim()); var link = "https://讙讜讙诇-讘驻讜专讜诪讬诐.tk/#gsc.tab=0&gsc.q=" + search; function linkb(href) { Object.assign(document.createElement('a'), { target: '_blank', href, }).click(); } linkb(link); } } let image4 = document.createElement('div'); image4.title = '砖讬谞讜讬 爪讘注 讟拽住讟'; let colorInput = document.createElement('input'); colorInput.id = 'colorPostInput'; colorInput.type = 'color'; colorInput.value = '#333333'; colorInput.style.position = 'absolute'; colorInput.style.right = '-8px'; colorInput.style.top = '-8px'; colorInput.style.width = '56px'; colorInput.style.height = '56px'; colorInput.style.border = 'none'; colorInput.style.cursor = 'pointer'; if (localStorage.allParagraphsColor) { document.body.style.color = localStorage.allParagraphsColor; colorInput.value = localStorage.allParagraphsColor; } colorInput.addEventListener('input', (event) => { localStorage.allParagraphsColor = colorInput.value; document.body.style.color = colorInput.value; }); image4.style.cursor = 'pointer'; image4.style.display = 'block'; image4.style.margin = 'auto'; image4.style.position = 'relative'; image4.style.overflow = 'hidden'; image4.style.width = '40px'; image4.style.height = '40px'; image4.style.border = 'solid 2px #ddd'; image4.style.borderRadius = '40px'; image4.style.marginBottom = '15px'; let image5 = document.createElement('img'); image5.src = '/assets/uploads/files/1617339003540-images.png'; image5.title = '讛讜住驻转 转诪讜谞转 专拽注 诪讜转讗诪转 讗讬砖讬转'; image5.style.cursor = 'pointer'; if (localStorage.customBackgroundImage) { let myStyle = document.createElement('style'); myStyle.appendChild(document.createTextNode('li { background-color: white; opacity: 0.9; border-radius: 10px; }')); myStyle.appendChild(document.createTextNode('.breadcrumb, .topic-list-header, .input-group { opacity: 0.95; border-radius: 10px; }')); document.getElementsByTagName('head')[0].appendChild(myStyle); $('body').css('background-image', `url(${localStorage.customBackgroundImage})`); $('body').css('background-attachment', 'fixed'); $('body').css('background-size', 'cover'); } image5.onclick = function () { let backgroundUrl = prompt('讛讻谞住 讗转 讛拽讬砖讜专 诇转诪讜谞转 讛专拽注'); if (backgroundUrl != null && backgroundUrl != "") { let myStyle = document.createElement('style'); myStyle.appendChild(document.createTextNode('li { background-color: white; opacity: 0.9; border-radius: 10px; }')); myStyle.appendChild(document.createTextNode('.breadcrumb, .topic-list-header, .input-group { opacity: 0.95; border-radius: 10px; }')); document.getElementsByTagName('head')[0].appendChild(myStyle); $('.breadcrumb').css('border-radius', '10px'); $('body').css('background-image', `url(${backgroundUrl})`); $('body').css('background-attachment', 'fixed'); $('body').css('background-size', 'cover'); localStorage.customBackgroundImage = backgroundUrl; }} image5.style.display = 'block'; image5.style.margin = 'auto'; image5.style.width = '37px'; image5.style.marginBottom = '15px'; if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "hide") { $('.forum-logo').css("display", "none"); } else { $('.forum-logo').css("display", "block"); } } let image6 = document.createElement('img'); image6.src = '/favicon.ico'; image6.title = '讛住转专转 讛诇讜讙讜 砖诇 讛驻讜专讜诐'; image6.style.cursor = 'pointer'; image6.onclick = function () { if (localStorage.hideForumLogo) { if (localStorage.hideForumLogo === "show") { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } else { localStorage.hideForumLogo = "show"; $('.forum-logo').css("display", "block"); } } else { localStorage.hideForumLogo = "hide"; $('.forum-logo').css("display", "none"); } } image6.style.display = 'block'; image6.style.margin = 'auto'; image6.style.width = '37px'; image6.style.marginBottom = '15px'; if (localStorage.emojisize) { for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { document.querySelector('head').innerHTML += `<style>.emoji { width: ${localStorage.emojisize}px; height: ${localStorage.emojisize}px; }</style>`; } } let image7 = document.createElement('img'); image7.src = '/plugins/nodebb-plugin-emoji/emoji/apple/1f642.png?v=a54dqpiknn4'; image7.title = '砖讬谞讜讬 讙讜讚诇 讗讬诪讜讙\'讬诐'; image7.style.cursor = 'pointer'; image7.onclick = function () { var emojisize = prompt("诇讗讬讝讛 讙讜讚诇 诇砖谞讜转 讗转 讛讗讬诪讜讙'讬诐? (讘驻讬拽住诇讬诐)"); if (emojisize != null && emojisize != "") { emojisize = encodeURIComponent(emojisize.trim()); localStorage.emojisize = emojisize; for (var i = 0; i < document.getElementsByClassName('emoji').length; i++) { var emojis = document.getElementsByClassName('emoji')[i]; emojis.style.width = emojisize + 'px'; emojis.style.height = emojisize + 'px' } } } image7.style.display = 'block'; image7.style.margin = 'auto'; image7.style.width = '37px'; image7.style.marginBottom = '15px'; let image8 = document.createElement('img'); image8.src = '/assets/uploads/files/1616992426113-link.png'; image8.title = '驻讜专讜诪讬诐'; image8.style.cursor = 'pointer'; image8.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">驻讜专讜诪讬诐</h3>', message: '<hr><a href="https://tchumim.com" target="_blank"><img width="40px" title="转讞讜诪讬诐" src="/assets/uploads/files/1616989719968-1.png"></a>' + '<a href="https://诪拽爪讜注讜转.com/" target="_blank"><img width="40px" title="诪拽爪讜注讜转" src="/assets/uploads/files/1616989719998-2.png"></a>' + '<a href="https://www.prog.co.il" target="_blank"><img width="40px" title="驻专讜讙" src="/assets/uploads/files/1616989720025-3.png"></a>' + '<a href="https://forum-office.ml" target="_blank"><img width="40px" title="驻讜专讜诐 讗讜驻讬住" src="/assets/uploads/files/1616989720045-4.png"></a>' + '<a href="https://f2.freeivr.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 讬诪讜转 讛诪砖讬讞" src="/assets/uploads/files/1616989720065-5.png"></a>' + '<br><br><a href="https://www.tora-forum.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 诇转讜专讛" src="/assets/uploads/files/1616989720081-6.png"></a>' + '<a href="https://meatzvim.cf" target="_blank"><img width="40px" title="诪注爪讘讬诐" src="/assets/uploads/files/1616989720101-7.png"></a>' + '<a href="https://www.techno-tech.cf" target="_blank"><img width="40px" title="转讻谞讜讟拽" src="/assets/uploads/files/1616989720122-8.png"></a>' + '<a href="http://forum.netfree.link" target="_blank"><img width="40px" title="驻讜专讜诐 谞讟驻专讬" src="/assets/uploads/files/1617018043234-9.png"></a>' }) } image8.style.display = 'block'; image8.style.margin = 'auto'; image8.style.width = '37px'; image8.style.marginBottom = '15px'; let image9 = document.createElement('img'); image9.src = '/assets/uploads/files/1616992426113-link.png'; image9.title = '讛拽讬砖讜专讬诐 砖诇讬'; image9.style.cursor = 'pointer'; image9.onclick = function () { app.alert({ type: 'success', timeout: 10000, title: '<h3 style="text-align: center;">驻讜专讜诪讬诐</h3>', message: '<hr><a href="https://tchumim.com" target="_blank"><img width="40px" title="转讞讜诪讬诐" src="/assets/uploads/files/1616989719968-1.png"></a>' + '<a href="https://诪拽爪讜注讜转.com/" target="_blank"><img width="40px" title="诪拽爪讜注讜转" src="/assets/uploads/files/1616989719998-2.png"></a>' + '<a href="https://www.prog.co.il" target="_blank"><img width="40px" title="驻专讜讙" src="/assets/uploads/files/1616989720025-3.png"></a>' + '<a href="https://forum-office.ml" target="_blank"><img width="40px" title="驻讜专讜诐 讗讜驻讬住" src="/assets/uploads/files/1616989720045-4.png"></a>' + '<a href="https://f2.freeivr.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 讬诪讜转 讛诪砖讬讞" src="/assets/uploads/files/1616989720065-5.png"></a>' + '<br><br><a href="https://www.tora-forum.co.il" target="_blank"><img width="40px" title="驻讜专讜诐 诇转讜专讛" src="/assets/uploads/files/1616989720081-6.png"></a>' + '<a href="https://meatzvim.cf" target="_blank"><img width="40px" title="诪注爪讘讬诐" src="/assets/uploads/files/1616989720101-7.png"></a>' + '<a href="https://www.techno-tech.cf" target="_blank"><img width="40px" title="转讻谞讜讟拽" src="/assets/uploads/files/1616989720122-8.png"></a>' + '<a href="http://forum.netfree.link" target="_blank"><img width="40px" title="驻讜专讜诐 谞讟驻专讬" src="/assets/uploads/files/1617018043234-9.png"></a>' }) } image9.style.display = 'block'; image9.style.margin = 'auto'; image9.style.width = '37px'; image9.style.marginBottom = '15px'; deletingChanges.classList.add('images'); image1.classList.add('images'); image2.classList.add('images'); image3.classList.add('images'); image4.classList.add('images'); image5.classList.add('images'); image6.classList.add('images'); image7.classList.add('images'); image8.classList.add('images'); image9.classList.add('images'); image4.appendChild(colorInput); panel.appendChild(deletingChanges); panel.appendChild(image1); panel.appendChild(image2); panel.appendChild(image3); panel.appendChild(image4); panel.appendChild(image5); panel.appendChild(image6); panel.appendChild(image7); panel.appendChild(image8); panel.appendChild(image9); document.body.appendChild(panel); dragElement(document.getElementById('movePanel')); function dragElement(elmnt) { var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0; elmnt.onmousedown = dragMouseDown; function dragMouseDown(e) { e = e || window.event; e.preventDefault(); pos3 = e.clientX; pos4 = e.clientY; document.onmouseup = closeDragElement; document.onmousemove = elementDrag; } function elementDrag(e) { e = e || window.event; e.preventDefault(); pos1 = pos3 - e.clientX; pos2 = pos4 - e.clientY; pos3 = e.clientX; pos4 = e.clientY; elmnt.style.top = (elmnt.offsetTop - pos2) + "px"; elmnt.style.left = (elmnt.offsetLeft - pos1) + "px"; } function closeDragElement() { document.onmouseup = null; document.onmousemove = null; } } let removeMsoNormal = document.createElement('style'); removeMsoNormal.appendChild(document.createTextNode('.MsoNormal { display: none; }')); document.getElementsByTagName('head')[0].appendChild(removeMsoNormal); if (!localStorage.alreadyInstalled) { localStorage.alreadyInstalled = ' '; app.alert({ type: 'success', message: '<div style="text-align: center"><h3 style="color: black">转讜讚讛 砖讛转拽谞转 讗转 讛转讜住祝!</h3><hr><a href="/user/诪讜讟讬-讗讜专谉"><img width="70px" style="border-radius: 40px; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 0 20px 0 rgba(0, 0, 0, 0.19)" src="/assets/uploads/profile/886-profileavatar-1603289895083.jpeg"></a>' + '<a href="/user/谞-谞讞"><img width="70px" style="margin-right: 15px; border-radius: 40px; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 0 20px 0 rgba(0, 0, 0, 0.19)" src="/assets/uploads/profile/5246-profileavatar-1614689486244.png"></a></div><p style="margin-top: 20px; text-align: left; color: gray">诪讜讟讬 讗讜专谉 & 谞 谞讞</p>' }) } // ==UserScript== // @name 住专讙诇 讻诇讬诐 // @version 0.2 // @author 诪讜讟讬 讗讜专谉 & 谞 谞讞 // @description 馃榾 讛讜住驻转 住专讙诇 讻诇讬诐 诇驻讜专讜诐 // @include https://mitmachim.top/* // @icon https://mitmachim.top/assets/uploads/files/1616983314128-tools-solid.svg // @homepage https://mitmachim.top/topic/21073 // @supportURL https://mitmachim.top/topic/21073 // @noframes // ==/UserScript==诇讗 注讜讘讚
讛讜讗 诪专讗讛 砖讙讬讗讛 诪砖讛讜讗 讘注讝讜专 讛讝讛} function elementDrag(e) { e = e window.event; e.preventDefault(); pos1 = pos3 - e.clientX; pos2 = pos4 - e.clientY; pos3 = e.clientX; pos4 = e.clientY; elmnt.style.top = (elmnt.offsetTop - pos2) + "px"; elmnt.style.left = (elmnt.offsetLeft - pos1) + "px"; }@brochabar 诇讗 讬讜讚注, 诇讬 讝讛 注讜讘讚
-
@brochabar 诇讗 讬讜讚注, 诇讬 讝讛 注讜讘讚
-
注讚讻讜谉: 住专讙诇 讻诇讬诐.user.js
- 讗驻砖专 诇讛讝讬讝 讗转 讛住专讙诇 注诐 讛注讻讘专
- 讗驻砖专 诇诪讝注专 讗转 讛住专讙诇 讘讚讗讘诇拽诇讬拽
- 讬砖 讗驻砖专讜转 诇讛讜住驻转 转诪讜谞转 专拽注 诇驻讜专讜诐
- 诪讜讞拽 讗转 讞讜拽讬 讛驻讜专讜诐 讘爪讚

讛注专讛: 讛转诪讜谞转-专拽注 注讜讘讚转 讟讜讘 专拽 讘注专讻转 谞讜砖讗 讛专讙讬诇讛 (讘专讬专转 诪讞讚诇)
-
@谞-谞讞 讗诪专 讘
住拽专讬驻讟 Tampermonky | 讛讜住驻转 住专讙诇 讻诇讬诐
:讛转诪讜谞转-专拽注 注讜讘讚转 讟讜讘 专拽 讘注专讻转 谞讜砖讗 讛专讙讬诇讛 (讘专讬专转 诪讞讚诇)
讗讬讱 注讜砖讬诐 转诪讜谞转 专拽注?
-
诪谞住讛 诇讛转拽讬谉 讗转 讛住拽专讬驻讟 讜拽讜驻爪转 诇讬 讛讛讜讚注讛 讛讘讗讛

讗讬讱 诪转拽讬谞讬诐?
砖诇讜诐! 谞专讗讛 砖讛砖讬讞讛 讛讝讜 诪注谞讬讬谞转 讗讜转讱, 讗讘诇 注讚讬讬谉 讗讬谉 诇讱 讞砖讘讜谉.
谞诪讗住 诇讻诐 诇讙诇讜诇 讘讬谉 讗讜转诐 讛驻讜住讟讬诐 讘讻诇 讘讬拽讜专? 讻砖谞专砖诪讬诐 诇讞砖讘讜谉, 转诪讬讚 转讞讝专讜 讘讚讬讜拽 诇诪拽讜诐 砖讘讜 讛讬讬转诐 拽讜讚诐, 讜转讜讻诇讜 诇讘讞讜专 诇拽讘诇 讛转专讗讜转 注诇 转讙讜讘讜转 讞讚砖讜转 (讘讬谉 讗诐 讘诪讬讬诇, 讜讘讬谉 讗诐 讘讛转专讗转 驻讜砖). 转讜讻诇讜 讙诐 诇砖诪讜专 住讬诪谞讬讜转 讜诇驻专讙谉 讘-upvote 诇驻讜住讟讬诐 讻讚讬 诇讛讘讬注 讛注专讻讛 诇讞讘专讬 拽讛讬诇讛 讗讞专讬诐.
讘注讝专转 讛转专讜诪讛 砖诇讱, 讛驻讜住讟 讛讝讛 讬讻讜诇 诇讛讬讜转 讗驻讬诇讜 讟讜讘 讬讜转专 馃挆
讛专砖诪讛 讛转讞讘专讜转

