Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('a#move_to_bin').on('click', function() {
- GM_xmlhttpRequest({
- method: "POST",
- url: 'www.phoenix-warez.ws/moderate.php?fid='+section_id,
- data: "topics="+topic_id+"&move_to_forum=34&move_topics_to=Déplacer",
- headers: {
- 'Referer': "www.phoenix-warez.ws/moderate.php?fid="+section_id+"&move_topics="+topic_id,
- "Content-Type": "application/x-www-form-urlencoded"
- },
- onload: function (result) {
- alert('Topic déplacé');
- //alert(result.responseText)
- },
- error: function (a,b,c) {
- alert(a+b+c)
- }
- });
- return false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement